
Creating death chests

The PlayerGrave plugin adds the functionality of creating death chests in Minecraft, which store players' inventory upon death. This helps players recover their items easily without losing them.
When a player with the appropriate permission (playergrave.use) dies, a chest is created at the death location containing their inventory. If the location is occupied, the chest spawns above the block.
Players can interact with the death chest through a custom menu (DeathMenu) that allows them to retrieve their items.
Death chests have a limited lifespan (default: 600 seconds). If not emptied in time, they are automatically removed, and any remaining items drop on the ground.
Death chests are protected from explosions (e.g., creeper blasts).
If a player breaks the chest, all remaining items are dropped naturally.
Two invisible armor stands are created above the chest:
Upon respawn, players receive a compass pointing to their death location (the chest).
playergrave.use to use the plugin.