Source-checkedQuality of life & UI

AutoCloseDoors

by DragonMotion · for Valheim

Owner-safe automatic closing for Valheim doors and gates, with network deadlines, configurable radius/delay, dungeon behavior, and player-door sensor blocking.

2.5KDownloads
3 mo agoLast updated
BepInExLoaders
ThunderstoreSource

About AutoCloseDoors

From Thunderstore

Owner-safe automatic closing for Valheim doors and gates, with network deadlines, configurable radius/delay, dungeon behavior, and player-door sensor blocking.

AutoCloseDoors

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 for doors located inside dungeons/interiors and is disabled there by default.

Behavior

  • Stores each open door's close deadline in its networked ZDO and tracks only doors that are currently open.
  • Uses one central coroutine that sleeps until the next tracked door is due; there is no per-frame Update/tick patch.
  • Checks all players with Valheim's own Player.IsPlayerInRange.
  • Lets only the current ZDO owner evaluate and close a due door. The close-only RPC is idempotent and writes only the closed state, so a delayed request cannot toggle a newly reopened door.
  • Re-checks the replicated deadline, player radius, dungeon location, door state, and vanilla interaction state immediately before closing.
  • Respects Valheim's inverted door-state flag used by one-way showcases, secret bookcases, and other custom doors where network state 0 means visually open.
  • Keeps the original ZDO owner instead of claiming ownership, and uses the door's normal state refresh for animation and close effects.
  • Treats every door leaf independently, so nearby unrelated doors cannot inherit another door's deadline or player-radius result. Double doors naturally work as two networked leaves.
  • Skips doors located in dungeons/interiors by default, with a config toggle to enable them.
  • Skips keyed doors and doors that vanilla marks as unable to close.
  • Can block compatible monster-door sensor mods from opening player-built doors for monsters while leaving world-generated doors unchanged.

Config

Generated by BepInEx at:

BepInEx/config/obelisk.valheim.autoclosedoors.cfg

Options:

  • Enabled: enable/disable the mod.
  • Enable in dungeons: enable/disable automatic closing for doors located 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-built doors for monsters. Enabled by default.

Multiplayer

The close deadline and door state are stored in the door's ZDO. Every modded peer observes the replicated deadline, while only the current ZDO owner may reschedule or close the door. This keeps ownership changes safe and prevents multiple clients from toggling the same door. Install the same mod version and use the same scheduling config on the server and every client: the current ZDO owner evaluates the delay, radius, and door-state rules.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 3 mo ago.

AutoCloseDoors on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.1.9, released 2026-07-21

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 8 recorded builds of AutoCloseDoors.

Recent builds

BuildReleasedGame versionsLoaders
0.1.92026-07-21n/aBepInEx
0.1.82026-07-11n/aBepInEx
0.1.72026-07-07n/aBepInEx
0.1.42026-07-02n/aBepInEx
0.1.32026-06-29n/aBepInEx
0.1.22026-06-29n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run AutoCloseDoors on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Tweaks”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Compatibility

Game
Valheim
Loaders
BepInEx
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorDragonMotion, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

AutoCloseDoors, answered

Generated from the mod’s own source data.

Which loaders does it support?

BepInEx.

Is it free?

Yes. AutoCloseDoors is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run AutoCloseDoors on a Valheim server.

Deploy in about a minute from $9.99 a month, then add AutoCloseDoors in one click.