TC Ban

TC Ban 1.2.1

Sign in to download
Bans or kicks players when their cupboard gets destroyed
This Rust plugin automatically kicks or bans players if someone outside their group destroys their tool cupboard. Great for adding consequences to poor placement and making cupboards more valuable.




Permissions

  • tcban.ignore - Players with this permission will not be punished when their cupboard is destroyed, even if they were authorized.

Configuration

JSON:
{
  "Version": "1.2.0",
  "Punishment Type (Ban or Kick)": "Kick",
  "Broadcast Punishment": true,
  "Delete Owned Entities After Punishment": false,
  "Block Friendly Fire On Cupboards": false
}
  • Punishment Type - Decides how to punish players who were authorized on the destroyed cupboard. Options: Ban or Kick.
  • Broadcast Punishment - If enabled, sends a global message to all players when a punishment happens.
  • Delete Owned Entities After Punishment - If enabled, after a player is punished (banned or kicked) due to their cupboard being destroyed, the plugin will iterate over all of that player's owned entities and remove them.
  • Block Friendly Fire On Cupboards - Prevents players from damaging their own cupboards or those owned by their teammates.

Localization

JSON:
{
  "BanReason": "You were banned because your tool cupboard was destroyed by an outsider.",
  "KickReason": "You were kicked because your tool cupboard was destroyed by an outsider.",
  "BanBroadcast": "All players authorized on the destroyed tool cupboard have been smacked with a BAN!",
  "KickBroadcast": "All players authorized on the destroyed tool cupboard got KICKED off the server!",
  "FriendlyFireBlocked": "You cannot damage your own (or your team's) cupboard!"
}
Author
VisEntities
Downloads
14
First release
Last update

Ratings

5.00 star(s) 2 reviews

Also by VisEntities

  • Restart Countdown
    Restart Countdown
    Shows a countdown ui when a server restart is scheduled
  • Volcano
    Volcano
    Adds volcanoes that release lava, ash clouds, and debris
  • Chicken Coop
    Chicken Coop
    Get chickens to lay eggs, breed, and live in coops

Latest updates

  1. 1.2.1

    Friendly fire protection now only applies to authorized players, instead of blocking owner and...
  2. 1.2.0

    Fixed an exploit where Player A places a cupboard, authorizes Player B without their knowledge...
  3. 1.1.0

    Added a new config option to remove all entities owned by banned or kicked players.

Latest reviews

cool plugin
But is it possible to mark the main TC, which will issue sanctions when destroyed.
In Rust, many houses with multi-TC that are located behind 1 wall on the outside base
This plugin is best for adding features to your cupboard, it can be used to create unique events, on tournament servers, etc.
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