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 19, 201346.105.114.202:25577 join this server if you like pvp, creative, mobarena
-
View User Profile
-
Send Message
Posted May 15, 2013Please update this plugin
-
View User Profile
-
Send Message
Posted May 15, 2013@Leo_Verto
That can be abused with 2 ppl killing each other and looting constantly
-
View User Profile
-
Send Message
Posted May 8, 2013@Shooty_
You can enable banrobber mode for a chest, so the player who looted it has to die before anyone else can loot it.
-
View User Profile
-
Send Message
Posted May 1, 2013Dosen't work for 1.5.1 R-0.1
-
View User Profile
-
Send Message
Posted Apr 30, 2013@madmax3004
I can confirm this. It applies to all chests with any sort of non-solid block above them - fences slabs and others.
Any update on color-coded loot (lore-names and lore-lines)? It would be so awesome to have this feature. It's a shame colorcodes get destroyed in tchests atm (either turned into "?5ExampleItem", or, if you manually put the item name in quotation marks in the files, into "&5ExampleItem" (ampersand persists, but doesn't get displayed as color in the game, but as plain text instead).
-
View User Profile
-
Send Message
Posted Apr 28, 2013I've got a bug when i make a tchest beneath a fence, it removes its items. i tried it on different positions, and it didn't work when under a fence.
-
View User Profile
-
Send Message
Posted Apr 27, 2013I've been trying to figure out what in the world was causing my server to crash, but macman's post finally confirmed the plugin for me. Please fix this :(
-
View User Profile
-
Send Message
Posted Apr 26, 2013Thanks for the great plugin! We're using it together with Lores and have encountered an issue: Apparently, treasure files are saved in ANSI, which doesn't accept "&" - which is, in turn, used for color-formatting in many plugins, such as, for example, Lores.
We've hidden lots of treasures in the world, and after each server restart, their colorcode-& turns into "?", breaking the color codes. I tried just converting them to UTF-8 manually, but TChest doesn't seem to recognize them anymore, providing empty treasure chests after reload.
Is there any homemade-fix for this, or might you consider adressing this issue yourself? Any feedback or help would be much appreciated.
Thanks!
EDIT: A little update, I've tested the following:
> Converting the File to UTF-8
> Putting the Lorename + Ampersand in " " ( - "&eSword of Thunder") in the YAML file
Note: This DID preserve the Ampersand, but it wasn't converted into colorcoding, but instead appeared as plaintext in the item name
> Replacing the Ampersand with a § (both with and without quotation marks) in the YAML file
Note: This lead to the tchest file not being recognized.
Is there any fix? We use colored item names to check for and perform special abilities with them (e.g., a shovel that can grow grass on dirt), so preserving them would be really important, and so far, no other "per-player-chest" plugin really supports colors preservation..
-
View User Profile
-
Send Message
Posted Apr 24, 2013Why a chest is "per member chest" can(t we make a 'global chest' who reset after a time ?
-
View User Profile
-
Send Message
Posted Apr 24, 2013Hello there,
I seem to be having an issue with furnaces set as treasure chests.
Whenever a user shift clicks items in or out of a furnace the server crashes with
Description: Exception in server tick loop
java.lang.StackOverflowError at net.minecraft.server.v1_5_R2.ItemStack.<init>(ItemStack.java:38) at net.minecraft.server.v1_5_R2.ItemStack.cloneItemStack(ItemStack.java:261) at net.minecraft.server.v1_5_R2.Container.clickItem(Container.java:214) at net.minecraft.server.v1_5_R2.Container.a(Container.java:383) at net.minecraft.server.v1_5_R2.Container.clickItem(Container.java:216) at net.minecraft.server.v1_5_R2.Container.a(Container.java:383) at net.minecraft.server.v1_5_R2.Container.clickItem(Container.java:216) at net.minecraft.server.v1_5_R2.Container.a(Container.java:383)
Seems fine with chests not tested other storage types. I remove the plugin and its fine.
Hope you can help
Great plugin by the way especially the features of permissions groups and being able to set commands on chest open.
Thanks
MACMAN
-
View User Profile
-
Send Message
Posted Apr 19, 2013very cool plugin
excarcraft.dyndns-server.com:25565
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Originals54
I'm not sure about this, but I think it's because when you open a "tchest" it's not looking into the actual chest. The plugin reads the chest contents and opens up a fake inventory in front of you that matches the chests contents exactly. That is what allows for unlimited loot, and each user to have their own chance to loot the tchest.
I'm not a developer so this may be wrong.
-
View User Profile
-
Send Message
Posted Apr 10, 2013Why there is not an animation for chests ?
-
View User Profile
-
Send Message
Posted Apr 9, 2013So, can we get a IP check as well?
My players are just making different accounts and looting from the chest over and over lol.
-
View User Profile
-
Send Message
Posted Apr 5, 2013Update please!
-
View User Profile
-
Send Message
Posted Apr 2, 2013If you're getting the error "Unsupported major.minor version 51.0", downgrade the plugin to "TreasureChest 8.4", which fixes it.
-
View User Profile
-
Send Message
Posted Apr 2, 2013Would it be possible to add a feature that would allow you to link a number of treasure chests into a network and have only one or two treasures for the whole network? Say you have chests A, B, C, D, and E and they're all linked together. This network has only one reward (say a few diamonds) and the reward is only in one of the 5 chests. Then, if a player finds the right chest (say chest C) the treasure would disappear from chest C and then go to one of the other chests in the network. (either randomly or from a pattern) So at any given time, the treasure is in only one of the 5 chests.
-
View User Profile
-
Send Message
Posted Mar 31, 2013@xpro43x
That would just be done by filling the chest with loot, looking at it, and doing /tchest set
Everyone would be able to get the loot only once :)
-
View User Profile
-
Send Message
Posted Mar 31, 2013Is it possible to make a treasure chest where everyone can get the loot, except each person can only get it once and never again?