
KeepInventoryOnDeath
Keeps inventory and equipped items when the player dies.Keep Inventory On Death
This BepInEx plugin keeps every item in the player's inventory when they die, including equipped items. It prevents the game from creating a tombstone and moving items into it. The normal death and respawn sequence still runs, including the world's skill loss rules.
Install
Install this package and its BepInEx dependency in a Valheim profile using Gale, r2modman, or Thunderstore Mod Manager, then choose Start modded. For manual installation, place KeepInventoryOnDeath.dll in BepInEx/plugins after installing the Valheim BepInEx pack.
For multiplayer, each player who wants to keep their inventory should install this plugin in their own Gale profile. It does not restore items lost before the plugin was installed.
Build from source
Run dotnet build .\ValheimMods\ValheimMods.sln from the repository root. The shared build target copies the plugin DLL to the selected Gale profile.