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 with craftable keys. Create a lockable door on placement, get matching keys, and lock/unlock or rename it in game. Based on aedenthorn's LockableDoors.
| Date uploaded | 2 days ago |
| Version | 0.6.1 |
| Download link | ValheimMods-LockableDoors-0.6.1.zip |
| Downloads | 17 |
| Dependency string | ValheimMods-LockableDoors-0.6.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
LockableDoors
Lock doors so only players holding a matching key can open them.
Usage
- Create a lockable door: hold the lock modifier key (default
left ctrl) while placing a door. A matching door key (or several, configurable) drops at your feet. - Lock / unlock: hold the lock modifier key (default
left ctrl) and interact with the door while carrying its key. - Rename: hold the rename modifier key (default
left alt) and interact with the door while carrying its key. The door and key names update everywhere (hover text, tooltips, pickup messages). - Players without the key cannot open a locked door. Optionally (config) a key can also be required to close it.
Configuration
All options are editable via the BepInEx config file (aedenthorn.LockableDoors.cfg) or an in-game configuration manager: modifier keys, number of duplicate keys, display strings, and more.
Type lockabledoors reset in the console (requires -console) to reload the config from disk.
Credits
Original mod by aedenthorn; maintained fork by Blake Pierantoni. License preserved from the original project.
Source
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.