DeadMansChest
Ever go out mining or fall into a pit of lava, or somehow die? Ever wish there was an easier way to find your stuff or that it stuck around longer after death? Introducing Dead Man's Chest! With non-destructive glowstone towers (configurable) with a configurable height so you can easily find your stuff! Best of all the glowstone doesn't drop anything when mined (default), so you don't have to worry about players dying just to get free glowstone! This is the official continuation of the PlayerChestDeath plugin on the forum. I have contacted the original author by email and have official approval to do whatever I want with this plugin.
Features
- No death chest if the player doesn't have anything
- An option to require players to have a chest (or two for a double chest) in their inventory upon death to get a death chest.
- An option to have doublechest death chests! (with permissions support)
- Quick loot death chests!
- Death chests disappear instantly after being quick looted
- Permissions support!
- Option to have a non-destructive glowstone tower over your chest
- Configurable glowstone tower height
- LWC locking support
- Option to have death chests disappear after a certain time
- Option to have the rest of your items that don't fit in the chest drop on the ground naturally or to just disappear
- Very configurable!
Permissions (Defaults to everyone, unless otherwise noted)
- deadmanschest.freechest - If you have the option enabled that players must have a chest in their inventory to get a death chest, this one exempts this group from that requirement (Defaults to OPs only)
- deadmanschest.chest - Allows you to have a death chest.
- deadmanschest.drops - Allows anything that doesn't fit in the chest to drop naturally.
- deadmanschest.message - Announce this player's death.
- deadmanschest.lock - If LWC is enabled this player can get a locked chest.
- deadmanschest.beacon - Allows a beacon tower to be built for this player.
- deadmanschest.nodelete - Exempts this player's chests from being deleted. (Defaults to OPs only if no permissions detected)
- deadmanschest.loot - Allows the player to loot locked death chests not belonging to that player. (Defaults to OPs only)
- deadmanschest.doublechest - Allows the player to have a doublechest death chest. (Defaults to everyone)
Configuration
Edit the Config.cfg file found in plugins/DeadMansChest
#Edit this file as needed. #Death Message must be true for the death message String to work!ChestDeleteInterval is in seconds. #NEW! Do players need a chest in their inventory to get a death chest? NeedChestInInventory=false #NEW! How often, in minutes, should we save the death chests? (Set to 0 to disable) ChestSaveInterval=5 # Should we lock chests with LWC LWCEnabled=true #Should the glowstone, chest and sign drop their respective items when mined? MineableDrops=false #Should we build a glowstone tower BeaconEnabled=true #And how high? BeaconHeight=10 #Should the beacon replace water/lava blocks as well or just air blocks? BeaconReplacesLiquid=true #Should we show a death message? DeathMessage=true #Put a sign on the chest with the player name? SignOnChest=true #If we are using LWC to lock the chest should it be a private lock or a public lock? LWCPrivateDefault=true #If death messages are enabled the string to display. DeathMessageString=died and left a chest where he died. #How long before the chest disappears and the items spill out in seconds. ChestDeleteInterval=50 #Should we drop any items normally that don't fit into the chest, or just remove them from the world. DropsEnabled=true #Should we delete the chests after a certain time frame? ChestDeleteIntervalEnabled=true #Should players be allowed to loot death chests when they sneak click on one? # Players can only loot their own chests if LWC protection is set to private # or to loot any chest with lwc they need the deadmanschest.loot permission node. ChestLoot=false #Do not change anything below this line unless you know what you are doing! version = 0.8
ok, i've fixed the plugin up so that it is updated to 1.3.2, i have also moved all the permissions support from Permissions 2.x/3.x and SuperPerms to Vault, which means this plugin works with all permissions plugins that Vault works with.
I'm not sure how to do a pull request or anything like that, still working out egit for eclipse, i have a local copy of the repo on my computer along with the jar file.
ok, worked out the issue, we use PermissionsEx. Any chance you could update this plugin to utilise Vault, so that it can support all of the permissions plugins that Vault supports?
Kinda annoying is this is the best of the bunch for death chests...
So i set up the 'deadmanschest.chest' permission for 1 of our worlds, and 1 of them only, yet, whenever a player dies in any of our worlds, a death chest is created for them.
@CosmicVoyager
Yes, I have to look at the new LWC 4 and lockette
Will any kind of protection be re-added to prevent stealing?
How do you use the chest loot feature? I have it enabled in the config, but I can't loot my own chest when I am sneaking and left or right clicking. Am I doing something wrong, or does it not work properly?
Any plans for Lockette integration?
@wawaamp
Thanks for the config file. I'll see what I can do to make this bug go away.
@Tux2 http://pastebin.com/MQLNvE3c
@Pwnzsolo
I'll get that implemented in the next update.
@wawaamp
Mind showing me your entire config?
hey
got a slight glitch
i have ChestDeleteIntervalEnabled=true and ChestDeleteInterval=80 but it is not deleting the chests after 80 seconds; some guys used it to grief massive chest towers into my map last night :(
@rustymetal
Lol last time I checked bukkit was thriving and so was this plugin. I love how someone hears some person expressing their opinion about a site or plugin and then they think its a fact. Bukkit is soaring. With their new Dev area implemented and the Minecraft update only a few days away Bukkit has been very busy. How can you sit here on their site and claim their dieing. Anyway this plugin rocks...people having issues need to realize not everything works perfect right off the bat. Not to mention the fact that while this may work perfectly for some people, due to different plugin setups and combinations, it may not work well for you. Then there is the most common reason for problems....which is human error.
I do have one question for the developer. Does this require the user to have a chest in their inventory. If this was stated I am sorry I must have missed it. If its not in their would it be possible to implement that into the configs so we could choose if we wanted the player to be required to have at least 1 (or 2 for double chests) chests in their inventory when they die for the plugin to drop them a chest. The only reason I want this feature is I want some level of accountability on my users part. Right now with this users really dont have much to fear on death which is good and all but I would like them to at least have to remember to put the chest in their inventory or risk losing their items. Thank you even if this isn't possible:)
I've been searching the bukkit forums for these death-chests. Yours is by far the most easy yet extensive. Anyway what I would like to see added to your plugin is an option to create your own layout, like importing a .scematic of something.
I would like to use this so every time a user dies you will have a grave instead of a chest out in the open.
when digging up a chest with dropsenabled=false the chest doesn't drop but the sign does
(Not that a sign is valuable in vanila but equivalentexchange in tekkit seems to think one sign is worth 52 stone bricks!)
@woodendinosaur
LWC integration doesn't work with the newest version of LWC. I am going to have to re-write that part of the plugin. Turn that off and it should work just fine.
Does this still function with 1.2.5-R.2.0? I am having issues with it (a chest is no longer deployed), though it is something I have done, I am sure. I recently updated to 2.0, and purged my LWC database. Is there a way to jumpstart this into working again? Or am I broken? Suggestions?
@Tux2
#Should the glowstone, chest and sign drop their respective items when mined?
MineableDrops=false
This doesn't seem to work properly .. if I destroy the chest which has a sign attached to it the sign will drop and be lootable. This is also the case when the chest is auto-deleted.
@KuraiOokami
While sneaking hit the chest. Also, make sure that option is turned on in the config.
@Jungalist81
Just negate the permission node. That's your toggle.
so how do you use the quick loot option?
@softvelvet
You are absolutely wrong softvelvet. I only suggest something when a feature not present. The plugin currently gives the ability to everyone. Therefore, I have to set negative permissions (bperms)