This plugin provides players on TShock driven Terraria servers the possibility of taking ownership of certain objects or blocks, so that other players can not change or use them. The content of a protected chest can not be viewed or altered by other players, protected switches can not be hit by other players, signs can not be edited, beds can not be used, doors not opened and even plants in protected clay pots can not be harvested without owning the clay pot.
And if a player wants to access items of a friend's chest, then the owner of it shall share it with them. Protector offers sharing of protections directly to specific users, to TShock user groups or just to everyone - and it's the owner of the protection doing that, no administrative actions required.
Stay in control, you define which blocks or objects can be protected, are automatically protected on placement, can be deprotected, how many protections a player can create in general and what can be shared or not.
Furthermore, one might make use of Protector's special chest related features, like powerful Refill Chests allowing a timed refill of their content, restrict players from looting them more than one time or allowing only X times of lootings in total. Also, if your server happens to change worlds frequently or if you just want to offer your players to use chests which can be easily transported including their content, then you can allow the usage of so called Bank Chests storing their content world independently - imagine them as server sided piggy banks.
Usually Terraria worlds are limited to a maximum of 1000 chests. By using Protector you may bypass this limitation, check out the comments in the configuration file to see how this is done.
Releases of this plugin use Semantic Versioning.
Note: This plugin requires TerrariaAPI-Server and TShock in order to work. You can't use this with a vanilla Terraria server.
Grab the latest release and put the .dll files into your server's ServerPlugins directory. Also put the contents of the tshock/ folder into your server's tshock folder. You may change the configuration options to your needs by editing the tshock/Protector/Config.xml file.
/protect [-p]
/deprotect [-p]
/protectioninfo [-p]
/share <player name> [-p]
/unshare <player name> [-p]
/sharegroup <group name> [-p]
/unsharegroup <group name> [-p]
/sharepublic [-p]
/unsharepublic [-p]
/bankchest <number>
/dumpbankchest
/refillchest [time] [+ot|-ot] [+ll amount|-ll] [+al|-al] [-p]
/refillchestmany <selector> [time] [+ot|-ot] [+ll amount|-ll] [+al|-al] [-p]
/lockchest [-p]
/swapchest [-p]
/tradechest <sell amount> <sell item> <pay amount> <pay item or group> [limit]
/protector
/protector commands
/protector removeemptychests
/protector summary
/protector cleanup [-d]
/protector removeall <region <region>|user <user>> [-d]
/protector importinfinitechests
/protector importinfinitesigns
/protector reloadconfig|reloadcfg
To get more information about a command type /<command> help
ingame.
This plugin can import chest and sign data from the Infinite Chests and Infinite Signs plugins. Make SURE you create world backups before using this functionality as those changes can otherwise not be revoked. Note that the import features aren't very well tested, especially not with more recent versions of the plugins.
It's also limited to regular- and refill chests. Bank chests will not be imported. Also, region chest protection and chest passwords are not supported by Protector. If your infinite chests database holds more than 999 chests, all exceeding chests should become protector chests.
Do NOT try to use any chest features of Protector together with Infinite Chests as this will cause mixed item data in the world file and the chest database.
Icon made by freepik