frkn Doorlock v2 is a door-lock and access-control resource for FiveM with adapters for ESX, QBCore and QBXCore. It adds a face scanner, a body scanner, PIN-protected storage, remote door cameras and lock-breaking minigames.
Features
- Body scanner that blocks entry based on carried items
- Face scanner interaction with its own scanner prop (separate
frknn_faceidresource) - Remote camera to monitor doors from a distance, with a configurable TV prop
- PIN-protected storage for personal stashes
- Lock breaking through minigames (stick, XO, riddle and hacking games)
- Open, close or remove doors through a menu, with custom interaction menus per door
- Optional consumable items per door (examples: ticket, paperclip)
- Optional persistent door states saved to
saves/doorstates.json - Permission level for creating doors and optional admin access to every door
- Lock/unlock sounds and animations that you can turn off
Requirements
- ESX, QBCore or QBXCore
- A target resource such as qb-target when target interaction is enabled
- For the minigames:
frkn-stickgame,frkn-sosgame,frkn-riddlegameandfrkn-hackinggame(not included) - Optional:
frkn-textui-2for the text UI
Installation
- Copy
frkn-doorlockv2andfrknn_faceidinto your resources directory. - Add
ensure frknn_faceidandensure frkn-doorlockv2to your server.cfg. - Adjust
shared/config.lua. It ships with a pre-filledConfig.BokTokenvalue: replace it with your own or clear it before going live.