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.
This has always been one of the best plugs I have ever used. Has a very low conflict ratio to other plugs and all features still seem to be working with the latest 1.7.2 bukkit dev build. Hope you keep this one going! Sent a small token of appreciation hope to do more later.
I can use it in the 1.6.4 version of it?
Hello, it'll be cool if players can see (with a command for example) in how many time they can open again a chest :D
Especially useful in my dungeons ;)
Anyone know if this is compatible with Adventour worlds??
Thank you so much for this. This plugin is perfect for post-boss battle rewards, among a multitude of other applications. The fact that you can run commands upon opening a chest is something that I find to be indispensible.
I am using your plugin in tandem with a few others to make an adventure map, it's a mineZ-esque rpg adventure with open-world looting and dungeon exploration. Might be worth a look when it's done ;)
I believe the server crash is still here. I am using the 8.4.4 on a bukkit server 1.6.4 and every day since installing 2 - 3 times a day the server crashes with no indication. I am removing the plugin temporarily. If the problems goes away I will report that and we can try and figure out what might be causing it
Hello,
I have some suggestions for you:
1. Can you make something like /tchest edit - to make it possible to quickly edit the content of tchest?
2. Can you add some variables to tchest setmsg ? Like for example remaining time to reopen treasure chest... my players are usually asking, when they will be able to reopen tchest again...
Thank you
Every update it keeps getting better. Is there a plan to add attribute support?
There doesn't seem to be any sort of message to indicate that they received a reward such as money from the chest. Something like "You found 40 gold" or something. Am I missing something, or is there no feature to do this?
I suppose if nothing else, I could just manually set the message of the chest to say it.
Running Tchest 8.4.4 and Bukkit 1.6.4 dev.
I'm having an issue where the Tchest stops working when a sign is placed above the chest.
This isn't working for me on 1.6.4, is it because it hasn't updated?
@Th3Z0n3
From time to time I get this too... try to do it from different angle :) it should work
I have an Idea for this plugin... I have treasure chest on the spawn, there are some random items for players who came back to play my server... they can take the items only once a day. But some players are making more accounts in order to take more items from the chests...
I'm using authme and the function limiting more accounts per IP is broken.
So, the suggestion is, to make special type of chest, which will not see if a PLAYER already opened it, but if a IP opened it... So ONE IP = ONE TCHEST
I cannot set a chest with /tchest set. Chat says "You're not looking at a container block". It's a double chest.
How can i fix this? Server runs Bukkit 1.6.2 R1.0
@centaurianArcher
@hooptiecoupe
Thanks for the kind words. Nice to be able to skip over 1 or 2 comments :)
TODO:
- Don't clear the real inventory, whenever a treasure is set
- Add /tchest destroyable
- Fix /tchest ?
- check github issues
@Iwitrag
True. The real contents are cleared as soon as the treasure is created. Maybe I shouldn't do that.
@14zelliott
You already can put books in treasures... should be no problemo
@mattataki
Simply place a dispenser, with rails in front of it. Put 1 or more minecarts in the dispenser. And type /tchest set.... and /tchest u.... Now it's an unlimited dispenser!
@altswang
Not sure what you mean. When I put an echanted sword with Attack+7 in a treasure chest. It works fine.
@crore
The answer should be @p. You can also use %player%
@BenBublil
1.a You can't destroy a Treasure. You have to do /tchest del Maybe I should add a setting like /tchest destroyable. So it can be destroyed. 1.b /tchest ? (questionmark) does not work. You are right, wtf. 2. This is normal. You see a fake inventory. So nobody can quickly steal your items. If you want the normal behavior, you can use /tchest shared.
@nick331999
Hi nick331999, BugsyH said you should update to Java 7. I should test if that's really needed. What I do know, is that Java officially went to Java 7, and archived Java 6 or whatever.
BUG: When I want to edit treasure chest content with /tchest peek, it just show empty treasure chest.. Not items already there :\
I agree with Archer. Thank you so much for designing this plugin. works well with the adventure map on our server. people were exploiting the /back command to easily get freebies after finishing a parkour challenge from the command blocks( on gives the loot, another automatically tp's them somewhere else.) With this, people aren't cheating anymore and it encourages them to try and complete the other challenges or come back after 24 hours to do the challenge again. :)
This is great So easy to setup and do.
hooptiesworld.enjin.com s26.hosthorde.com:25657
If you want to see it in action with factions plugins
Sweet plugin! I've only toyed with it a little bit, but it seems to provide everything I need.
There are other plugins out there that accomplish the same or similar goals, but this one was easy to pick up, allows me to make chests execute commands when opened, and it seems to work perfectly alongside LoreLocks allowing me to lock the chests, thanks to your nifty "fake inventory" thingy!
Thank you! ^_^
I think it would be interesting if you could add Books to a chest for a more RPG feel. I'm going to use this for my server in the works, and hopefully it will contribute nicely :)
Could it for instance dispense an infinite amount of minecarts? I use the plugin in it's normal way and really like it, good job on that one :D Though, I would like to make a compact and automatic minecart station using an infinite dispenser to shoot out some minecarts. Without adding another plugin that does almost the same thing.