Overview
What it doesWhen a authorized player uses chat command /showsphere. Players tool cupboards within range will show a visual sphere of the cupboard range.Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- visualcupboard.allowed - Set to allow players to use chat command to see visual cupboard radius
- visualcupboard.admin - Set to allow admin to use the /killsphere command. More uses in coming in future.
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.- /showsphere - allows authorized players to visually toggle cupboard radius of their tool cupboards in range and for duration set in config. Only that player will see the spheres.
- /showsphereall - allows authorized players to visually toggle cupboard radius of their tool cupboards in range and for duration set in config. Those spheres will be visible by all players.
- /showsphereadmin - allows authorized admin to visually toggle cupboard radius of any tool cupboards in range and for duration set in config. Those spheres will be visible by all players. And the cupboard owners name and steam id will be broadcast to server console as well. helps to catch cupboard spammers.
- /killsphere - allows authorized admin to kill all current spheres on map instantly.
Configuration
The settings and options can be configured in the VisualCupboard file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Settings ExplainationHow Dark to Make Visual Cupoard (5 is default) - This is how many spheres to overlap so players can see them.OUTDATED: My Cupboard Radius is (25 is default) - This is the actual radius of cupboard. Change this to same number in CupboardRadius Plugin to match it. (TC is not a radius anymore and this does not directly effect the radius of actual TC, just the size of the sphere shown)Show Visuals For This Long - This is how long Visual Sphere will show for.Show Visuals On Cupboards Within Range Of - All Cupboards within this range will have Visual Spheres show when running command. Unless options to only see OWN are set. All players can see them.