DeathBukkit
DeathBukkit
General
DeathBukkit allows players items' to be preserved after death, so that they can be recovered. Specifically, when a player dies with death chests/signs enabled (see the "Use" section below), a chest will be created at the death point, containing the items which were in the inventory of the player prior to being dead (this is highly configurable). A sign will also be created (again, configurable), indicating who the owner of the chest is, as well as the time and date when they died. Right-clicking on this sign will automatically recover the chest's contents, and destroy the chest.
While several other "death chest" plugins do already exist, they are all either out-of-date or abandoned. This plugin is intends to supersede those plugins.
A server owner could easily change the configuration file and customize timings such that:
A chest will be inaccessible by only the dead player for X minutes. A chest will break after Y minutes.
News
DeathBukkit Release v1.0.1
DeathBukkit v1.0.1 is a huge update. It adds multiple commands, different chest types, many bugfixes and better permissions system. It was the product of a lot of effort and consists of more than 1,409 new lines of code.
DeathBukkit Release v0.3.0
DeathBukkit v0.3.0 re-adds the ability to make chests exist of an infinite amount of time (no expiry). It also stops chests from "auto-expiring" when the sign is clicked and the player's inventory is filled.
DeathBukkit Release v0.2.1
DeathBukkit v0.2.1 fixes a potential TileEntity CCE.
Use
Configuration
Just drop the plugin in your plugins directory and next time the server is run it will automatically generate it's config file for you. The 2 options in the plugin config file are self explanatory (seconds until unlock and seconds to expiration) and the defaults are:
- unlockAfter: 0
- expireAfter: 0
A value of zero indicates that the chest should unlock/expire immediately and a value less than zero indicates that the chest should never unlock/expire. Any other value is a time in seconds.
Types
DeathBukkit uses a type-based system for extra configurability. Chest types can be configured per player and define what happens when a player dies. You set a player's chest type by giving them the permission "deathbukkit.type.<name of type>" (e.g. to the set "grave" type a player should be given the "deathbukkit.type.grave" permission). If no chest type is set for a particular player, that player will not have a chest created for them.
Currently, three different death chest types exist, and they are listed below. The order of this list matters. If a player has more than one chest type set, DeathBukkit will ignore all but the type that appears first on this list.
Name | Description | Image |
---|---|---|
grave | Creates a sign at the place of death containing information about the player's death including time of day. By right-clicking the sign, items can be retrieved. | View |
doublechest | Creates two chests containig the entire contents of the player's inventory. It is located at their place of death and also includes a sign, similar to "grave". | View |
singlechest | Creates a single chests containig as much of the player's inventory that can fit. Extra items are dropped on the ground. It is located at their place of death and also includes a sign, similar to "grave". | View |
Commands
Please Note: Commands may also be prefixed with the alias /deathbukkit instead of /db.
Name | Description |
---|---|
/db | Displays your number of chests. |
/db loc | Alias for "/db loc 1". |
/db loc <num> | Displays chest <num>'s location. |
/db tp | Alias for "/db tp 1". |
/db tp <num> | Teleports you to chest <num>. |
/db reload | Reloads the config file. |
Permissions
Please Note: Wildcard *s are valid in permission nodes (e.g. "deathbukkit.commands.*" grants access to all permissions beginning with "deathbukkit.commands.").
Name | Description |
---|---|
deathbukkit.command.status | Permits "/deathbukkit" |
deathbukkit.command.loc.first | Permits "/deathbukkit loc" |
deathbukkit.command.loc.any | Permits "/deathbukkit loc <num>" |
deathbukkit.command.tp.first | Permits "/deathbukkit tp" |
deathbukkit.command.tp.any | Permits "/deathbukkit tp <num>" |
deathbukkit.command.reload | Permits "/deathbukkit reload" |
deathbukkit.type.grave | "Grave"-style DeathBukkit chests should be created for this player |
deathbukkit.type.doublechest | "Double chest"-style DeathBukkit chests should be created for this player |
deathbukkit.type.singlechest | "Single chest"-style DeathBukkit chests should be created for this player |
Media
By: VariationVault
By: luigi_vampa
Download
The latest plugin build can be downloaded here.
Latest Changes
- Fixed config parsing
- Fixed config loading
- Added death sign
- Fixed armor loading
- Fixed serious chest inventory reading bug
- Fixed potential TileEntity CCE
- Re-added the ability to make chests exist of an infinite amount of time (no expiry)
- Stops chests from "auto-expiring" on click
- Added /db, /db loc and /db tp commands
- Added chest type permissions
- Added "grave" chest type
- Added "single" chest type
- Improved code modularization
- Fixed config parsing bug (can't set unlockAfter to infinite when expireAfter is finite
- Overall better code and code cleanup
Planned Features
- More customizable options - Feel free to suggest anything!
How Can I Help?
This plugin is developed solely by me in my free time so:
- If you are a developer would like to contribute to this project, or any of my other projects, please PM me or email me at [email protected].
- If you are a not developer but would still like to contribute somehow, please consider donating. Donations are highly valued and much appreciated.
About
Developer: Keeley Hoek (escortkeel)
-deleted-
-deleted-
-deleted-
Hello,
I think this mod suits well my needs, however there are maybe two little shortcomings:
- no help (i only have a "DeathBukkit: null" indication with Essentials)
- i set a deathbukkit.type.doublechest permission and got a grave type sign at first death (which finally suits me better): what did i do wrong?
Best regards,
Hello,
I think this mod suits well my needs, however there are maybe two little shortcomings:
- no help (i only have a "DeathBukkit: null" indication with Essentials)
- i set a deathbukkit.type.doublechest permission and got a grave type sign (which finally suits me better): what did i do wrong?
Best regards,
When blown up by a creeper the chests get destroyed.
Is there a way to fix this?
Found another duplication bug. Had to abandon this, even though I loved it.
@PrimerBlock
Thanks, I'll have a look.
Finding more and more DeathBukkit is being unintentionally and intentionally used to grief the system. Would love a way to block DeathBukkit in some areas (maybe a worldguard flag) or block completely in some worlds. A worldguard flag would be the best situation for me for I could just worldguard a region for say an arena and set a single flag to disable deathbukkit.
@tomaste
Any updates coming on this? I'm hoping for a multiverse friendly version where I can disable it >>per-world?
Anyone know of a plugin that can do this?
This plugin says it does multiverse: http://dev.bukkit.org/bukkit-plugins/deathchest/ I have not tested it yet but may try it soon. Really looking for the ability to turn on and off the death bukkit so it will compatible with BattleArea and other PVP plugins.
@googlebuscus
I second this request. Using BattleArena and running into the same problems.
Any updates coming on this? I'm hoping for a multiverse friendly version where I can disable it per-world?
Anyone know of a plugin that can do this?
Can you make it so this is compatible with MobArena? It's placing death chests all over my arena. I can't even negate their perms.
Will there be a 1.5.2 update and fix?
Will there be a 1.5.1 update and fix?
Ok, i just thought of this, instead of "/db loc". How about adding "/db compass" while holding a compass and the compass will point to the DB. Just a suggestion.
Hi.. I don't want to hate/pick on you but theres a number of big bugs with this plugin, great though it is.
Again i'm sorry to sound like im picking on your otherwise great plugin, just I think these things would be reasonably easy to fix. Thanks for reading and good luck with the plugin
Will you soon make a 1.5.1 update? Since the new API it can't get anything from the player inventories
@About7Deaths
Use zPermissions:
/perm group default set <world>:deathbukkit.type.grave
I found source code https://github.com/escortkeel/DeathBukkit and compile it for Java 1.6. You can download it from here https://alxv.su/tmp/DeathBukkit-1.0.1.jar
Please add a option to disable chest creation in certain zones (example: Faction_World 123, 43, 56 -> 345, 56, 400) Coordinates