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.
LockableDoors
Lock doors, gates and hatches with craftable, shareable keys. Keeps raiders out of your base. Works in multiplayer and on dedicated servers.
| Date uploaded | 2 days ago |
| Version | 0.6.3 |
| Download link | ValheimMods-LockableDoors-0.6.3.zip |
| Downloads | 24 |
| Dependency string | ValheimMods-LockableDoors-0.6.3 |
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
LockableDoors
Lock doors, gates and hatches in Valheim with keys. Only players carrying the right key can open a locked door — keep raiders and nosy vikings out of your base.
How it works
- Create a lockable door: hold the lock modifier (default
Left Ctrl) while placing a door — its key(s) drop at your feet (DuplicateKeysOnCreatesets how many). - Lock / unlock: hold
Left Ctrland interact with the door while carrying its key. - Rename: hold the rename modifier (default
Left Alt) and interact while carrying its key — door and key names update everywhere. - Craft blank keys: forge, default cost 1 Bronze (recipe/station configurable).
- Copy a key: hold the copy modifier (default
B) and interact with a locked door while carrying its key — a blank key in your inventory becomes a bound copy to share with clanmates.
Works in multiplayer and on dedicated servers. Everything is configurable via the BepInEx
config (aedenthorn.LockableDoors.cfg) or an in-game configuration manager.
Installation
Install with r2modman (recommended) — BepInEx is pulled in automatically.
Manual: drop LockableDoors.dll into BepInEx/plugins/.
Credits
Original mod by aedenthorn (public domain), maintained and published by BlakePierantoni. Source: https://github.com/BlakePierantoni/Valheim-Mods
CHANGELOG
Changelog
0.6.3
Craftable and copyable keys — the listing finally does what the description promised.
- Blank door keys can now be crafted at the forge (default cost 1 Bronze; recipe, station, and station level are all configurable).
- Copy a key: hold the copy modifier (default
B) and interact with a locked door while carrying its key — a blank key in your inventory becomes a bound copy. - Blank keys show their own name and a tooltip explaining how to bind them.
- Keys no longer stack, preventing keys for different doors from merging.
0.6.2
Compatibility fix — LockableDoors works on the current version of Valheim again.
- Restored all door interactions: creating a lockable door, spawning its keys, and locking/unlocking had stopped working after recent Valheim updates.
- Updated the door-placement hook to Valheim's renamed
TryPlacePiecemethod. - Fixed the key tooltip patch for Valheim's new
GetTooltipmethod signature. - Made patch registration resilient so a single future game change can no longer disable the whole mod.
0.6.1
- Maintenance release: bug fixes, Harmony patch cleanup, and multiplayer lock-state sync handling.
- First release published under the ValheimMods namespace.