nexus2thunderstore-LockableDoors icon

LockableDoors

Lets you create lockable doors with their own keys.

Last updated 2 years ago
Total downloads 2459
Total rating 0 
Categories Mods
Dependency string nexus2thunderstore-LockableDoors-0.4.0
Dependants 26 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1600 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1600

README

THIS MOD WAS NOT CREATED BY ME & IS FROM NEXUS MODS ORIGINALLY

NEXUS LINK: https://www.nexusmods.com/valheim/mods/1346

NAME: Lockable Doors

CREATED BY: aedenthorn

WEBSITE: https://github.com/aedenthorn/ValheimMods

DISCORD: https://discord.gg/bs6zHuj

LAST UPDATED: 28 October 2021

DESCRIPTION: Lets you create lockable doors with their own keys.

INFO:

Description

This mod gives you the option when building any kind of door to make it lockable.

To create a lockable door, simply hold down the modifier key (default left ctrl) when placing a door.

Lockable doors give a custom key when placed.

You can lock and unlock the door while having the key in inventory by holding down the modifier key (default left ctrl) while interacting with the door.

By default you will be prompted to enter a name for the door / key pair which will let you easily tell which key is for which door.

You can rename a door / key pair by holding down the rename modifier key (default left alt) while interacting with the door.

Locked doors can only be opened while holding a corresponding key in your inventory.

Notes

If a player doesn't have this mod installed, they will ignore the lock entirely and open the door normally, so the only way this works on public servers is if mod lists are enforced. I think there are mods that do that.

Config

A config file BepInEx/config/aedenthorn.LockableDoors.cfg is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.

To reload the config from the config file, type lockabledoors reset into the game's console (F5).

Technical

To install this mod, place the zip file contents in the BepInEx/plugins folder. You will need BepInEx.

Code is at https://github.com/aedenthorn/ValheimMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

Click here for a list of all my mods for Valheim.