Cupboard Accepts Anything

Cupboard Accepts Anything 1.1.0

Sign in to download
Put any item in tool cupboards
In vanilla Rust, tool cupboards only accept specific building materials and decay-preventing items. This plugin removes those restrictions entirely, letting you place any item in a cupboard unless you explicitly block it. You can block items by individual short name or by entire item categories, making it flexible for different server needs.


Configuration

JSON:
{
  "Version": "1.1.0",
  "Notify Player When Item Blocked": true,
  "Use Game Tip Notifications": true,
  "Blacklisted Items (Short Names)": [],
  "Blacklisted Categories": []
}
  • Notify Player When Item Blocked -- When enabled, players receive a notification when attempting to store a blacklisted item. When disabled, blacklisted items are silently rejected.
  • Use Game Tip Notifications -- When enabled, notifications display as red game tips (toast notifications). When disabled, notifications appear as regular chat messages.
  • Blacklisted Items -- List of item short names that cannot be stored. Leave empty to allow all items. Example: ["explosive.timed", "cctv.camera"]
  • Blacklisted Categories -- List of item categories that cannot be stored. Leave empty to allow all categories. Valid categories: Ammunition, Attire, Building, Component, Construction, Electrical, Engine, Food, Ingredients, Resources, Search, Tool, Weapon, Medical, Misc

Localization

JSON:
{
  "Item.Blocked": "This item cannot be stored in the tool cupboard."
}
Author
VisEntities
Downloads
85
First release
Last update

Ratings

5.00 star(s) 1 reviews

Also by VisEntities

Latest updates

  1. 1.1.0

    Items like sulfur can now be stored in tool cupboards (switched from OnItemFilter hook to...

Latest reviews

Simple, easy to setup and super reliable plugin that is a replacement for the old Harmony mod. Excellent !
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart