


Lightweight Valheim/BepInEx mod that closes opened doors and gates after a configurable delay, but only when no player is near the door. Autoclosing can be disabled inside dungeons/interiors and is disabled there by default.
Update/tick patch.Player.IsPlayerInRange.0, so an already closed door is never toggled open by accident.Generated by BepInEx at:
BepInEx/config/obelisk.valheim.autoclosedoors.cfg
Options:
Enabled: enable/disable the mod.Enable in dungeons: enable/disable automatic closing inside dungeons/interiors. Disabled by default.Player radius: radius around each door leaf that keeps it open.Close delay seconds: delay before closing, clamped by config range from 2 to 10.Block monster door sensors: prevents compatible door sensor mods from opening player doors for monsters. Enabled by default.The mod uses Valheim networked door state (ZDO) and door ownership, so the close is replicated through the normal multiplayer state sync. Install it on the server and clients in a modded multiplayer setup for consistent behavior.