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 Dec 30, 2012This plugin is exactly what I was looking forward. Keep up the great work! :)
-
View User Profile
-
Send Message
Posted Dec 28, 2012Hey mtihc, how do you set dispenser up to shoot infinite arrows? I turned it into a chest but then it becomes resistant to red stone or buttons.
Also when you place a book into a chest and take it out, it copies it but when you log off and back on, it's a blank book. Any fixes?
-
View User Profile
-
Send Message
Posted Dec 28, 2012Thanks alot for the update :)
-
View User Profile
-
Send Message
Posted Dec 27, 2012When it's approved you can get it here (look for 8.3.8): http://dev.bukkit.org/server-mods/treasurechest/files/
-
View User Profile
-
Send Message
Posted Dec 26, 2012This is a neat idea, but creating a couple of infinite chests slowed the server to a crawl. Uninstalled.
-
View User Profile
-
Send Message
Posted Dec 26, 2012@Bo1998
Great!
-
View User Profile
-
Send Message
Posted Dec 26, 2012@Rilekt
It's waiting for approval. Here's the link in the meantime:
http://dev.bukkit.org/server-mods/treasurechest/files/32-treasure-chest-8-3-8/
-
View User Profile
-
Send Message
Posted Dec 26, 2012Works on 1.4.6?
-
View User Profile
-
Send Message
Posted Dec 25, 2012Liberate Spigot 4tw
Thanks for this plugin, think it's really awesome. :)
-
View User Profile
-
Send Message
Posted Dec 25, 2012@PackerbackrGJ85
Unfortunately with the new safeguarding in CraftBukkit, an update to the plugin is required every Minecraft version. You could use 1.4.5 R0.2 btw. It worked solid on my server throughout 1.4.5's lifetime.
-
View User Profile
-
Send Message
Posted Dec 25, 2012Any news whether the 1.4.6 version will work backwards to CB 1.4.5 R1.0? If not I guess I'll try and let you all know.
Edit- I went and tested it cuz I couldn't wait, and it's not working on 1.4.5 R1.0. Here's my error if you're interested: http://pastebin.com/R8TdLshk
Basically I do /tchest set and it "sets" a treasure chest but deletes all of the contents. I can do all the commands but it puts that error in whenever I do /tchest set.
Thanks for the update anyways. I guess I'll have to wait a while to have this plugin. Happy Holidays.
-
View User Profile
-
Send Message
Posted Dec 25, 2012Update for CB 1.4.6 is ready.
Thank you Bo1998
-
View User Profile
-
Send Message
Posted Dec 25, 2012Doesn't work for me, when player tries to open treasure chest, it tells him that he hasn't treasurechest.access.treasure when he has that permission in permissionbukkit plugin. Sorry for english :/
-
View User Profile
-
Send Message
Posted Dec 25, 2012thanks for the update! very nice work!
-
View User Profile
-
Send Message
Posted Dec 24, 2012@SpaceEmotion
Yep 1.4.6. beta version
-
View User Profile
-
Send Message
Posted Dec 24, 2012@Bo1998
yes this was the error, it still comes up on some of the old chests :(
2012-12-24 13:24:52 [SEVERE] Could not pass event PlayerInteractEvent to TreasureChest v8.3.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInteractManager.java:376) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:657) at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.IllegalArgumentException: There's no InventoryHolder at the location of the specified ITreasureChest object. at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.createTreasureInventory(TreasureManager.java:348) at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.openTreasureInventory(TreasureManager.java:258) at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.onPlayerInteract(TreasureManager.java:251) at com.mtihc.minecraft.treasurechest.v8.core.TreasureChestListener.onPlayerInteract(TreasureChestListener.java:29) at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more
-
View User Profile
-
Send Message
Posted Dec 24, 2012@buddhist09
Thanks for the update. Just to check, was there any errors in the console when you had the problem?
And have a good Christmas yourself too!
-
View User Profile
-
Send Message
Posted Dec 24, 2012Ok the problem I have can be fixed easy. I have set a new chest and once everyone opens it first there are no errors :) Thanks for the update lads, and happy Christmas :)
-
View User Profile
-
Send Message
Posted Dec 24, 2012@buddhist09
Any errors? It would be good to know since this could either be a code issue or a JAR issue.
Look through your console and if you can't find anything, your server.log.
-
View User Profile
-
Send Message
Posted Dec 24, 2012@buddhist09
Strange, I have 35 old configs, compiled the new source code and uploaded the jar. Worked without any problems. Are you running the latest 1.4.6 BETA version?