Lock Any Door

Мод Lock Any Door для DayZ (дейз). Установлен на 1 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.

Мод Lock Any Door для DayZ (дейз). Установлен на 1 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.

This works with DayZ 1.30
But 1.30 introduced a bug that affects door locking. It's NOT caused by this mod.

This does not work with Code Lock Mod anymore!
DayZ 1.30 introduced native Code Locks and this mod (Lock Any Door) works with those.

Demo Server:
KickAss PVE - 168.119.210.126:30168

What it does:
This mod allows you to lock any accessible ingame door, gate or container using vanilla combination or code locks. Just watch the video above.

How it works:
The mod creates a "LockAnyDoor" directory in your profiles path. There you will find three important files:

[*] Config.json - this is your server's config file.
[*] Config.json.example - to give you an idea what the config is all about.
[*] Locks.json - Local server database to keep track of the attached locks.


Technically this mod expands the lock picking mechanism by attaching virtual (and therefore invisible) locks to doors.

Please note that lock picks are not affected by this mod, they keep their vanilla behavior. Meaning that any door locked with a lock pick can be forced open as usual. Use combination or code locks for more security.

Once the lock is placed there are 4 ways to open the door, depending on your config:

[*] Enter the correct code -> drops the lock on the floor
[*] Force breach the door -> breaks the lock
[*] Use a lockpick -> breaks the the lock
[*] Wait for the lock to despawn due to inactivity
[*] (Delete the entry in Locks.json)


Vehicles:
Set "EnableCarLocks": 1 and you can use a code lock to lock your car/truck, as long as:

[*] All doors are in place and closed
[*] Including the hood and trunk door
[*] No one inside
[*] No lock already in place
[*] The code lock has a working battery

Once a car is locked it can't be dismantled. Also the inventory won't be accessible.
No, bikes can't be locked. I mean cmon.

Installation:
Both client and server need to run this mod. Subscribe to this workshop item and load the mod in your launcher or manually using -mod=.

Credit:
You can use this mod as you see fit, as long as you give me proper credit.

Door icon created by Magnific - Flaticon

If you like this idea and maybe tested this mod please consider leaving a like and a comment. I'd love to discuss

Источник: Steam Workshop