- Tested Minecraft Versions:
Normal Treasure: You see the items when you open it... for the first time
Unlimited Treasure: You see the items when you open it... every time
(dispensers/droppers can dispense/drop unlimitedly)
Random Treasure: You see a random selection of the items. Can also be unlimited!
Shared Treasure: Instead of having a personal inventory for every player, all players share the same treasure inventory.
Forget-Time: You can access a treasure again... after the forget-time has passed.
Custom messages: (found first time, found again, is unlimited)
Some treasures are for some ranks.
Create Treasure Groups to perform operations on a bunch of treasures at once!
Add special rewards:
Money using Vault
Experience, Health, Hunger, Air
Fly for some time
Create explosion at some location
Place redstone torch at some location
Execute a command... normally, or let console execute it, or make player OP for a sec.
Broadcast a list of messages
Bankrobber, cannot be looted, until looter is killed
Here's a list of all the permissions.
Note that there are no default permissions. You require a permission plugin.
Permission treasurechest.admin grants all permissions. OPs have this permission automatically.
Permission treasurechest.player grants all permissions that a player would normally get:
Permission node Description
treasurechest.access - Allows you to access any type of treasure chest
treasurechest.access.treasure - Allows opening treasure chests
treasurechest.access.unlimited - Allows opening unlimited chests
treasurechest.count - Allows you to count how many chests you have found
treasurechest.count.others - Allows you to count how many chests you or someone else has found
treasurechest.delete - Allows you to delete treasure chests and turn them into regular chests again.
treasurechest.forget - Allows you to make a chest forget that you have found it
treasurechest.forget.others - Allows you to make a chest forget that you or someone else has found it
treasurechest.forget.all - Allows you to make a chest forget that anybody has found it
treasurechest.ignoreprotection - Allows you to disable/enable 3rd party protection plugins on treasure chests
treasurechest.list - Allows you to see a list of locations of all the treasures you found
treasurechest.list.all - Allows you to see a list of locations of all the treasures on the server
treasurechest.random - Allows you to turn treasure chests into random chests.
treasurechest.reload - Allows access to the reload command
treasurechest.set - Allows you to turn regular chests into treasure chests and set their messages. And forget time, etc.
treasurechest.unlimited - Allows you to turn treasure chests into unlimited chests.
treasurechest.rank.X - Allows you access certain chests.
Replace X with a configured rank name.
treasurechest.peek - Allows you to look at a treasure's real inventory.
The main command is /treasurechest, or /tchest for short.
To get command help, execute
or for example,
/tchest setmessage ?
Command help /tchest [page]
/tchest <command> ?
Reload the config.yml file /tchest reload
Count how many treasures you, or somebody else has found. /tchest count [player]
List all treasure locations that you have found /tchest list [page]
List all treasure locations on the server /tchest list-all [page]
All of the following commands require you to look at a chest. (or doublechest/furnace/dispenser/brewingstand)
Create new treasure
Or update the items. /tchest set
Create new shared treasure
Or update the items. /tchest set-shared
Delete treasure /tchest del
Let the items be random.
For example, if a treasure has 10 item-stacks in it.
And you do /tchest random 2.
The treasure will be 2 item-stacks, randomly chosen from the total of 10 /tchest setrandom [amount]
/tchest random [amount]
/tchest r [amount]
Unlimited treasure mode /tchest setunlimited
When ignore-protection is on, and there is
another plugin protecting the chest.
Then, this plugin will try to override the protection,
so that players can get the treasure anyway. /tchest ignoreprotection
Read more about messages below. /tchest setmsg [index] <msg>
/tchest setmessage [index] <msg>
Players can loot the treasure again, after this much time. /tchest setforgettime <d> <h> <m> <s>
/tchest setforget <d> <h> <m> <s>
You, or another player, can loot it again /tchest forget [player]
Everybody can loot it again /tchest forget-allplayers
Add/remove/list rewards, like health, exp, money, etc. /tchest reward
Also see the permissions,
for giving out ranks to players /tchest rank
Create/delete/list treasure groups.
And other group operations. /tchest group ?
Look at the real inventory of a treasure
Useful when working with unlimited dispensers and droppers./tchest peek
When executing command /tchest setmsg [id] <message>, you can use the following message indices:
- Found for the first time
For example /tchest setmsg 1 You found a treasure!
- Found already
For example /tchest setmsg 2 You already found this treasure.
- Found an unlimited treasure
For example /tchest setmsg 3 Take as much as you want!
You can also configure default messages.
View attachment 9223
Plugin made by Mtihc, just porting it to the new bukkit versions