KGvalheim-KeyDoor icon

KeyDoor

Mod allows you to place any door (even mod one) with a key created for it

Last updated 2 months ago
Total downloads 1081
Total rating 2 
Categories Client-side
Dependency string KGvalheim-KeyDoor-1.0.0
Dependants 14 other mods depend on this mod

README

https://i.imgur.com/dBf99Od.png

Mod allows you to place any door (even mod one) with a key created for it. Only players with key will be able to open it. You can create key duplicates for your friends

How-to:

Building a Lockable Door

  • Equip your hammer, select your door, then hold the Left Alt key before building the door. Refer to the tooltip for reference.

  • After placement, a notification will show "Key Door Created" and the key to that door will drop or will be auto picked up if auto pick up is on.

Key and Door Identification

  • Both the key and the door will have the same ID which serves as your reference.

  • Keeping the right key in inventory will open the door with a matching ID. Closing the door doesn't require the key in the inventory.

  • The door won't open if either you don't have the key with a matching ID or the key is not in your inventory.

Destroying a Locked Door

You may destroy a locked door if any of these factors are met:

  1. You built the door (whether you have the key or not in your inventory).
  2. You did not build the door but you have the key to it. In this case, a notification will say "Key Found - Removing"
  3. You are using Debug Mode (admin)
NOTE: In any case, the key to the destroyed door will not be deleted.

Key Duplicates

Anyone can create a copy of a normal key. Key duplicate requires 1 iron bar in inventory. See key description for reference.

Admin Door Key

Exclusively, an admin may create a key to any door by simply doing the following.

  1. Take the ID of the door you wish to open with an admin key. (Hover on the door to see the ID)
  2. Turn on debugmode.
  3. On your console, type this command with no quotes "SpawnAdminKey [Door ID]".

Ex.

"SpawnAdminKey 1234567"

A notification will show that an admin key is created and the key will be on the ground or in your inventory if auto pick up is on.

NOTE:

  • Admin keys cannot be duplicated.
  • Same mechanics apply in opening and closing the door.
  • Having an admin key in inventory does not allow anyone to destroy the door associated with its ID. However, 'debugmode' allows an admin or anyone allowed to use this command to break ANY locked doors.

Like my mods? Support me: Paypal: [email protected]

Patchnotes
Version Changes
1.0.0 Mod Added

For Questions or Comments, find KGhttps://i.imgur.com/CPYNjXV.pngin the Odin Plus Team Discord: https://i.imgur.com/XXP6HCU.png

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-9-13 1.0.0 1081 Version 1.0.0 Install