Description
GlymeraDeadChest - Death Items Stored in a Grave
On death, all your items (backpack, hotbar, armor, equipped tool) are placed in a grave block at your death position. Pick them back up before the timer runs out.
What is GlymeraDeadChest?
When a player dies, their entire inventory would normally drop on the ground and despawn. GlymeraDeadChest replaces that with a grave block that holds the items safely until the owner returns. Designed to be griefer-proof: the grave does not drop as an item, cannot be destroyed by other players, and survives terrain edits underneath.
Includes its own asset pack with three custom grave block types. Standard chests and tombstones in the world are not affected by this plugin.
Features
Death Capture
- All items are captured on death: backpack, hotbar, armor, and the tool currently held
- A grave block spawns at the death position (or up to 5 blocks higher if the spot is blocked)
- If no free spot is found, items drop normally as a fallback
- Creative mode players are skipped (matches Hytale's default no-drop behaviour in creative)
Three Custom Grave Block Types
Pick one in the config:
GlymeraGrave_Tombstone(default) - looks like a stone tombstoneGlymeraGrave_Coffin- looks like a stone coffinGlymeraGrave_Chest- looks like a wooden chest
All three are plugin-only blocks with no crafting recipe, no item drop when broken, and no support requirement. They are visually identical to the original Hytale models, but functionally separate from the regular furniture blocks.
Anti-Griefing
- Grave blocks cannot be damaged or broken by other players when
ownerOnlyis true (default) - Grave blocks have no support requirement - removing the floor underneath does not destroy them
- Grave blocks have an empty drop list - they never produce an item, even if forced
- OPs can always interact (admin override)
Per-Player Limit
- Each player can have a configurable number of active graves (default: 3)
- When the limit is reached and a new grave would spawn, the oldest grave is automatically discarded along with its contents
Lifetime Timer
- Each grave has a configurable lifetime (default: 15 minutes, server wall-clock time)
- After expiry, the grave block and all its items are removed
- Server downtime counts toward the timer
- Expired graves are cleaned up immediately on server start
Custom UI for Inventory View
- Press the use key (F) on any grave to open a custom UI listing all stored items with quantities and remaining lifetime
- "Take All" button transfers everything back to the player's inventory in one click
- Items that don't fit stay in the grave - make room and open it again
Break-Mode for Tombstones
- Graves can also be broken to retrieve items - all stored items go directly into the inventory, anything that doesn't fit drops on the ground
- The grave block itself never drops as an item
Persistence
- Grave data is stored as JSON per grave UUID under
mods/Glymera_GlymeraDeadChest/data/ - Survives server restarts and chunk unloads
- Owner mapping, world, coordinates, items (with durability and metadata), and spawn timestamp are all preserved
Commands
For Everyone
| Command | Description |
|---|---|
/grave or /grave list |
Open a UI listing your active graves with world, coordinates, item count, and time remaining |
For OPs Only
| Command | Description |
|---|---|
/grave admin list |
Chat list of all graves on the server |
/grave admin remove <id-prefix> |
Remove a specific grave (matches by ID prefix) |
Configuration
config.json (mods/Glymera_GlymeraDeadChest/config.json)
Created on first start. The exact path is printed in the server log ([GlymeraDeadChest] config: ...). Coming from version 7.0.0 or older? Your settings and graves from plugins/GlymeraDeadChest/ are taken over automatically.
graveBlock : GlymeraGrave_Tombstone (or _Coffin / _Chest)
lifetimeMinutes : 15
maxActiveGraves : 3
ownerOnly : true
respectWorldDeathSettings : true
disabledWorlds : []
keepHotbar : false
keepArmor : false
keepWeapons : false
| Field | Description |
|---|---|
graveBlock |
Which custom grave block to spawn. Plugin-provided options: GlymeraGrave_Tombstone, GlymeraGrave_Coffin, GlymeraGrave_Chest |
lifetimeMinutes |
How long a grave exists before it (and the items inside) are deleted |
maxActiveGraves |
Maximum simultaneous graves per player. When exceeded, the oldest is discarded |
ownerOnly |
If true, only the owner (and OPs) can damage, break or open the grave. If false, anyone can |
respectWorldDeathSettings |
If true (default), no grave is created in worlds whose Hytale death settings keep the inventory (portal/breach instances, Forgotten Temple, Deepworks). Players keep their items there, just like without the mod. If false, a grave is always created (graves inside instances vanish when the instance closes) |
disabledWorlds |
World names where DeadChest is switched off and Hytale's normal death handling applies. An entry also matches every world whose name starts with it, e.g. "instance-" covers all instance worlds. Default: empty |
keepHotbar |
If true, everything in the hotbar stays with the player on death instead of going into the grave. Default: false |
keepArmor |
If true, all armor stays with the player on death: the pieces worn AND armor in the inventory or hotbar. Default: false |
keepWeapons |
If true, all weapons stay with the player on death, wherever they are (includes shields, bows, arrows, bombs and sickles). Default: false |
Grave Data (mods/Glymera_GlymeraDeadChest/data/<uuid>.json)
Automatically managed - one JSON file per grave with the owner UUID, position, item list (with durability and metadata), block type, and spawn time.
Installation
- Place
GlymeraDeadChest-10.0.0.jarin your server'smods/folder - Start (or restart) the server
- Done! Config is auto-generated on first run.
How It Works
Grave Spawn Flow
- Player dies (non-creative) in a world where DeadChest is active (not listed in
disabledWorlds, and the world's death settings don't keep the inventory) - Plugin runs before Hytale's default item-drop system
- Everything is taken out of the inventory (armor, hotbar, off-hand, storage, backpack) - except what
keepHotbar/keepArmor/keepWeaponssay to keep - If a free spot is found near the death position, the configured grave block is placed there
- Owner UUID, world, coordinates, all items, and spawn timestamp are persisted to disk
- Hytale's own item loss is switched off for this death, so kept items stay with the player; Hytale's normal durability loss on death still applies to them
Owner Protection
The plugin registers three ECS event systems:
DamageBlockEvent- cancels block damage from non-owners (prevents tool-mining the grave)BreakBlockEvent- cancels break attempts from non-ownersUseBlockEvent.Pre- cancels native interaction and routes owner clicks to the custom UI
OPs bypass all owner checks (admin override).
Drop Resistance
The custom grave block types are defined with no Support field and Material: Solid, which causes the physics system to treat them as floating decoration - they never drop due to lost ground support. As a defence in depth, the plugin also calls BlockPhysics.markDeco() on every grave block.
Good to Know
- The grave block contents are not stored in a native Hytale container - the plugin keeps its own JSON state. This means a grave can hold a player's full inventory regardless of how many backpack slots they have unlocked
- All three variants (Tombstone, Coffin, Chest) open with the use key (F) and can also be broken to retrieve the items
- In areas where another plugin forbids using blocks (for example claims of other players), that plugin's rules apply to graves as well
- All grave blocks are added by this plugin only and have no crafting recipe - players cannot obtain them through normal play
- Works together with GlymeraRevive (DeadChest 10.0.0 + Revive 14.0.0 or newer): when a downed player gives up or the timer runs out, the grave is placed exactly where they went down, and the whole inventory goes into it. Older versions of the two are not compatible — update both.
- Grave timer ticks every 30 seconds, so a grave may persist up to ~30 seconds beyond its configured lifetime in the worst case
Made with care by Glymera for the Hytale community

