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-protection
command. - You can't break, burn or blow up Treasure Chests.
Unless you use thedelete
command.
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
peek
command 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.
@silentdojo By the way... you say "emtpy for me" and "that item is there just for me now".
That's not true. It's not like a personal chest.
@Faldonboy
@Poet68
I think you need CB 1.2.3-R0.3
Download (any version) here: http://dl.bukkit.org/downloads/craftbukkit/
@silentdojo
Hmm... if that second player doesn't take all the items... they are left behind. Is that the case?
I cannot imagine that the items respawn... like you said. I should really test this soon. But I trust your eyes too :)
@Poet68
Again that stupid DoubleChest error.
Caused by: java.lang.ClassNotFoundException: org.bukkit.block.DoubleChest
I wonder in which version of Craftbukkit it was added.
Bug report: Made a chest with some items. Did /tchest set. Accessed chest and looted everything. Worked fine. Put one of the items back in the chest (empty for me). That item is there for just me now. Another player access the chest and works fine for him. When I access the chest after other player the chest now has all the items again. So this could be exploited.
Hi, this error happens at my server: http://pastebin.com/Dfn4G18n
Bukkitversion: git-Bukkit-1.2.3-R0.2-b2060jnks
@Faldonboy
It's both the same error: Caused by: java.lang.NoClassDefFoundError: org/bukkit/block/DoubleChest
It doesn't know what a DoubleChest is. Which Bukkit version are you using? :)
The following errors happen on both a live server with 40+ plugins and a test server with nothing but this, essentials, and pail
This is with the latest version of tchest and bukkit R0.2-8
http://pastebin.com/B3TXivXv - This error happens whenever anyone tries opening a chest(Not just treasure chests, normal chests cause this too)
And
http://pastebin.com/eYbMXjZ1 - happens when trying to execute a tchest set command(may happen with other commands too but I didn't check)
Version 7 is uploaded and approved!
Bunch of new features. Check it out here: http://dev.bukkit.org/server-mods/treasurechest/files/15-treasure-chest-7/
Sadly, you have to delete your TreasureChest folder. Which means all you current treasure chests will no longer exist.
@Mtihc
I'd like to get your opinion on this.
I mean... should I make some code... to convert the old files, to the new files?
I don't feel like creating that haha. But if you really really really want it.......
I have an update (almost) ready.
But.... it cannot work with the old chests.yml file.
In other words: Your current treasure chests no longer work.
I feel bad about this... I'm sorry.
The new features (like I said... almost done):
P1 opens chest. P2 opens the chest just after or at the same time P2 can loot items, P1 doesn't get anything.
Can you fix this? Because there it is really annoying XD
Does this plugin also work with dispensers? And can it replenish more than 1 item?
@gwinans
Yeah i know :P
This plugins is fairly broken.
While it does work if only one player at a time is using it, it completely screws the pooch.
If a user opens it and then another looks in, he can see what the other player does and he can snatch the items before the original player does.
Ex:
P1 opens chest. P2 opens the chest just after or at the same time P2 can loot items, P1 doesn't get anything.
If possible, each user, when opening the chest, should get a unique chest interface of their own.
@Mtihc
I have the update, pretty much ready.
I will add a /tchest convert command.... So you existing chests will keep working.
I recommend you make a backup of chests.yml.
I will mention this again, in the changelog or something.
@Mtihc
A friend of mine said this:
Tchest works like a charm! it did crash when i used the earliest Dev builds from bukkit but now it works perfectly :)
I will update anyway.
@KBKWilliamsson
Hm ok.
I'm going to start working on treasurechest today.
I'm not sure yet. But I think I will do some things differently.
Which means that your current treasure chests... might stop working.
Just giving y'all a heads-up. Hope you can forgive me.
Just wanted to give you a heads up that it dosen't work on the bukkit 1.2 beta build.
Error when opening a treasurechest: http://pastie.org/3528190
@Mtihc
Well, it doesn't say "for version CB 1.1-R6", that's why I posted. If it works for R6, maybe update the description. :)