Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DoorDirector
Automatically closes Valheim doors with synchronized per-prefab normal, inverted, ignored, and timeout rules.
| Date uploaded | 13 hours ago |
| Version | 0.1.1 |
| Download link | Diaspora-DoorDirector-0.1.1.zip |
| Downloads | 8 |
| Dependency string | Diaspora-DoorDirector-0.1.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
DoorDirector
DoorDirector automatically closes Valheim doors after a configurable delay. It works with ordinary doors and modded Door components such as gates and drawbridges.
Features
- Automatic closing using Valheim's native networked Door state.
- Normal, inverted, and ignored behavior for individual prefabs.
- Default and per-prefab closing delays.
- Server-synchronized gameplay settings with configuration locking.
- Automatic cancellation when a player operates the Door again.
- Exact prefab-name diagnostics for configuring modded doors.
- Dedicated-server and BepInEx ConfigurationManager support.
Installation
Install DoorDirector with Thunderstore Mod Manager or r2modman and enable it in the profile used to launch Valheim.
The mod must be installed on the server and every connecting client. Manual installations require BepInEx 5; place DoorDirector.dll in BepInEx/plugins/DoorDirector/.
Configuration
Configuration is stored in BepInEx/config/com.tomtom.doordirector.cfg. ConfigurationManager users can edit it from the F1 menu.
Gameplay settings come from the server. When Lock Configuration is enabled, non-admin clients cannot change synchronized settings. The debug logging option and prefab hotkey remain local to each client.
Prefab rules
Included Prefabs: comma-separated prefab names using normal behavior.Inverted Prefabs: comma-separated prefab names whose physical state is opposite Valheim's logical Door state.Ignored Prefabs: comma-separated prefab names DoorDirector never changes.Custom Delays: comma-separatedprefab_name=secondsoverrides.Only Affect Configured Prefabs: limits automatic closing to explicitly configured prefabs.
Example:
Included Prefabs = wood_door,iron_grate
Inverted Prefabs = my_drawbridge
Ignored Prefabs = boss_gate
Custom Delays = wood_door=3,my_drawbridge=12
Ignored takes precedence over inverted, and inverted takes precedence over normal. Prefab matching is case-insensitive.
Finding prefab names
Look at a Door, gate, or bridge and press F7. DoorDirector prints its exact prefab name on the HUD and in the BepInEx log.
You can also run this command in the Valheim console:
doordirector_prefab
Enable Debug Logging to log the prefab name whenever you interact with a Door.
License
DoorDirector is available under the MIT License.
CHANGELOG
Changelog
All notable changes to DoorDirector are documented here.
The format follows Keep a Changelog, and releases use Semantic Versioning.
Unreleased
0.2.0 - 2026-09-06
Added
- Added a configurable hotkey for toggling auto-close on individual player-built doors and gates.
- Added a server-synchronized delay for player-enabled doors.
- Added a second shortcut that opens Valheim's text input to set and persist a custom per-door delay.
- Persisted per-door overrides in Valheim's native networked object data.
0.1.2 - 2026-09-06
Fixed
- Aligned the Thunderstore package, DLL, and BepInEx plugin versions after the
0.1.1manifest-only release.
0.1.0 - 2026-09-06
Added
- Automatic closing for native Valheim
Doorcomponents. - Normal, inverted, and ignored per-prefab behavior rules.
- Default and per-prefab close delays.
- Server-synchronized gameplay configuration with server locking.
- Cancellation when a Door is operated again before its timer expires.
- Exact prefab diagnostics through logging, an
F7hotkey, and thedoordirector_prefabconsole command. - Dedicated-server support and a Thunderstore/r2modman package workflow.