Dedicated multiplayer: loot and corpse despawn run on the corpse owner again (usually the killer's client), not only on the headless IsServer() process. Fixes empty corpses (nothing on the ground) and bodies that never despawned with 0.8.6.
Peers wait 5 seconds before claiming a corpse to despawn it, so machines do not steal ownership from each other.
If a corpse is removed and loot never spawned, spawn it then. Items already on the ground are unchanged.
v0.8.6
Fix DestroyDelay: cancel vanilla ragdoll DestroyNow timer, run corpse removal only on server/authority, and measure full stay time from death (respects pack DestroyDelay = 30)
v0.8.5
Optional DisableCorpseDespawnSound and DisableCorpseDespawnParticles (both default false; vanilla despawn VFX/SFX stay on unless you turn these on)
v0.8.4
Rechecked against Valheim 1.0.21 (Steam build 26249040); Ragdoll.SpawnLoot, DestroyNow, Player.AutoPickup, and EffectList.Create still match
Pickup range is applied on spawn and config change instead of every physics tick
Loot window disables itself when idle so IMGUI OnGUI is not running every frame
Cached SpawnLoot / ragdoll field lookups; skip config rewrite on plugin load
Dedicated / batch-mode servers skip the loot HUD component
v0.8.3
Verified against Valheim 1.0.21 (Release build, Steam build 26249040).
BepInEx dependency set to denikson-BepInExPack_Valheim-5.4.2360.
v0.8.2
Loot window borders are off by default; enable ShowBorders if you want them
Text outline plus configurable name/count/outline colors for readability
Amount column grows with font size and window width so triple-digit stacks are not clipped
Ragdoll cleanup retries ownership so leftover bodies are less likely to persist