
Tomb Many Graves - Smart Grave System
If you prefer visual demonstration, be sure to watch Rorax's review:
The Tomb Many Graves mod introduces a special block into the game - a gravestone. This block cannot be crafted or obtained normally, but its role is extremely important. When a player dies (if the feature is not disabled in settings), a gravestone appears at the death location containing all of the deceased's inventory, including items from the Baubles mod. The exact location of the created gravestone is immediately displayed in chat.
Gravestones automatically adapt to the type of surface the player is on. If the terrain is unsuitable for placement, the gravestone will use the dirt texture or simply float in the air (in case of death over void).
Locking and Recovery System
By default, only the gravestone owner can retrieve their items by crouching over an unlocked gravestone. Other players will simply pass through the block. The owner can toggle the lock state by pressing Shift + RMB. Locked gravestones (right in the image) prevent anyone from obtaining items, which is useful for preventing accidental item pickup.
Gravestones remember the placement of each item in the inventory at the time of death. When recovering items, the system will attempt to return them to their original slots (including Baubles slots). If a slot is occupied, the item will appear at the player's feet.
Gravestones cannot be destroyed normally. They can only be removed after the owner retrieves the items or in creative mode (in the latter case, all items will drop to the ground).
Friend System
Each player has their own friend list using the following commands:
/tmg_friend [player]
- add friend to list (TAB autocomplete for online players)
/tmg_removefriend [player]
- remove friend from list
/tmg_list
- show current friend list in chat
Friends from your list get full access to your gravestones: they can lock, unlock, and retrieve items.
Inventory Restoration
Each death creates a file with the player's inventory contents (if the feature is enabled). Administrators can use commands:
/tmg_restore [player] <timestamp>
- restore inventory as with normal pickup
/tmg_drop [player] <timestamp>
- drop items at player's feet
Timestamp format: yyyy-MM-dd_HH-mm-ss. Since version 1.0.2, you can use "latest" to restore the most recent death. The file is not created with the "keepInventory" rule enabled or when the death event is canceled.
Death Inventory Lists
After respawning, the player receives a list of all items they had at death. Right-clicking opens the interface, and throwing away the list destroys it. If the list is lost, you can get a new one with the command:
/tmg_getdeathlist [player] <timestamp>