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 Mar 31, 2013@kaahne72 @CaznowlSMP
Yeah I need to export for java6. I thought I did but I guess not.
-
View User Profile
-
Send Message
Posted Mar 31, 2013I'm getting the "Unsupported major.minor version 51.0" too and in the past this was always caused by plugins being compiled only for java7. Is it mandatory for the newer versions of this plugin to be compiled java7 only? Otherwise there should be options in eclipse to compile at least java6 compatible. Many of the more stable linux server distributions (debian6, centos6, ubuntu 10.04 lts) still depend upon openjre6 and never will switch to openjre7 (plus the fact that many of the rented gameservers can't be updated manually at all).
-
View User Profile
-
Send Message
Posted Mar 28, 2013Hi. We recently updated to 1.5 and downloaded the 8.4.1 treasurechest.jar and replaced it with the old one. Now when we start up the server, treasurechest is not even on the plugins list.
I have no idea why this is happening and I'm guessing its just something simple that was overlooked. Any help would be appreciated!
Edit: I removed the treasurechest folder and .jar from the plugins folder and put in a new treasurechest.jar. It is not generating a config file.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Mtihc
Getting errors when a player interacts with any treasure chests that are on the map. http://pastebin.com/PdXM24pY I think its just due to the server being on 1.5.1 and the plugin is for 1.5EDIT Sorry, I didnt have proper version in there. Newest version here fixed the issue.-
View User Profile
-
Send Message
Posted Mar 26, 2013@DunkingDunnkers
Take a look at this plugin http://dev.bukkit.org/server-mods/infinitydispenser/ It sounds like what you are looking for. This treasure chest plugin creates a fake inventory for the player when they open it. It does not have the capability to dispense items via a dispenser.
-
View User Profile
-
Send Message
Posted Mar 24, 2013Sorry for the delay here are my errors for treasurechest. I have exactly the same errrors for FrameProtect and AdminChannel. But not on my test server running the same craftbukkit and plugins.
I think I need to update the servers JAVA?
2013-03-25 06:11:31 [SEVERE] Could not load 'plugins/TreasureChest.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/mtihc/minecraft/treasurechest/v8/plugin/TreasureChestPlugin : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: com/mtihc/minecraft/treasurechest/v8/plugin/TreasureChestPlugin : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
-
View User Profile
-
Send Message
Posted Mar 23, 2013Is there a way to make a chest only give its contents once a day. But not to every player that finds it? Like it has a diamond in it, and the first player to find it that day gets it and nobody else gets it until the next day. It seems like there would be, but I can't figure out how.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Could you add this option or add it to the config;
Using this plugin you can't link it to hoppers or dispenser. If I put a potion in a dispenser, set it as unlimited and put a button next to it the button doesn't shoot the potion out.
Could you change it to allow this please.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Thanks for looking into it I have the latest vault and worldedit. ? Need to find out why it works on my windows server and not the main server?
-
View User Profile
-
Send Message
Posted Mar 23, 2013@user_83
Okay! I should test this stuff.
How does a normal chest work when there's a slab on top.
How does a treasurechest work when there's a slab on top.
They should be the same.
@CaznowlSMP
That's interesting. I found the source-code of PlugMan, right here. It's probably an older version, but that's ok. I found out when it gives you that message.
You get that message when there's an error like UnknownDependencyException or InvalidPluginException.
TreasureChest should not be dependant on any other plugins. But you can try to install Vault (and worldedit). That might help fix the problem.
-
View User Profile
-
Send Message
Posted Mar 23, 2013TreasureChest won't load on my server. When I try to load it with plugman it says file exists but is not a plugin file. The plugin seems to work on my windows test server. I'm not sure why it works on one and not the other. I will let you know more info as I find it. The test server is a copy of the main server. Using craftbukkit #2703. (1.5.1)
-
View User Profile
-
Send Message
Posted Mar 22, 2013Not sure if it helps but only some of my chests have broke. Well most of them, but they don't seem to have a pattern.
*EDIT* I have managed to replicate the problem, if there is a half slab or stairs above the chest it will not work, if its clear above it works.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@user_83
Sounds like the same problem CaznowISMP has.
Don't think it has anything to do with 1.5.
This is an older bug. If it's even a bug...
like I sad. Somebody had this problem before. Damnit, i wish i remembered.
-
View User Profile
-
Send Message
Posted Mar 22, 2013My chests suddenly decided to stop working yesterday, no errors in console, does this have something to do with 1.5.1? Or am I doing something wrong =P
-
View User Profile
-
Send Message
Posted Mar 21, 2013Who was it, that had a problem like this? https://github.com/Mtihc/TreasureChest/issues/42 (chests disappear/stop working after some time)
@CaznowlSMP
I'm sure there was somebody that had the same problem.
I checked the comments on this page. I checked my PMs. I checked the issues on github.
But I can't find it. I even checked the changelog on bukkit and github.
-
View User Profile
-
Send Message
Posted Mar 21, 2013This was exactly what i was looking for! Thank you!
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Mtihc
Yes the .yml files are being created and are still there. Since /tchest delete wouldn't work I had to use wand and set air to remove them.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@tomaste
You are welcome! Thanks for letting us know it works!
@CaznowlSMP
Tomorrow I'm gonna look into this "disappearing bug". Give me some more info if you can.
Are the .yml files being created? Do the files disappear?
I remember saying to somebody with the same problem "It can't be just a matter of time, before they disappear".
-
View User Profile
-
Send Message
Posted Mar 19, 2013@Mtihc
You did it! I saw 8.4.1 got uploaded, and I tried it out on my test server. Problem is fixed!
Thank you so much!
http://dev.bukkit.org/server-mods/treasurechest/files/35-treasure-chest-8-4-1/
-
View User Profile
-
Send Message
Posted Mar 19, 2013@Mtihc
Awesome, thanks! I cant wait to re-enable my custom adventure dungeons where I use TreasureChest heavily!
Thanks for all your work on this plugin, My users LOVE it!