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 19, 2013@tomaste
I just tested. Appearantly, this was not an issue in my previous version. Looks like DerFlash screwed something up :D
That's the last time I don't test a pullrequest. Haha. I'm gonna fix it.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@Hangar
Version X... I'm not sure. Around 1.4.2. When lore support was added to bukkit.
@CaznowlSMP
I've heard this before. I will look into this. After the protection bug.
I forget where I talked about this. Maybe closed issues. Have to check.
@tomaste
Thanks alot. I could not expect more of you! I'm gonna look into it now.
@MW_
Thanks. You got similar problems with griefprevent & treasurechest?
-
View User Profile
-
Send Message
Posted Mar 19, 2013Using grief prevent + vault + tchest as well. Hope it will be updated soon! :D Nice plugin indeed.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@Mtihc
Ok, I've done a lot of testing, and found how to reproduce the problem.
I used a duplicate of my production server to test this, and narrowed it down to a compatability problem between TreasureChest and Vault.
I verified that those two plugins together allow all users to bypass any protections from multiple mods.
I tested with GriefPrevention and CoreProtect.
Here is an easy way to duplicate this:
Start up your server with just two plugins running: CoreProtect 2.04 http://dev.bukkit.org/server-mods/coreprotect/files/55-core-protect-v2-04/ and Vault 1.2.24 http://dev.bukkit.org/server-mods/vault/files/38-vault-1-2-24/
In this scenario, everything works as intended. Here's how to test: Put yourself in creative mode, then punch a block. It should break. Then type "/co inspect". Now when you punch a block, it should just give you info on that block, but not break anything.
At this point in my testing I enabled all plugins, and everything works as intended.
I then dropped back to just coreprotect and vault, and then also added" TreasureChest 8.4 http://dev.bukkit.org/server-mods/treasurechest/files/34-treasure-chest-8-4/
Now perform the same tests. You will see that blocks break when they shouldnt.
I also repeated this test with GriefPrevention and Vault running (working as expected) GriefPrevention, Vault and Treasurechest (all protection is null)
I hope this helps!
-
View User Profile
-
Send Message
Posted Mar 19, 2013Was working on my server for a bout 10-20 people ( 4hours) then derped. Tchests lost all loot. /tchest delete wouldn't work either. It showed nothing in the chest and a few times just said it was locked by me. Wouldn't say chest allready looted. Created a second tchest and it would not work. /plugins showed treasurechest was still loaded. I'm on the latest dev 1.5 build. Treasure chest 8.4
-
View User Profile
-
Send Message
Posted Mar 18, 2013"Beware, treasures that have not been used since Bukkit version X, will lose information about the written book item."
Which version is X?
-
View User Profile
-
Send Message
Posted Mar 18, 2013@tomaste
Could you tell me how to reproduce the bug?
I don't know what you mean by Coreprotect's block protection. I never used that. And I see no problems with WorldGuard.
So tell me how Coreprotect works, or maybe some other protection plugin... Which steps should I take? And what happens, that's not supposed to happen?
-
View User Profile
-
Send Message
Posted Mar 18, 2013@tomaste
Ok uhm. I can't reproduce the problem with WorldGuard. I can simply protect a region. And I can't use doors or chests. Let me try that Coreprotect you were talking about.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Mtihc
No, I had 8.4 ;)
You don't have to wait for approval, the link is right here: http://dev.bukkit.org/server-mods/treasurechest/files/34-treasure-chest-8-4/
-
View User Profile
-
Send Message
Posted Mar 18, 2013@tomaste
Wait wait wiat iwiatiawitita.
The file of version 8.4 is not approved yet. So you probably got version 8.3.9. Version 8.4 actually has a fix, that might fix the thing that needs to be fixed.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Mtihc
Thanks for having a look! I also noticed it bypasses coreprotect's block protection while in /co inspect mode.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@tomaste
Wauw. I have read that before. But it was too crazy to believe.
I will look into this. I will test it with WorldGuard, is that alright?
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Mtihc
Unfortunately this version also has the problem of bypassing all of GriefPrevention's protections.
When this version is enabled, players can access all chests, doors and all buttons/levers in any claimed area.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Mtihc
Thanks! I assume this is the link? http://dev.bukkit.org/server-mods/treasurechest/files/34-treasure-chest-8-4/
I'll try it out now.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@dt39
Thank you for opening that issue. Keeps things organized.
-
View User Profile
-
Send Message
Posted Mar 18, 2013I just uploaded TreasureChest 8.4
I hope the permission problems are fixed. DerFlash helped us with a pullrequest on GitHub. Waiting for file-approval. You can download it, and read the changelog when it's approved.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Atakyn
I tried this version, and it works... but it overrides all of GriefPrevention's protections. I had to disable it.
More info: when this plugin was installed, all players can access _all_ chests in all claims. (not just treasurechests).
-
View User Profile
-
Send Message
Posted Mar 17, 2013A person by the name of: Addicted_24_7 made an update here.
== NOTE: == This is not mine, nor sponsored by the authors of this plugin. Link to original forum: http://forums.bukkit.org/threads/treasurechest.135361/.
@Addicted_24_7 Hope this is ok!
-
View User Profile
-
Send Message
Posted Mar 17, 2013Yep 1.5 support would be great please. I have posted console output on github issue #39, hope that helps!
-
View User Profile
-
Send Message
Posted Mar 17, 2013Just a comment here that you guys are working on a 1.5 update to this plugin would be a relief...