SavageDeathChest
Description:
This plugin stores a player's inventory in a chest on death for later retrieval. It has many options, but configuration and use has been kept as simple as possible.
Features:
- Places a single or double chest at player's death location containing the player's inventory
- Optional sign placement on chest, showing player name and death date
- Configurable list of block types that chests can replace
- WorldGuard, GriefPrevention, PreciousStones and Towny aware, will not place a chest where the player does not have access. Enabled individually.
- Option to check protection plugins on chest access. Enabled individually, disabled by default.
- added WorldGuard 7.0 compatibility.
- Searches a configurable distance from death location to find a suitable chest location
- Optionally require players to have chest(s) in inventory
- Chest protection allows only owners access. Also makes chests explosion proof!
- Optionally allow player's killer to access their chest, for pvp looting.
- Prevent concurrent access to chests when killer looting is enabled.
- Optional quick-loot feature allows one click (sneak-punch) chest looting
- Configurable expiration time for death chests, at which point they will break and drop their contents
- Custom messages and language localization
- Per world enabled in configuration
- Uses sqlite for persistent storage
- Prevents creative mode players from opening death chests
- Optionally prevent players from placing items in death chests
- Optional sound effects!
- A perfect compliment to SavageDeathCompass and SavageGraveyards
Permissions:
Permission | Description | Default |
---|---|---|
deathchest.player |
Default player permissions | true |
deathchest.chest |
Enable death chests for player. | true |
deathchest.loot |
Allows player to quick-loot death chests by sneak-punching. | true |
deathchest.doublechest |
Allows placement of double chests if necessary. | true |
deathchest.admin |
Default administrator permissions | op |
deathchest.freechest |
Overrides require-chest configuration setting. |
op |
deathchest.creative-access |
Overrides creative mode chest opening restriction. | op |
deathchest.loot.other |
Allow player to loot other player's chests. | op |
deathchest.reload |
Allows use of plugin reload command. | op |
deathchest.list |
Allows a user to view a list of their death chests and locations. | op |
deathchest.list.other |
Allows a user to view a list of other players death chests and locations. | op |
Commands:
/deathchest list [username]
Displays a list of player's death chest locations. Requires deathchest.list permission. If a player has permission deathchest.list.other, they can supply a username to list another player's deathchests, or type an asterisk (*) to list all deathchests.
/deathchest reload
Reloads configuration file and messages. Requires deathchest.reload permission, which is child node of deathchest.admin.
/deathchest status
Displays version info and some config settings. Requires deathchest.status permission, which is child node of deathchest.admin.
/deathchest help [command]
Displays a brief help message and command usage.
Installation
Put the jar in your plugins folder and restart your server. Edit the generated configuration file to your liking, then reload the plugin settings with the /deathchest reload
command. No server restart necessary!
Configuration
All configuration changes can be made without needing to restart your server. Just issue the reload command when you are satisfied with your settings in config.yml.
Source
Source code for this plugin is hosted on github and distributed under the GPLv3 license.
https://github.com/tim-savage/SavageDeathChest
About deathchest.drops: does "allows overflow items to drop on ground" happens when i use sneak-punch?
In reply to Markos_Silva:
A new version (1.13.0-beta1) has been uploaded. Support for Factions and PreciousStones has been disabled until 1.13 compatible versions of these plugins are released. All configuration files, language files, and the database schema have changed. If you are upgrading from a previous version, it is recommended that you rename or delete the plugin folder and allow all new files to be installed.
In reply to timsavage:
In reply to Markos_Silva:
I was kinda curious if this plugin could get an addition, lets say, you die, all your stuff goes in chest, you spawn at your bed and all of a sudden the /back command did not work. Hold on, when I died, I got a key to my chest, and when I'm holding it in my hand, some arrow-like item shows up in screen, telling me the direction where to go to the deathchest....
Something like this.....
please please please PLEASE update this plugin. i used it for nearly 5 years on my multiworld server and only just since 1.13 did it stop working. Players LOVE this feature.
Is there a way to lock the chest for individual ranks?
Hi, i am very happy with the fact that dying ingame does give you the chance to save your stuff.... Would it be also possible to either give the coordinates where the chest is or a warp action to it?
That would make a lot of users happy, for sure...
Keep up the good work...
Can you add a placeholder for the position of death?
Translated by google translator
Hei Tim. Can u add position placeholder for Language files? Thank u ^^'
Is there an 1.11 Bucket Version ?
There is, just installed it on my server.
Back from a brief hiatus, I will try to address the issues that have cropped up with newer versions of bukkit in a new release.
hello i got some errrors i use SavageDeathChest v1.7.0-beta2 and latest spigot 1.11 what is this errors? http://pastebin.com/a2ue6XY8
This issue has been fixed in the upcoming release. In the meantime, disabling the killer looting feature should prevent this error, I believe.
Hey on 1.7.0 beta2 I'm getting empty chests on death with a blank sign, am I doing something wrong?
Hmm. Are you also using Towny, as the poster I responded to below was? If not, send me some more info about the circumstances so I can look into it. A log or stack trace would help a bunch.
And now this error when another player didn't get a chest placed. http://prntscr.com/cvnrbj
Thanks :3
The warning in the log is due to a missing message in the language file; I will make sure the message gets included in the next version. However, the chest-denied-block message should only get sent to a player if there was no open space to place a chest within the search distance. This should be a rare occurrence, as there should usually be at least one open block at the player's death location, unless they died by teleporting into solid stone or something like that.
I'd be curious to know the circumstances in which this occurred, in case there is a further bug that needs to be tracked down. Otherwise, this is intended behavior, in that a chest will not be placed where there is no open space or replaceable blocks within the search distance. The log warning was merely indicating that the message to be sent for this circumstance could not be found.
The list of replaceable blocks in the config file are block types that the chests may be substituted for; by default it includes water and lava, so chests will be placed for players who die when submerged. The only other instance I can think of is a very large cave-in, where the player is buried deep enough that an open space does not exist within the configured search distance. This could be remedied by adding sand/gravel to the replaceable blocks list, and/or increasing the search distance.