DeathChests
DeathChests
This plugin is similar to the Death-System of Diablo 2 (and many other RPG games). If you die it will put down a chest at your feet and your whole inventory gets stored in this chest. But this only works if you have enough chests in your inventory (or if you have certain permissions).
This chest is also saved against every player-based attack. So nobody could loot you while you're walking back to your death point. And also the chest doesn't despawn after time.
Features:
- Drop a chest upon death if you have one in your inventory and save your inventory from being destroyed
- Your chest gets signed with your name if there is space for a sign (either on the side or on the top)
- Shift (Sneak) + click the DeathChest to easily reeqiup your inventory
- Protect your items from griefers and other hazards. Nobody can steal your stuff while you're dead.
- Chest gets unlocked after a defineable time (prevent with per player permissions)
- After unlocking the chest you can define a time after this the chest automaticaly gets destroyed (spills content on ground)
Usage:
Just give yourself the permission deathchest.use and carry a chest around to save your items upon death.
Permissions:
Permission Node | Default | Description |
---|---|---|
deathchest.admin | op | Allows access to the /deathchest command |
deathchest.breakothers | false | Allows to loot or break the DeathChest of others |
deathchest.use | true | Allows the usage of DeathChests |
deathchest.use.free | false | You don't need to carry chests with you to use this plugin |
deathchest.use.sign | true | Puts a name-sign on your DeathChest if possible |
deathchest.use.pvp | true | If this is set, players will also drop a DeathChest if they are killed by a player |
deathchest.use.xp | true | If this permission is set, the XP will also be saved (if set in config) |
deathchest.use.noTimeout | op | Removes the Timeout-feature for a specific permission-group if set |
deathchest.compass | true | Allows the usage of the /dc compass command |
Commands:
For every command you need the deathchest.admin permision-node! The main command is "/deathchest", but you can also use "/dc". In the table below there are only the first arguments listed, that defines the command. /deathchest <subcommand> [argument1, ...]
Subcommand | Aliases | Arguments | Description |
---|---|---|---|
reload | Reloads the configuration of the plugin | ||
info | version | Show information about the plugin version | |
clear | [playername] | Clears the DeathChest-Dictionary (removes protection and Sneak+Click-Support) If there is a playername provided it only removes the chests of this player | |
compass | Points your compass to one (the first not picked up) of your DeathChests |
Configuration:
This describes the content of the config.yml:
YML-Node | Default | Description |
---|---|---|
general.autosavePeriod | 900 | This defines the period (in seconds) when the DeathChest-Dictionary gets autosaved |
general.timeout | 900 | The timeout period in seconds. After this period, the chest is accessable to everyone |
general.pickupEmpty | false | If set to true, DeathChests will be picked up as soon as they are emptied (after a defineable Timeout) |
general.emptyTimeout | 5 | Time in seconds. After this duration the chests will be automatically put into the players inventory |
general.saveXP | true | This must be set or the save-Xp-function won't work |
general.saveXPRation | 0.75 | Percentage of the experience level that will be kept upon death |
general.fullVanish | 3600 | Time in seconds. After this amount of time AFTER the lock timeout the chest gets destroyed (0 disables this feature) |
Additional Information:
Please tell me any bugs you find and every feature you miss!
Planed feature:
- Define how many gold you loose upon death
- Addition: Gold needed for a deathchest
Also save your XP-Points inside the chest (Release them at picking up the chest)Command to let your compass point to your chest
Frequently reported errors:
If you get an error like:
java.lang.UnsupportedClassVersionError: ... : Unsupported major.minor version 51.0
Update your Java to 1.7 your are using 1.6 or lower!
Try Deathcraft.
@PaulBGD
when would we see this?
I would love to see this plugin updated for 1.6.2. It has all the features I'm looking for in a death chest plugin.
Imma update this.
Could someone update this? The developer hasn't been on since December 1 of last year... 8)
And update for 1.5.2 would be really nice!
@creptor
A developer who offers his work for free shouldn't have to completely recode his software to run with an outdated and HIGHLY INSECURE version of Java. If you cannot update to J7, then that is your issue.
hey don't you have one for 1.6, I have a MAC and with my version I cannot update Java.
Could you help me please.
Throws errors on 1.4.6 beta server. Tried on a clean 1.4.5 server and get the same output followed by a ton of errors
15:52:58 [SEVERE] Could not pass event PlayerDeathEvent to DeathChests v1.2.2 org.bukkit.event.EventException
Can we make the sign on the chest say [Private] and the name for Lockette?
This is awsome, can you please update this?
does it work if you die in lava
Is there away to have LWC autolock the chests?
@sbeexDEV
In the description is the link to the github-repositiory. Currently I don't have enough time to fix it.
Hi _Belkar I got an error with your plugin : Caused by: java.lang.NullPointerException at com.Belkar.DeathChests.DeathChests.getDeathChestAt(DeathChests.java:545) at com.Belkar.DeathChests.DeathChestEventListener.onBlockDamage(DeathChestEventListener.java:145)
Could you fix it or give me your sources like that I can correct it for my server ? thank's in advance !
@arbokb82
You need a Permission Plugin like PermissionsEx. There you can define groups and set their Permissions. The available permissions are listed above.
@_Belkar_
Well, they are... lol Is there something I can change in the config to give someone permissions. I'm kinda new at running my own server so please forgive my ignorance.
XP is not working for me. Here is my config
@arbokb82
Normaly they should have the default permissions. There shouldn't be any problems with permissions.
Other players on my server don't have permission to use deathchest. How do I give normal users on my server permission to use it?