This Plugin saves player inventories in chests-skinned player heads on death instead of dropping the items on the ground.
Note the license of this project.
The installation of uLib is required to use this plugin.
If the chest cannot be placed (for whatever reason), the plugin does not alter the vanilla behavior and the items are dropped instead.
You can set a grace-period in which only the original owner of the inventory can access/break it (chest-lock). This is set to 60 minutes by default. After this time, everyone can access the chest.
The chest cannot be destroyed by explosion or fluids nor moved by a piston.
When the chest is emptied it destroys itself.
Code (YAML):
# Locks a death chest to its original owner for a certain time. chest-lock: # Set to 0 to disable the chest lock. # Set to -1 or below to have the chest locked indefinitely. time: 60
# Available units: seconds, minutes, hours, days unit: minutes
# Players with this permission have access to locked chests. chest-lock-override-permission: deathcheat.accessothers
Of course, you can edit the messages:
Code (YAML):
chest-title: "%s's Inventory" chest-lock: "§cThis chest is magically locked. You cannot access it."
Don't post errors in the reviews. Create a GitLab Issue or use the discussion thread for that. I will not help with errors posted in the reviews.