Tomb Many Graves Mod for Minecraft 1.10.2/1.9.4

Tomb Many Graves Mod provides you with one block: a grave. Remember that you can’t craft and harvest it, but it is really important. Upon a player’s death (assuming you haven’t disabled graves in the configs; however, if you do that, why did you install the mod?), a grave block will be spawned that contains all of the dying player’s inventory (including Baubles) and a chat message tells you the exact location of the spawned grave.

Graves will adapt to the block beneath them (to some extent). If you don’t die on a “suitable” ground substance, the grave will appear with the dirt texture or a floating head in the case that you weren’t even on the ground when you died

Screenshots and Contents:

By default, only the player who died can get the items from their grave by sneaking over it while it is unlocked. All other players will simply pass through the block and wait unlocked graves. Besides, only the player who owns the grave can toggle whether a grave is locked or unlocked by shift-clicking it. In the image below, unlocked graves are on the left and locked graves are on the right. When a grave is locked, no player will be able to obtain the items in it. This is useful if you need to make the area “safety” while sneaking. Therefore, you don’t accidentally pick up your items if you aren’t ready for them.

The graves are smart because they have a head and will remember which inventory slots and which items are needed when you died. When you retrieve your items, the grave will attempt to place them back in their original slots. Baubles are included if you have it installed. Any item in the grave whose original slot is not empty will instead be placed at the player’s feet, similarly to if you had broken another mod’s grave.

Graves are indestructible, so the only way to remove it is to have the original player retrieve their items or have a creative member break the graves. (If it is broken, the graves will drop all of their items on the ground).

Friends:

Each player now has a friend list!

/tmg_friend [player]

will add a friend to your list (if that player is currently online, you can use TAB to auto-complete their name)

/tmg_removefriend [player]

will remove a friend from your list (again, use TAB to auto-complete any names already in the list)

/tmg_list

will display all your current friends in chat.

Players in your friend list will be able to interact with your graves in the exact same way you can (lock/unlock/retrieve).

Restoring Inventory:

Unless you have turned off this feature in the configs, every time a player dies a file will be generated that stores the contents of their inventory/baubles. As long as you have permissions (OP/cheats are on), you can use the following commands:

/tmg_restore [player]

/tmg_drop [player]

The first command will restore the inventory similar to walking over a grave while the second will drop the items at the location of the player instead. You can use TAB to auto-complete any player’s name who is currently online and to auto-complete any time stamp for which there is a file created. (The format for the time stamp is yyyy-MM-dd_HH-mm-ss.) Note that the file will not be created if the game rule “keepInventory” is marked to true, nor will it be created if the death event is cancelled “too soon” (for example, if a player is wearing the Golden Laurel Crown from Botania upon death, the crown will be destroyed as normal, the player will live, and no file will be created).

Death Inventory Lists:

Assuming you haven’t disabled the death inventory files mentioned in the previous section, upon re-spawning after death you will receive a list of all items you had on your body when you died. Right-clicking with it in your main hand will open the GUI; throwing the list on the ground (via “Q” or drag/dropping it while your inventory GUI is open) will destroy it (that way you don’t have to keep it around).

If, by some chance, you accidentally destroyed your list, you can get a new one by using the command