About this mod
This mod adds the ability to open and close doors automatically.
- Requirements
- Permissions and credits
- Mirrors
- Changelogs
Demonstration

Installation
MOD Specs.
Configuration
Please edit ".\BepInEx\config\muro1214.valheim_mods.automatic_door.cfg"
Subdivision of the Config section was implemented in v0.2.0. Sorry, but please reconfigure it.
Hot key format is as follows.
https://docs.unity3d.com/Manual/ConventionalGameInput.html
Changelog
Planned for implementation

Installation
- Install BepInEx
- Unzip "AutomaticDoorMod_x.x.x.zip" (x.x.x is version)
- Copy "AutomaticDoorMod.dll" to "<Valheim Root Dir>\BepInEx\plugins"
MOD Specs.
- Automatically opens the door when a player approaches.
- After the door is automatically opened, it will automatically close when the player leaves or after a certain period of time.
- In Crypt, the auto-close feature is disabled.
- Use hotkeys to enable and disable the mod.
Configuration
Please edit ".\BepInEx\config\muro1214.valheim_mods.automatic_door.cfg"
Subdivision of the Config section was implemented in v0.2.0. Sorry, but please reconfigure it.
Hot key format is as follows.
https://docs.unity3d.com/Manual/ConventionalGameInput.html
## Settings file was created by plugin Automatic Door Mod v0.2.0
## Plugin GUID: muro1214.valheim_mods.automatic_door
[DoorClose]
## Specify the time in seconds to wait for the door to close automatically.
# Setting type: Single
# Default value: 5
waitForDoorToCloseSeconds = 5
## Obsolete
# Setting type: Single
# Default value: 0
automaticDoorCloseRange = 0
## DOOR DO NOT CLOSE automatically when a player is in range.
## If set to 0, the door will automatically close regardless of distance.
# Setting type: Single
# Default value: 3
automaticDoorCloseRange_Door = 3
## GATE DO NOT CLOSE automatically when a player is in range.
## If set to 0, the door will automatically close regardless of distance.
# Setting type: Single
# Default value: 4
automaticDoorCloseRange_Gate = 4
## IRON GATE DO NOT CLOSE automatically when a player is in range.
## If set to 0, the door will automatically close regardless of distance.
# Setting type: Single
# Default value: 4
automaticDoorCloseRange_IronGate = 4
[DoorOpen]
## Obsolete
# Setting type: Single
# Default value: 0
automaticDoorOpenRange = 0
## When a player is within range, the DOOR will open automatically.
## If set to 0, this feature is disabled.
# Setting type: Single
# Default value: 3
automaticDoorOpenRange_Door = 3
## When a player is within range, the GATE will open automatically.
## If set to 0, this feature is disabled.
# Setting type: Single
# Default value: 4
automaticDoorOpenRange_Gate = 4
## When a player is within range, the IRON GATE will open automatically.
## If set to 0, this feature is disabled.
# Setting type: Single
# Default value: 4
automaticDoorOpenRange_IronGate = 4
## When a player is within range, the CRYPT'S DOOR will open automatically.
# Setting type: Single
# Default value: 4
automaticDoorOpenRange_Dungeon = 4
## If set to true, disables the setting that automatically opens the door when you are inside Crypt.
# Setting type: Boolean
# Default value: true
disableAutomaticDoorOpenInCrypt = true
[General]
## If you set this to false, this mod will be disabled.
# Setting type: Boolean
# Default value: true
IsEnabled = true
[HotKey]
## Specifies the MOD Key of toggleSwitchKey. If left blank, it is not used.
## If both toggleSwitchModKey and toggleSwitchKey are left blank, the hotkey function will be disabled.
# Setting type: String
# Default value: left alt
toggleSwitchModKey = left alt
## Toggles between enabled and disabled mods when this key is pressed.
## If both toggleSwitchModKey and toggleSwitchKey are left blank, the hotkey function will be disabled.
# Setting type: String
# Default value: f10
toggleSwitchKey = f10
Changelog
- v0.0.1: Initial Release
- v0.0.2: Disable mod when player is in SunkenCrypt
- v0.0.3: Disable mod when player is in Crypt -> support for both Forest Crypt and Sunken Crypt
- v0.0.4: Added hotkeys to enable and disable mod
- v0.0.5: 'Hotfix' Detecting Crypt is not working. Thanks, @turkoid
- v0.1.0: Open the door automatically. The door will not close when the player is in range.
- v0.2.0: Set the opening and closing distances for each type of door. Hotkeys can be disabled.
Planned for implementation
- Bug fixes...