TreasureChest
TreasureChest

chest / doublechest / furnace / dispenser / brewingstand / etc
can be looted by every player
Set the forget-time, so players can loot it again later.
There's more!
See the Features list, for a full list of features.
How-To's | Commands | Permissions | Source Code | Issues
Video
Check out this video (old version), to get an idea of what this plugin can do:
Features
- 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
- Potion effects!
- Fly for some time
- Spawn mobs in a region! Or exp bottles or whatever
- Teleport to a region
- Create explosion at some location
- Place redstone torch at some location
- Restore a region using WorldEdit's snapshots
- 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
- TODO: Permission reward
- TODO: Lightning reward
- TODO: Fireworks reward
- Score reward
Notes
Protection
- You can't access Treasure Chests that are protected by other plugins.
Unless you use theignore-protectioncommand. - You can't break, burn or blow up Treasure Chests.
Unless you use thedeletecommand.
Fake Inventories
- Players always see a personal "fake inventory" to prevent others from stealing.
This "fake inventory" is temporary. So don't expect something like a private chest. - Players also see a "fake inventory" with shared treasures. But it's not personal. First come, first serve!
- Use the
peekcommand to open the real inventory.
Ranks
- Use lower-case letters, in the configuration and permissions. Also see the How-To page.
TODO
- Fix issues if there are any.
- Add features when issues are fixed.

-
View User Profile
-
Send Message
Posted Jul 13, 2012Hello i got a litle request here :D add a permission for group like this group can loot this chest or not cus i wan to make a chest for donaters on my server but i dont wan anyone else like players or members to acces to it tnx :D
-
View User Profile
-
Send Message
Posted Jul 8, 2012Hi, I just tried to install this and I get this error:
I looked into it and it seems that it does not load with Java 6, as you have complied it to Java 7? I'm not sure if this is right, but any help would be awesome, thanks!
-
View User Profile
-
Send Message
Posted Jul 1, 2012@Mtihc
Neither treasurechest.del or treasurechest.delete work. Please, if you can, update this. I love the plugin but not being able to delete chests is very troublesome.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@BodhiBob
yes it works with latest CB
-
View User Profile
-
Send Message
Posted Jun 15, 2012Is this working with the latest version of CB?
-
View User Profile
-
Send Message
Posted Jun 9, 2012What is the status of being able to give the chests a vault money value?
-
View User Profile
-
Send Message
Posted Jun 9, 2012Hey! Wonderfule creaters! WE love this plugin a lot and we really need your help, theres no one who can open it.. Well its just working for admins! plz help me guys response fast as you can
-
View User Profile
-
Send Message
Posted May 27, 2012Since I installed the latest update for this plugin any new chests are forgetting their inventory. It does not appear to write the contents to file. Is there a way to force a file save?
-
View User Profile
-
Send Message
Posted May 24, 2012Ok now my issue, it may have been brought up before, but when I set all the treasure chests everything works out fine, players can use them perfectly so amazing plugin, but when the server has a restart while when the TreasureChest plugin loads it says "could not load file: plugins\treasurechest\chests.yml, and then it has a whole lot or java errors which I don't understand. Anyone know why this is happening, and could someone please give me some advice on how to fix it
-
View User Profile
-
Send Message
Posted May 24, 2012@QBcrusher
I had that problem before, I tried this permissions node: treasurechest.player, but it didnt do anything, so im my option dot use it. I have given my members the following permissions: treasurechest.access treasurechest.access.treasure treasurechest.access.unlimited treasurechest.count
Make sure you also add the access.tresure and access.unlimited then though you have the treasurechest.access permissions, and it should work fine
-
View User Profile
-
Send Message
Posted May 21, 2012<<reply 706255="">>
any suggestions at all?
-
View User Profile
-
Send Message
Posted May 14, 2012<<reply 705521="">>
for me, its just saying i dont have permission to access that treasure chest. ops it opens for but regular players it doesnt. i made sure it had the perms necessary
-
View User Profile
-
Send Message
Posted May 13, 2012@Onewingseraphim
@QBcrusher
Here's the code that is responsible for "protecting treasure chests".
I have no idea why that is happening. You sure it's the TreasureChest plugin?
Is the problem gone when you uninstall the plugin?
Breaking is denied, when the Block is an InventoryHolder... and when there is a TreasureChest in the file, for that location.
It doesn't make sense that this only happens with bewing stands. Is it only brewing stands?
-
View User Profile
-
Send Message
Posted May 13, 2012@Onewingseraphim
@QBcrusher
That's weird! I will look into it quickly now.
-
View User Profile
-
Send Message
Posted May 13, 2012@ryanwagner
@ryanwagner
I closed the ticket because I read it. And I already had it in the back of my head.
One of these days I'm going add that feature.... i hope.
-
View User Profile
-
Send Message
Posted May 13, 2012you closed the ticket about the chest $$$ value, but I don't see any comments, updates here, or updates on github.
Is the update coming or have you decided not to do it?
-
View User Profile
-
Send Message
Posted May 11, 2012<<reply 692087="">>
same problem here, and its in an unprotected region
-
View User Profile
-
Send Message
Posted May 7, 2012For some reason i can't break brewing stands even when they are NOT a treasurechest. Any suggestions? This is really causing some problems on my server...
-
View User Profile
-
Send Message
Posted May 7, 2012KBK,
do your users have the permission node: - tresurechest.access.treasure
Also make sure your using 7.1
If the answer is yes and yes then please make sure to reply with the permission system your using.
I can tell you that there is an inheritance bug currently. So make sure you retest with assigning the specific group the user has that is unable to open with.
For example. If you have guest and player and only assigned the perm to guest then your guest will work and player may not work. Please re-test with the perm assigned to player as well.
-
View User Profile
-
Send Message
Posted May 6, 2012If Mthic aren't reading the github tickets, here's my issue about users not being able to open chests: https://github.com/Mtihc/TreasureChest/issues/4#pull_comment_form