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 May 3, 2012Mtihc, not sure if your reading the Github. So I will replicate the entry here:
It would be nice if virtual money support, through vault, was added.
I imagine something like /tchest setvalue $$$$
then when the person finds and opens it they immediately receive the $$$$.
-
View User Profile
-
Send Message
Posted Apr 29, 2012@Faldonboy
I think I know what the problem is.
Try permission
treasurechest.del
or
treasurechest.delete
I made a mistake there once... not sure which one is the good one anymore
-
View User Profile
-
Send Message
Posted Apr 28, 2012No matter what permissions I give myself or even if I'm OP I can't delete a treasure chest it tells me I don't have permission for it, I have every permission you have listed on my character I even checked for spelling mistakes.
-
View User Profile
-
Send Message
Posted Apr 28, 2012Hey a random idea, I was wondering if you could make chests for hunger games. like someone opens it and gets the loot, and nobody else can get it again until a set interval. Unlimited Chests or regular t chests wouldnt work in that situation and i think it would be a good idea.
-
View User Profile
-
Send Message
Posted Apr 27, 2012@Mtihc
Siick. That would be awesome. Looking forward to it.
-
View User Profile
-
Send Message
Posted Apr 27, 2012@Mtihc
sounds good to me. thanks, ill keep checking back daily
-
View User Profile
-
Send Message
Posted Apr 27, 2012@JohnnyChronocide
@QBcrusher
There's is not really a good way to convert.
I should have written some "convert code" right away.
I am willing to write that code now. But I'm not sure I can do it without bugs.
For example, the old files did not keep track of the inventory-size. The new files do.
So... to convert... I have to be creative and "guess" the value for size.
I will get back to you on this
-
View User Profile
-
Send Message
Posted Apr 26, 2012@JohnnyChronocide
thats what i didnt understand about it. I have tons of em scattered, and id rather not follow the cords to every single one, + figure out what every data id is so i can re add it
-
View User Profile
-
Send Message
Posted Apr 26, 2012@Mtihc
Is there any feasible way we can convert old chests.yml files to the new format? I have scattered literally hundreds of chests all across multiple worlds in my server, and resetting them looks to be an incredibly daunting task.
-
View User Profile
-
Send Message
Posted Apr 26, 2012@QBcrusher
That because I changed something important in version 7.0.
The old yml files don't work anymore.
In other words. You should just delete the old files. (Which means all treasure chests become normal again)
It's in big letters here ;)
http://dev.bukkit.org/server-mods/treasurechest/files/15-treasure-chest-7/
by the way, Version 7.1 was compiled for CB 1.2.5-R1.2
-
View User Profile
-
Send Message
Posted Apr 26, 2012@Mtihc
no, 7.0 did it too. http://pastebin.com/2p5VGrzq
-
View User Profile
-
Send Message
Posted Apr 26, 2012@QBcrusher
Could you paste, in the pastebin, the "latest" chest.yml that you have?
Version 7.0 was working fine for you?
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Mtihc
yeah i have the copy of my yml from 6.0.2. i tried loading it with 6.0.3 to convert it, then just to make sure i loaded it with 7.0 after, still gives me the error message when i load it up. if i go from, 6.0.3 to 7.1 it gives me the same error.
EDIT: I also get this: http://pastebin.com/ZQpSjzMv everytime some1 opens a normal chest
-
View User Profile
-
Send Message
Posted Apr 25, 2012@QBcrusher
That shouldn't happen. I could use my old yml-files (from 7.0) with no problems.
Anybody else getting errors?
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Mtihc
yeah its with the new version. i tried with my original 1.1 file and the existing 1.2 file that didnt work. it happens when i start the server. When i try to use chests, its just an empty chest, no words or anything
-
View User Profile
-
Send Message
Posted Apr 25, 2012@QBcrusher
Did you update from 7.0 to 7.1 or what?
When does this happen? (when you restart the server...?)
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Mtihc
http://pastebin.com/TmFdhFD6
-
View User Profile
-
Send Message
Posted Apr 25, 2012@jaredlivingstone
:D
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Mtihc
Thanks for the update! Treasure chests really add to my wasteland server as resources are scarce. Scavenging supplies makes it easier to get started.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Version 7.1 coming up real soon!
Totally changed the ChestOpenListener class.
It will fix all of your errors. (maybe there's some new errors though haha)