The 1.11.2+ version of this mod has its own project page: https://minecraft.curseforge.com/projects/tomb-many-graves-2
Thanks for your continuous support! :-)
Please let me know if you have any suggestions/comments/complaints; I want to make this a mod that can be adapted to every style of gameplay!
For those who don't like to read:
Check out the amazing spotlight done by Rorax!
Tomb Many Graves adds just one block: a grave. You can't craft it, you can't harvest it, but it's important. Upon a player's death (assuming you haven't disabled graves in the configs, but 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 telling you the exact location of the spawned grave will be given to you.
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 as just a floating head in the case that you weren't even on the ground when you died...you acrobat you...).
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. Wait...unlocked graves? What are those? By default, 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, locked 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 "safe" while sneaking so you don't accidentally pick up your items if you aren't ready for them.)
The graves are smart (they have a head after all...) and will remember which inventory slot had which item when you died. When you retrieve your items, the grave will attempt to place them back in their original slots (Baubles 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 one is to have the original player retrieve their items, or have a creative member break the graves. (If broken in creative, 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] <timestamp>
/tmg_drop [player] <timestamp>
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).
NOTE: As of the 1.0.2 update, you can also use "latest" as a time stamp to retrieve your most recent death file.
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
/tmg_getdeathlist [player] <timestamp>
(Remember you can use "latest" as a time stamp, assuming you've died after updating to 1.0.2.)
Extra Stuff
You may use this mod alone or in a pack in accordance to its license. Feel free to let me know you're including it in a pack; it's fun for me to see how it's being used!
If you want to get a hold of me quickly, you can find me on Discord: https://discord.gg/HXtZRHn.
Please report any/all bugs on the issues page of github (if the issue is for the 1.9 version, please state so in the issue report). If you have suggestions for features/additions/changes, please let me know! I will listen to the suggestions and maybe implement a few! :-)
Please note: As of the release of Minecraft Forge for 1.9.4, I will not be developing TMG for 1.9 (I will still fix bugs if they are reported, but I will not be adding any new content unless I feel incredibly inspired), and all the new development will be for 1.9.4.
We're starting to generate a lot of graves that are sort of abandoned. Do I have any way to clear out the abandoned graves as the admin?
I am hosting an MC Eternal Server. I was killed by a dragon a few times and I don't know why I couldn't see my grave. It took me several times and I found all of my graves but not the first one with all my stuff in it!
I still have the Deathnote with the coordinates!
I tried everything, building up into the sky - nothing
digging down to bedrock - nothing
terraforming everything around the coordinates and found absolutely nothing!
Please help because many days of engineering are in this grave!
Thx in advance!
...and when I put in the cmd line:
/tmg_restore [muswetyl] <2020-12-29_18:15:50>
then I got....
Either the owning or the receiving player is offline.
....but I´m ingame where my grave should be!
In reply to Muswetyl:
I ran into this same issue and figured it out!
In your server folder, there is a TombManyGraves folder, then savedInventories.
Inside this are all the stored json files for the graves.
Look through these and find the one with all your things.
Rename that file muswetyl#latest and replace the other latest grave.
In game, use the command /tmg_restore muswetyl latest
And voila!
Edit: I found my grave! It was not even close to where it should have been. It was up against an obsidian column in the air!
In reply to Muswetyl:
This... happened to me as well. An Ice Dragon killed me, and my grave wasn't where it killed me.
In reply to Muswetyl:
Hey, a friend of mine had this exact same issue, the post here is outdated. I took a look at the death logs in game for the mod and the correct form for the timestamp is:
mm_dd_yyyy_hh_mm_ss
alternatively you can also type /tmg_restore playername
and then click tab, this will bring up all death time stamps for a player
Thanks so much for helping me get my items restored. I am playing MC Eternal. I was killed by a dragon and I don't know why I couldn't see my grave. It took me several times, but I finally retrieved my inventory using the command from this page.
Is there any way you can add a feature that has been in other Grave mods in the past?
Basically, the features are as follows.
Number/percent of Items to Drop to grave on Death : The number of items from the players inventory that are dropped. This way you can set a value between, Drop everything (default) and drop nothing (keep inventory). If you say put 50, half your items would go into the grave the other 50% would stay on the player when they respawn. Some grave mods even split this into three sections, Inventory, Hotbar, and Armor/Shield Equipped.
Blacklists for Items Dropped : allow preventing of specific items from being dropped on death.
Amount of XP to drop, lose or save : Same with items, let you choose what percentage of XP stays with the player, and what is put inside the grave.
Yeah i would like to know because i died and the grave says it belongs to M4thG33k and i can pick my stuff up.
I'm hosting an MC Eternal PvP Server with friends and I want to make it so players can pick up other people's graves. is there a way I could do this?
I'm playing Mc Eternal and while fighting the Ferrous Wroughtnaut me and my friend continuously died in the same 10x10 area. After a few deaths our frames dropped to 1 fps and caused the rest of the server to lag. Anyone have this problem?
As soon as we picked the graves up the lag would go away. Or if the grave was still there and that player logged off then the lag would also go away.
So I died in the Deep Dark. I exploded and my grave said no suitable ground was found. And my grave list says my grave is at xyz(0,0,0)
lets say a bug happens and i glitch throught the floor and die, were does my loot go?, (i can't find it )
Your mod seems to have a memory issue, it can cause an exponentially increasing player data file size which causes the player to have an error similar to something like "book banned" after a few hundred deaths. might want to fix.
bit of a problem I was playing a modpack that had this mod and got hit in the back in a forest died, and when I came back I couldn't find the grave. I'm convinced it either spawned on top of a really tall tree or didn't spawn at all. The modpack tells me where I died so I know I was at the right spot. I was wondering if there was anyway I could get the items back.
edit there was an item I had on me that I needed to play the modpack but I can't make paper because it doesn't allow the sugarcane paper recipe so gonna make a new save which will delete that one that had a lot of progress but I still want to know a way to get it back if this happens again
I was climbing down a ladder in the Craft of the Titans mod then died. I cannot find my grave. Does it disappear if you die on a ladder, does it move to a different block next to the ladder?
Edit: Nevermind found it.
So I was playing through my first run of the modpack, Sprout. I jumped off a cliff and died. I traveled back to my tomb and it would NOT retrieve my items. I even destroyed the blocks underneath. Yet, I could not open up my tomb. I walked on it and everything.
I think that I've found a bug. I died falling into a deep area, then flew back down and picked up my grave in creative mode. I had a full inventory when I died and had taken a sword with me, but when I restored my inventory it deleted my backup sword instead of just having it fall on the ground.
If one were to die in lava does the grave still appear?
In reply to Neko_Wolf_mix:
Hello,
Will this mod be getting an update to 1.12.2 anytime soon? I'm creating a 1.12.2 mod pack and I'd love to include it. If it is being updated do you have any idea how long it would take? I was hoping to get the pack completed by the end of October.
Thanks,
Dan