Mods / The Gravestones Mod

Tags:
QoL Cheat Gameplay
Author:
Teirdalin
Side:
Both
Created:
Jul 15th at 4:06 AM
Last modified:
Jul 28th at 8:49 AM
Downloads:
3382
Latest release (for Vintage Story 1.22.5, potentially outdated):
gravestones-1.22.5-0.2.0.zip  1-click install

Description
Adds a gravestone which stores the players inventory upon death and can be retrieved by them later.

Automatically attempts to place the items into the same hotbar slots as they were when you died.

Installation instructions
Drop into your VintagestoryData\Mods folder.


Shout outs
Shoutouts to Palworld.
Also the guys who made the original gravestones mods for Minecraft which was the inspiration for this.

 

Compatible with Dimensional Mods:

The Nether - A Hellish Adventure

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
0.2.0 gravestones 1108 Jul 28th at 8:49 AM Empty gravestones-1.22.5-0.2.0.zip 1-click install
0.1.80 gravestones 688 Jul 20th at 10:23 PM gravestones-1.22.3-0.1.80.zip 1-click install

Kill-command friendly.

0.1.60 gravestones 507 Jul 19th at 7:12 AM gravestones-1.22.3-0.1.60.zip 1-click install

Traders should no longer steal graves. (Hopefully)

0.1.40 gravestones 486 Jul 17th at 3:51 AM gravestones-1.22.3-0.1.40.zip 1-click install

Fixes a rare bug that can happen if the death pipeline is changed.

0.1.37 gravestones 136 Jul 16th at 4:17 PM gravestones-1.22.3-0.1.37.zip 1-click install

Version correction.

0.1.35 gravestones 348 Jul 15th at 7:58 AM gravestones.zip 1-click install

## v0.1.35

- More aggressive grave spawning: gravestones can replace/destroy grass, leaves, and other foliage when spawning.
- Removed clothing/armor from gravestone capture so worn gear is not grabbed by the gravestone.

0.1.32 gravestones 9 Jul 16th at 4:16 PM gravestones-1.22.3-0.1.32.zip 1-click install

Possible linux support.

0.1.13 gravestones 3 Jul 28th at 8:46 AM gravestones-1.22.5-0.1.13.zip 1-click install

Added early multi dimensional support.

0.1.6 gravestones 6 Jul 19th at 7:12 AM gravestones-1.22.3-0.1.6.zip 1-click install

Traders no longer steal graves. (Hopefully)

0.1.4 gravestones 7 Jul 17th at 3:50 AM gravestones-1.22.3-0.1.4.zip 1-click install

Fixes a rare bug which can happen if the death pipeline is interrupted.

0.1.3 gravestones 14 Jul 15th at 7:47 AM gravestones.zip 1-click install

## v0.1.3

- More aggressive grave spawning: gravestones can replace/destroy grass, leaves, and other foliage when spawning.
- Removed clothing/armor from gravestone capture so worn gear is not grabbed by the gravestone.

0.1.2 gravestones 17 Jul 15th at 7:18 AM gravestones.zip 1-click install

0.1.2

0.1.0 gravestones 53 Jul 15th at 4:07 AM The Gravestone Mod-1.22.3-0.1.0.zip 1-click install

V0.1.0

Initial Release.


38 Comments (oldest first | newest first) (threaded | flat)

tincancrab, Jul 21st at 5:39 PM

I say continue this. "Why do y if x exists" why do anything? As long as you're learning how to code. Different mods should exist for variety/choice.

 

As for the mod icon, I can draw or paint you a gravestone in some grass for free to use as an icon. Just say the word. It wont be fancy, but for an hour or so for free its what I got. Just say the word.

HoratioM, Jul 21st at 1:10 AM

Does Vintage Story really need redudant variants of mods that already exist, especially when the new 'take' appears to be vibe coded?

Teirdalin , Jul 21st at 3:17 AM (modified Jul 21st at 3:35 AM)
@HoratioM: Does Vintage Story really need redudant variants of mods that already exist, especially when the new 'take' appears to be vibe coded?

Yes.
Technically I didn't even know there was a skeleton mod before making this also.

But when thinking about it, It is kind of unnecessary extra work for me to upkeep though,
so I could probably just archive this and focus more on TheHunter and my other larger projects.
I'll think about it, thanks for the idea Horatio; even if your comment was literally just meant as a provocation.

UmbralSun, Jul 21st at 11:59 AM
@Teirdalin: Yes.Technically I didn't even know there was a skeleton mod before making this also. But when thinking about it, It is kind of unnecessary extra work for me to upkeep though, so I could probably just archive this and focus more on TheHunter and my other l

I used skeleton mod before and switched to this because I like the idea (and the convenience of restoring the slots in the same positions) more. If you decide to archive it, please consider sharing the code with others who might want to fork and support it

Eques, Jul 21st at 3:52 PM
@Teirdalin: Yes.Technically I didn't even know there was a skeleton mod before making this also. But when thinking about it, It is kind of unnecessary extra work for me to upkeep though, so I could probably just archive this and focus more on TheHunter and my other l

From my own testing, your mod appears to be much less buggy when it comes to spawning graves and reclaiming items. PlayerCorpse and its forks have become rather messy and unreliable.

 

Just as UmbralSun said, it would be wise to share the code or transfer the mod to other people, 'cause it may one day become the go-to option in the "player inventory on death" category.

Regardless of what you decide to do, you've done a great job with this one.

raikified, Jul 20th at 7:30 PM

Recently restarted a new server and have been getting this exception whenever I die.

Crash Report
20.7.2026 19:23:44 [Server Error] [Gravestones] Missing block gravestones:gravestone; dropping captured inventory safely.
20.7.2026 19:23:44 [Server Error] Mod exception during event OnEntityDeath. Will skip to next event
20.7.2026 19:23:44 [Server Error] Exception: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
   at PlayerCorpse.Systems.DeathContentManager.OnPlayerDeath(IServerPlayer byPlayer)
   at PlayerCorpse.Systems.DeathContentManager.OnEntityDeath(Entity entity, DamageSource damageSource)
   at Vintagestory.Server.ServerEventAPI.Trigger[T](Delegate[] delegates, String eventName, Action`1 onDele, Action onException) in VintagestoryLib\Server\API\ServerEventAPI.cs:line 139
Teirdalin , Jul 20th at 10:23 PM
@raikified: Recently restarted a new server and have been getting this exception whenever I die. Crash Report 20.7.2026 19:23:44 [Server Error] [Gravestones] Missing block gravestones:gravestone; dropping captured inventory safely.20.7.2026 19:23:44 [Server Error] Mo

Thank you for the log, it's looking like your client doesn't have the mod installed but the server does.  That or something weird is going on.

Anyways, tweaked the logic a bit more, might work now.

UmbralSun, Jul 20th at 11:58 AM

Hi,

looks like this mod's logic is omitted when using /kill command. is it on purpose? if not, I would appreciate if it was also supported by mod

Teirdalin , Jul 20th at 10:15 PM
@UmbralSun: Hi, looks like this mod's logic is omitted when using /kill command. is it on purpose? if not, I would appreciate if it was also supported by mod

Good find, the whole idea of /kill was something I didn't even think about.  Will get that fixed in next update.

KiloBand, Jul 19th at 3:55 AM

I found an issue. I died while in a trader's hut and can no longer pick up my gravestone. It considers the gravestone an object owned by the trader.

 

Side note for those it may concern: I also can't pick up the reed chest I had on my back from the Carry On mod.

KiloBand, Jul 20th at 8:44 PM
@Teirdalin: Great find. I'll push a fix for this asap. Edit: Try v0.1.60 and let me know if that fixes it.

I was able to pick it up by entering creative mode. If I can get around to it I'll try to recreate the scenario.

DracaBro, Jul 16th at 7:28 PM

Hm... which is better, gravestones or corpses?

Teirdalin , Jul 16th at 8:25 PM
@DracaBro: Hm... which is better, gravestones or corpses?

What happens if you use both? 🤔

DracaBro, Jul 16th at 8:47 PM (modified Jul 16th at 8:48 PM)
@Teirdalin: What happens if you use both? 🤔

I do not want to find that one out, but I'm sure it would cause one of three things to happen: One - play crashes | Two - items dupe, because two "graves" spawn | Three - BOTH!

I've decided to try GraveStones though, because of the situation with corpses having some troubles, and the fact you have this set up to try and put EVERYTHING properly back into it's rightful places.

ManaWei, Jul 15th at 12:11 PM

isn'tthis just another version of Player Corpse ? sure it's less gritty but sort of the same idea ?

Teirdalin , Jul 15th at 2:28 PM
@ManaWei: isn'tthis just another version of Player Corpse ? sure it's less gritty but sort of the same idea ?

Haven't actually seen player corpse, but yeah probably does the same thing overall.

ManaWei, Jul 15th at 4:02 PM
@Teirdalin: Haven't actually seen player corpse, but yeah probably does the same thing overall.

Does the gravestones vanish when "picked up"? because it could be fun to make them permanent untill broken..

Teirdalin , Jul 15th at 9:41 PM
@ManaWei: Does the gravestones vanish when "picked up"? because it could be fun to make them permanent untill broken..

They vanish when the inventory is empty, but what you could in theory do is die with one item in your inventory and remove the marker manually.  I guess I can make them craftable with some stone and a hammer later as a decor block; although that might be better in a general decor mod instead of being a new recipe.

Mattbaka, Jul 15th at 9:39 AM

Does it stay spawned if i die again while trying to get to it ?

Teirdalin , Jul 15th at 2:29 PM (modified Jul 15th at 3:10 PM)
@Mattbaka: Does it stay spawned if i die again while trying to get to it ?

Yep, plus creates and removes its own waypoint too so you don't need to rely on the death marker. (Least in the latest versionj)

Teirdalin , Jul 15th at 7:59 AM

Thank god you caught that issue RedRockG. That'd have been horrible to keep in there longer than necessary.

Teirdalin , Jul 15th at 7:54 AM

Okay, I see the issue.  So the grave spawning logic was a little too fragile and it gave up.   Also the grave inventory grabbing was grabbing the entire inventory instead of just the toolbar.    Adjusting those for the next update and going to test it further before publishing again.

RedRockG, Jul 15th at 7:03 AM (modified Jul 15th at 7:05 AM)

It didn't work; I died, and my items just ended up scattered on the ground. My clothes also came loose and were all over the place.

RedRockG, Jul 16th at 4:52 AM
@Teirdalin: Fixed in 0.1.35, thank you!

Hi, well, it still isn't working for me. I tried it in a new world—I thought that might be the problem—but my items keep disappearing. I don't see a grave or anything. Do I need something or a specific setting? Just in case, I'm using Linux.

Teirdalin , Jul 16th at 4:16 PM (modified Jul 16th at 4:18 PM)
@RedRockG: Hi, well, it still isn't working for me. I tried it in a new world—I thought that might be the problem—but my items keep disappearing. I don't see a grave or anything. Do I need something or a specific setting? Just in case, I'm using Linux.

Genuinely forgot that people play games on linux systems; but you seem perfect to test for linux support. Install v0.1.37 when it comes up in a sec and let me know if it fixes it.

RedRockG, Jul 17th at 12:16 AM
@Teirdalin: Genuinely forgot that people play games on linux systems; but you seem perfect to test for linux support. Install v0.1.37 when it comes up in a sec and let me know if it fixes it.

Hahaha, you're not going to believe this, but I just died, and when I respawned, I could already see the grave. At the bottom, it tells me to right-click to retrieve my items. But the game still considers me permanently dead—I can't interact with any blocks, not even to open doors or pick up items. In fact, I tried using the /kill command, but it won't let me use it because I'm already dead. The text box says I died, but nothing happens, hahaha.

Teirdalin , Jul 17th at 3:42 AM (modified Jul 17th at 3:53 AM)
@RedRockG: Hahaha, you're not going to believe this, but I just died, and when I respawned, I could already see the grave. At the bottom, it tells me to right-click to retrieve my items. But the game still considers me permanently dead—I can't interact with any bloc

..What in the world. Alright, just got off work; will work on this asap.  Edit: Try updating to the latest version and restarting the game.

Teirdalin , Jul 15th at 6:07 AM

Same with multiplayer.

Teirdalin , Jul 15th at 4:32 AM

If anyone can test this with a totally full inventory of things; bags, etc.
I'd appreciate it.

KalmiaLatifolia, Jul 15th at 8:33 PM
@Teirdalin: If anyone can test this with a totally full inventory of things; bags, etc.I'd appreciate it.

Before any patches were made, works with Wildcraft bags and Butchering bag items seemlessly.