Is there a Valheim mod to keep your items when you die?

Short answer

Yes. Install ZenPlayer and set Drop On Death to None, and you respawn with everything still in your inventory. TombstoneLock and AzuSkillTweaks often get suggested for the same problem, but one controls who can open your grave and the other changes how much skill you lose. With either of them your items still end up in the tombstone.

Search this question →

Mods that do this

ZenPlayer

ZenDragon

Hide helmet visual, equip gear after swim, equip while running, control riding stamina usage, death & skill loss, durability, food, health, inventory, sleep, stamina, knowledge, autopickup, per-player difficulty

⬇ 106K Downloads

TombstoneLock

Smoothbrain
Last seen on Ashlands

Lets you configure who can access your tombstone. Can also remove tombstones after a time.

⬇ 114K Downloads

AzuSkillTweaks

Azumatt
Bog Witch

Mod that allows tweaking of skill gain factors and percent of skill loss on death. Ripped out from OdinsQOL.

⬇ 120K Downloads

The details

ZenPlayer's Drop On Death has three values. All is vanilla and is the default, NoTeleport drops only the items that can't go through a portal, and None keeps everything. Two lists sit above it, Drop On Death - Always and Drop On Death - Never, and they take item prefab names. The Wishbone is on the Never list out of the box. NoTeleport is a good middle ground if you still want death to cost something: your ore and metal go into the grave, so dying on a mining trip still means a walk back.

One default changes things as soon as you install it. Keep Equipment Min is set to 1, so ZenPlayer saves one random equipped item on death even while Drop On Death is still on All. Ammo never counts as that item. Set it to 0 if you want everything else to stay vanilla. Keep Eaten Food is a separate switch, off by default, for keeping your food buffs through death.

TombstoneLock is for a multiplayer annoyance: other people emptying your grave. Each player picks whether their tombstone opens for everyone, only for them, or for their group, and the group option needs Smoothbrain's Groups mod. It can also remove tombstones after a set time. Your items still drop and you still have to go and get them. It was last updated in 2023.

AzuSkillTweaks handles skill drain. Death Penalty Factor Multiplier is a percentage, so -50 halves the skill you lose and 50 makes it half again as harsh, and there's a gain factor for every skill as well. Once it's on a server, players without it get kicked. ZenPlayer can do this part too with its Skill Reduction Rate, which multiplies vanilla's death factor of 0.05, so you may not need both.

Without mods, look at the Death Penalty world modifier. The official dedicated-server guide lists casual, veryeasy, easy, hard and hardcore as values, but it doesn't spell out which of them keeps your full inventory. Read each level's description on the world modifier screen before you pick one.

On a server, the ZenPlayer settings marked [Admin] belong to the host. The mod runs on the client and can join vanilla servers, but once it's installed on the server, or you host the game yourself, everyone who joins needs it too. Let one mod own the death rules and leave out others that patch the same thing.

New to mods? Read the install & configuration guide. Read the full install & configuration guide →

Related questions

Can vanilla Valheim keep your inventory on death?
The Death Penalty world modifier softens death, and the world modifier screen describes what each level does. If you want the items to stay on your character for certain, ZenPlayer with Drop On Death set to None does that.
Does every player need ZenPlayer?
Only when it's on the server. You can run it alone on a vanilla server, but a server or a player-hosted game with ZenPlayer installed requires everyone joining to have it.
Can I keep my gear but still lose ore when I die?
Yes. Set Drop On Death to NoTeleport. Anything that can't go through a portal drops into the tombstone and the rest stays with you.

More questions like this