DeadChest
Ultimate solution to protect inventory on death
For the full chest experience, use Deadchest with Lootbox!
Keep a player's inventory in a chest (deadchest) when he dies. Deadchest is placed at the location where the player dies with a holographic text with the owner and a timer of remaining time before the chest disappear ! When the timer end, the chest is destroy with all the content in it.
You can edit duration of deadchests, you can also make chest with no timer (Infinity chest). Chest can be private (only the owner of the deadchest can open it or an admin) or public (anyone can open it and get the content).
Keep a player's inventory in a chest when he dies.
- All the inventory is save ( Armor too ! )
- Chest appear at the location who the player die
- All type of world supported (classic world, nether, end...)
- NEW : XP storage
- Holographic display of player owner and remaining time
- Unlimited players and unlimited chests
- Choose chest or player heads
- Permissions
- World management
- Items management
- Worldguard support
- Gamemode management
- Grief protection ( destroy / explosion)
- Complete plugin documentation
- Log system of each deadchest event. Players will not be able to lie to you.
- Compatible with Citizens 2
- Work on 1.13.2 ,1.14.x, 1.15.x ,1.16.x, 1.17, 1.18.X, 1.19.x and 1.20 !
- Highly customizable :
- Chest duration
- Chest access
- Holographic content
- Colors
- Chest griefable (yes/no)
- Number of chest per player
- Language
- Drop
- And many more !
Since version 4.5.0, DeadChest use bStats to collect anonymous data to make statistics for the plugin.
Your Deadchests are FULLY customizable !
Command | Description | Permission |
/dc reload |
Reload the plugin |
deadchest.admin |
/dc remove |
Remove all deadchests of the current player |
deadchest.remove.own |
/dc remove (PlayerName) |
Remove all deadchests of a player |
deadchest.remove.other |
/dc removeinfinite |
Remove all infiny chest |
deadchest.admin |
/dc removeall |
Remove all deadchests |
deadchest.admin |
/dc list |
List all deadchest of the current player |
deadchest.list.own |
/dc list all |
List all deadchest |
deadchest.list.other |
/dc list (PlayerName) |
List all deadchest of a player |
deadchest.list.other |
/dc giveBack (PlayerName) |
Return the oldest deadchest inventory of a player to him |
deadchest.giveBack |
deadchest.generate : Allow a player to generate deadchests
deadchest.chestPass : Allow a player to get all deadchests
deadchest.infinityChest : Allow a player to have a infinity chest
First installation
Just drag and drop DeadChest.jar to your plugins file and launch your server. In the plugin/deadchest folder you will find 3 files :
-
config.yml : File to edit the configuration of the plugin (you should open it and put the params you want !)
-
locale.yml : Langage file, english by default, you can edit this file to the langage you want
-
chestData.yml : Do not open or edit this file, it's here that all data about the plugin is stored.
-
deadchest.log : Track all Deadchest events here.
Please read the FAQ if you have any trouble. If you find any issue, please report it on Github or Discord
You will find below the list of all my plugins. They are all updated with the latest version and try to offer you the best experience possible.
- SpawnerSilk : Mine spawners with silk touch.
- DeadChest : Keep your inventory in a chest when you die
- Cryweather : Manage time easily
- RedStoneMe : Activate redstone with your presence
- MendingEnchant : Allow you to have mending with your enchant table
- MobsManager : Manage which mobs can spawn on your server or not
- CreatureCapture : Capture any creatures you see with a special bow
In reply to ice_drake1:
Can you explain more about the first part of your message ? For the NPC, yes it's because it's NPCs aren't really player, I will check if I can found a way to remove this exception !
Thanks for taking time !
In reply to crylonz:
So far, I can't pinpoint exactly why the chest sometimes appears elsewhere (like way above) as suppose to where the person dies. I will let you know more when I can see a pattern.
In reply to crylonz:
Well, after a couple of trials and errors and a talk with Citizens 2 supports, there seems to be no way to prevent dead chest from spawning. If only the NPCs do obey permissions like regular players, the compatibility issue can be fixed, but apparently, they don't. I even went in to set the default value of deadchest.keepInventory to false in plugin.yml and give real player that permission. It didn't even stop working. Do you think there is a way to disable this plugin for those NPCs or something of that sort? The developers of Citizens suggested using entity.hasMetadata("NPC").
In reply to ice_drake1:
Yes, I think so ! I will send you a PM for more information.
I'm having some problems with this plugin. everybody keeps seeing the OWNERS: floating in the air. After they died and opened the chest. I tried removing chest data but that didn't work. The text is still floating around, disabling or removing the plugin also doesnt work.
In reply to Forge_User_90804215:
I know this bug, but I don't know when it produce and I can't reproduce it on my dev server. To clear buggued holograhic text : use /dc repair next to holograms. I think it's there is a conflict with another plugin, but not completely sure ! If you can give me more information, it would be cool.
Hi, there. I really like your plugin. It prevents stealing through PvP; however, after using a while, my users and I kept run into chest spawning issue for Minecraft version 1.14.3. At first, I thought it was a random occurrence that I can't always reproduce the issue, there was no error logged, and I am using the latest version. But after a couple of more re-occurrence of the issue, I am finally able to reproduce the issue. Apparently, the chest does spawn, but the y-coordinate for chest ended up wrong when we die under the water level.
Apparently, if you die below water level, your chest will be above the water, which is good. But...if you die underground below water level, your chest ends up at the highest point above where you die. In the end, my users and I lost items, because we were looking for our chests at the wrong level.
So far, I don't know what happen to the chest if you die in the nether, because I didn't get the chance to observe it. But the chest isn't there where you die.
In reply to ice_drake1:
Hi,
Thanks you for your feedback ! I understand your issue and I know what I have to do to patch it. I will release a update in a few day, maybe little more. Sorry for the inconvenience !
In reply to crylonz:
Cool, thanks. I found another problem. I started using world border. And if I ended up dying outside the world border, there is null pointer exception.
In reply to ice_drake1:
Noted
Hey so I am having troubles with the holographic text
So what I tried first was to break the chests but that didnt do anything, then we tried to delete the plugin but that didnt do anything either
and then I stumbled upon dc_repair and dc_reload so I reinstalled the plugin and tried that but that doesnt do anything, I also tried killing entities and armor stands but that didnt do anything either.
What can we do now? there are 10 of these floating in our town and we cant get rid of them
In reply to pinkopsycho:
Hi,
Sorry that you have trouble with the plugin. If /dc repair don't work that seem that you have a version under 2.0. if it's the case use the last version of the plugin (2.1).
Then try to used this command : /kill @e[type=minecraft:armor_stand]
If that not works. It's probably because you have Essential installed on your server (I don't know why but that's a fact ^^) So if you are in this case just removed the jar of Essential, do the command again et replace the essential jar, that should be fix your issue.
Hope I help you
Hello,
I installed the plugin but I should never have:
_It does not work (no chest created) - no errors in the console, no errors when you die.
_Since I installed it, when you die, you keep all your XP and stuff in your inventory, as if you weren't dead what. Even if the plugin is removed, the problem persists.
plugin installed :
automatic inventory
backpack remastered
cristreedecapitator
dynmap
dynmapstructures
loginsecurity
singlepersonsleep
uncraftingtable
wands
zenchantments
Server 1.14.4 Paper (same with craftbukkit or spigot)
Thnak you in advance
XY
In reply to ixeygrek:
Hello,
Which version of the plugin do you used ?if you don't have 2.1 please update to this version Your issue is very strange. First thing, if you remove the plugin, it can't interact with your server so, it's necessary an other plugin that make death not work (maybe a configuration of the plugin change when using deadchest first time ?). Can you please test using deadchest on your server without other plugin ? If it's doesn't work there is an issue with the plugin, if it's work it's an other plugin problem. I can't help you more whithout error. You are currently the only one that report this kind of issue. Sorry that you have some trouble with the plugin.I'm waiting for your reply
In reply to crylonz:
Hello,
I put version 2.1 (I stayed on version 2.0, you update often, it's cool, I also had the duplication bug before)
I have disabled all plugins except DeadChest
I reactivated the plugins one by one by restarting the server each time and testing DeadChest....
EVERYTHING WORKS CORRECTLY
No idea where the problem was coming from, so :/
Have a good day
In reply to ixeygrek:
Yes I'm very active to patch bugs when someone make a report, so there is a lot of update. Version2.1 seems to be very stable, no bug report on 2 weeks. Thanks to taked time to test the plugin, and happy to know that all work fine now. Have a good day too !
In reply to crylonz:
However, I still don't lose XP when I die :/
In reply to ixeygrek:
I don't touch to the experience system on my plugin. So it can't override the default Minecraft system and can't keep your XP on death. I juste made some tests on my dev server. All work fine, I loose my XP on death. Try to test it like you do before without other plugin.
I love this plugin, i was just wondering is there a way to make it so after the timer for the chest runs out the items drop on the ground (for example if someone has a hopper trap built and someone falls on it and the chest appears, and he doesn't come back in time, the chest dissapears and all the items in it fall to the ground and go into the hopper as they would normally). Plus the option for op's to be able to open the chest to look into it without it being destroyed, that could also be a nice little feature, other than that, no complaints. :)
In reply to CrazyClash:
Thanks for your feedback ! Yes, it's a nice idea, I put your ideas on the to-do list of the plugin. Just be patient for the update ! :)