- Toggle between Using item or Alt button to open doors
- Lock breaking doors
- Possibility to use different item for each door
- Download this repo/codebase
- Extract and place
void_doorlocks-vorp
into yourresources
folder - Add
ensure void_doorlocks-vorp
to yourserver.cfg
file - Restart your server (unless you have nightly restarts)
If the Config.useitems is set to True : authorizedItem is responsible of locking/unlocking doors authorizedJobs will be neglected in the process
If the Config.useitems is set to False : Alt button is responsible of locking/unlocking doors (authorizedJob used for this)
Using Lockbreaker : You can use it whether the Config.useitems is set to True or False +You can choose if the door can be lockbreakable or not (canlockbreak)
- This is a modification to [bulgar_doorlocks_vorp] (Made by Bulgar)
- ensure this resource after its dependencies
- if you're adding a new key item you need to register it in the server side
- add the item in db
- exemples are provided in
/config.lua
and `/server/main.lua