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 Oct 13, 2012Will it be possible to make it so that all chests in a world become treasure chests through a command, or maybe some permission node that makes it that every chest you find will allow you take the items once? The reason for this is because on my server I have the map Waking Up by Vechs, and I don't want to go around finding all the chests and doing /tchest set. There are alot of chests :P Thanks.
-
View User Profile
-
Send Message
Posted Oct 11, 2012Hope you will have a solution soon.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@bukOhTwo
I usually have it issue the Command to pay an Admin/Owner. Works well for me.
On another note, would love to see a Temp/Perm Permissions Group Reward.
-
View User Profile
-
Send Message
Posted Oct 2, 2012Hey there! Is it possible for you to add a "pay-to-open" feature? The way my server is themed, I'd like to be able to have this. :)
-
View User Profile
-
Send Message
Posted Sep 29, 2012suggestion for you im using this for a hunger games map add commands where u don't have to look at the chest example random all
-
View User Profile
-
Send Message
Posted Sep 29, 2012Hey, I use the Survival Games 2 map on my server and i want to set every chest in it to a chest which spawns randomised items of a mod i installed but i dont want to set every chest by my own. Is this plugin able to automatically take over all the chests or is there any other plugin?
-
View User Profile
-
Send Message
Posted Sep 27, 2012Hi, great stuff!
But I have a problem here. tchest doesn't save rewards. For example: /tchest reward add money 50
Writes: Reward saved.
After that: /tchest reward list outputs:
There are no rewards set to the treasure at 29,60,-12.
What kind of problem is that?
P.s. Plugin versions: newest
Bukkit version: newest
Thanks for advice.
-
View User Profile
-
Send Message
Posted Sep 24, 2012Downloading this once we've finished building the server. This is going to create new features! Thanks for creating this :)
-
View User Profile
-
Send Message
Posted Sep 19, 2012@rebel24
I experienced this error as well.
Freaking weird. I don't have a solution atm.
-
View User Profile
-
Send Message
Posted Sep 18, 2012I did download the latest version and now treasurechest is disabled, I get no crashes, It seems to do it when you use a furnace or chest after a random amount of time, it's weird....
But it's defiantly this plugin causing it :/ Sorry to say
-
View User Profile
-
Send Message
Posted Sep 18, 2012@rebel24
I don't see anything that points to TreasureChest.
But it could still be caused by TreasureChest somehow. Hard to say.
Which CraftBukkit version are you using?
I suggest you download the latest version here:
http://dl.bukkit.org/downloads/craftbukkit/
-
View User Profile
-
Send Message
Posted Sep 17, 2012By any chance:
2012-09-17 22:25:01 [SEVERE] Encountered an unexpected exception StackOverflowError java.lang.StackOverflowError at net.minecraft.server.ItemStack.setData(ItemStack.java:154) at net.minecraft.server.ItemStack.<init>(ItemStack.java:39) at net.minecraft.server.ItemStack.cloneItemStack(ItemStack.java:226) at net.minecraft.server.Container.clickItem(Container.java:151) at net.minecraft.server.Container.b(Container.java:246) at net.minecraft.server.Container.clickItem(Container.java:155) at net.minecraft.server.Container.b(Container.java:246)
Is this caused by treasurechest ? As I'm pulling my hair out with my server crashing and the last thing I installed was treasure chest. This happens with all the latest dev builds as well as the beta build (This is so annoying :/)
-
View User Profile
-
Send Message
Posted Sep 15, 2012@GROMkill
Yes that's fixed :D
-
View User Profile
-
Send Message
Posted Sep 14, 2012@Mtihc
Great work! The written books error is fixed, no?
-
View User Profile
-
Send Message
Posted Sep 12, 2012I changed this main page.
I added some more How-To's.
I also changed the commands page.
Made it a little bit more readable. And corrected a few things.
-
View User Profile
-
Send Message
Posted Sep 12, 2012I uploaded TreasureChest 8.3.7.
I'm very happy with this update. It makes the plugin easy-to-use agian!
I fixed the way items are updated.
You no longer need to open the treasure, with a chest in your hand. That was too confusing.
Just use /tchest set, it's very intuitive now. Just like before!
-
View User Profile
-
Send Message
Posted Sep 12, 2012I realize that updating a treasurechest, is weird.
Also, I only explained it in the changelog somewhere, not on this page. My bad.
I'm thinking about changing it. I'm not sure how, yet. I will only change it, if I can make it more, user-friendly. Otherwise, I will create a How-To on this page.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@XxBoonexX
It has nothing to do with bukkit versions.
It works in 1.3.1-R2, Bukkit has no recommended build for 1.3.2 yet
So what's your problem?
I bet it has something to do with, updating the contents of a treasure chest.
-
View User Profile
-
Send Message
Posted Sep 12, 2012Hi, ive loved your pluggin in the past, i was really excited to see it upgrade to 1.3.1 >_> although it seems to not work in 1.3.1. i see you mentioned that you worked on it in 1.3.2, might want to consider putting that as the version it works for. although i could just be doing something wrong, but i really dont think so.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@wmichaeltenery
I've been using this plugin in 1.3.2-R0.2
And it works fine.
Only, books aren't working properly.
I have that update ready!
I will upload it between now, and a few hours.