


The Valheim mod TombstoneLock automatically locks Valheim tombstones so only their owner can loot them. In some cases maybe you would like a friend to loot your tombstone for you, in this case, he can request access to your tomb and you can decide to accept or not. The tombstone remains locked for 10 In-game days so that you have enough time to retrieve your items.
/accept chat command.Note: enforcement is client-side. All connected players should run the mod (see AzuAntiCheat below) for it to be effective.
When another player attempts to access your tombstone, a message appears in your chat telling you who is asking. To grant access, type in the chat:
/accept
You have 20 seconds to respond. After that the request expires, both of you are notified in the chat, and the player must ask again. Accepting unlocks that tombstone permanently for everyone.
Interact with a locked tombstone as usual.
/accept, the tombstone is unlocked and can be looted by anyone.Install BepInEx, then copy TombstoneLock.dll into:
BepInEx/plugins/
This mod is client-side only — there is no point installing it on the (dedicated) server; it does nothing there. Install it only on the players' game clients.
The lock state is stored in the tombstone's network object and the unlock requests travel as routed RPCs — both are relayed by a vanilla server without it needing the mod, which is why the server side requires no installation.
Important: every player must install the mod. Because enforcement is client-side, a player without the mod can open any tombstone normally.
To make sure everyone runs it, use a server-side mod enforcer such as AzuAntiCheat (that one does need to be on the server).
You can download the source code from github:
https://github.com/end3rbyte/TombstoneLock
BepInExPath=C:\Program Files (x86)\Steam\steamapps\common\ValheimM\BepInEx
CorlibPath=C:\Program Files (x86)\Steam\steamapps\common\ValheimM\valheim_Data\Managed
ValheimGamePath=C:\Program Files (x86)\Steam\steamapps\common\ValheimM