Zaicon / InfiniteChestsV2

5 stars 4 forks source link
terraria tshock

InfiniteChestsV2

This is a completely rewritten version of MarioE's original InfiniteChests plugin. Most of this plugin was copied or modified from that one.

Plugin Features:

Things this plugin will not do (as of now):

Commands

/chest claim - Protects a chest via user account.
/chest unclaim - Unprotects a chest.
/chest info - Displays X/Y coordinates and account owner.
/chest search <item name> - Searches chests for a specific item.
/chest unlock <password> - Allows opening of any chest using that password.
/chest allow <player name> - Gives user access to chest.
/chest remove <player name> - Removes chest access from user.
/chest allowgroup <group name> - Gives players with that group access to chest.
/chest removegroup <group name> - Removes group access to chest.
/chest public - Toggles the 'public' setting of a chest, allowing others to use but not destroy the chest.
/chest refill <seconds> - Sets the interval in which chests refill items.
/chest save <chest name> - Marks a chest with a name so that the chest can be loaded on future chests.
/chest load <chest name> - Overwrites a chest with the complete properties of the previously-marked chest.
/chest cancel - Cancels any of the above actions.
/convchests [-r] - Converts any "real" chests to database chests (or reverse with `-r`).
/prunechests - Permanently removes empty chests from the world and database.
/fixchests - Converts all chests with a refill time of "0" (immediate) to a refill time of "-1" (none).

Permisisons

ic.use - Enables use of /chest
ic.claim - Enables use of /chest claim, unclaim
ic.info - Enables use of /chest info
ic.search - Enables use of /chest search
ic.public - Enables use of /chest public
ic.protect - Players with this permission will have their chests automatically protected via user account.
ic.refill - Enables use of /chest refill
ic.edit - Allows player to edit any chest regardless of chest protection.
ic.save - Enables use of /chest save, load
ic.convert - Enables use of /convchests
ic.prune - Enables use of /prunechests
ic.fix - Enables use of /fixchests