Baka_Gaijin-FinalSunsetPermadeath icon

FinalSunsetPermadeath

Hardcore permadeath: inventory and hotbar destroyed on death, all skills reset to zero. Equipped armor kept. SecondChance-compatible.

Last updated 2 days ago
Total downloads 15
Total rating 1 
Categories Server-side Client-side AI Generated
Dependency string Baka_Gaijin-FinalSunsetPermadeath-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2200

README

Final Sunset Permadeath

Hardcore death penalties for the Final Sunset modpack. When you die for real, you lose everything except the armor on your back.

What happens on death

Slot Result
Equipped armor (helmet/chest/legs/cape/utility/trinket) KEPT (via ExtraSlots)
Held weapon / shield DESTROYED
Hotbar (slots 1-8) DESTROYED
Inventory (backpack grid) DESTROYED
Food / ammo / quick / misc slots DESTROYED
All skill levels RESET TO 0
Tombstone Spawns empty (death marker only)

Items are permanently destroyed — not dropped, not recoverable. Skills are fully zeroed, not just reduced.

Edge case safety (v1.1)

  • Boss fights / multi-death: Each client tracks tombstone instance IDs before and after death. Only the tombstone created by YOUR death is cleared — never another player's, never an old uncollected one.
  • Old tombstones nearby: Instance-ID tracking means proximity doesn't matter. Your old tombstone 1m away is safe.

SecondChance compatibility

This plugin is fully compatible with BalrondSecondChance's downed/revive system:

  • Downed (HP reaches 0): SecondChance activates. You can be revived by a friend (free) or self-revive with MeadHealthMinor. No permadeath penalties applied.
  • Dead (revive timer expires): Permadeath penalties fire. Inventory/hotbar destroyed, skills reset.

The plugin detects real death vs downed state by tracking whether CreateTombStone was called inside OnDeath. If SecondChance blocks death (downed state), no tombstone is created and the plugin skips.

ExtraSlots compatibility

Runs after ExtraSlots via [HarmonyAfter]. ExtraSlots saves equipment-slot items before the tombstone is created. This plugin then destroys whatever ended up in the tombstone (everything ExtraSlots didn't keep).

Installation

Install on all clients (required — death processing is client-authoritative). Server install is optional but recommended for mod parity.

Drop FinalSunsetPermadeath.dll into BepInEx/plugins/ or install via Thunderstore Mod Manager.

Verification

Check BepInEx console on startup for:

FinalSunsetPermadeath v1.1.0 loaded | skillData=ok level=ok acc=ok createTombStone=ok

On death, console will show:

[FinalSunsetPermadeath] Destroyed N item(s) from tombstone [id=XXXXX]
[FinalSunsetPermadeath] Reset N skill(s) to level 0