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
orKick
.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!"
}