Manager & creator ​
Door manager ​

Staff open it with /doors or the Door manager staff action in np_admin. On the left the
buildings with their door count and a search; in the middle the groups and doors of the building with live states and
the filters All, Locked, Open and Alarmed; on the right the selected door.
The door has three tabs:
| Tab | What |
|---|---|
| Overview | Who can open (the access rules with allow / deny, temporary grants, enrolled prints and faces, digital keys; Add rule), Behaviour (auto-lock, interaction distance, lockpickable, breachable, alarm on forced entry, hold-open, sound pack), the schedule grid and the activity log |
| Lock & crime | The lock chain (add or remove key, keycard, code, fingerprint, Face ID; the factors are asked in this order after access) and the crime profile: per method the np_minigames game, the difficulty, the tool item and on / off; cooldown, noise and the alarm kind |
| Face ID | What blocks a scan (masks, glasses, helmets, hats, hoods), the allow-list, the match threshold, the liveness check, the fallback order when covered and the CCTV snapshot of denied faces |
| Lock & crime | Face ID |
|---|---|
![]() |
![]() |
The header buttons: Teleport to the door, Edit in world (the creator on this door), Unlock / Lock. The building header has Lockdown. Add door at the bottom starts the creator. A config door that was edited shows Reset, which drops the override; config doors cannot be removed.
The schedule ​
The grid has one cell per hour of the week. Paint cells open to public (green) or forced lock (red), or clear
them back to normal. Evaluated every Config.Timers.scheduleSeconds (30 s).
The activity log ​
Who did what, how and when: unlocks with the reason ("job police (Sergeant)", "key"), refused attempts (with
Config.Log.denied), breaches with the warrant, auto-locks, repairs, edits. A refused face has a link to its CCTV clip.
The manager loads the last Config.Log.perDoor (50) entries; rows older than Config.Log.keepDays (14) are pruned.
Staff with only np_doors.logs can read the log of every door without editing anything.
The scoped manager for owners ​
A door's owner (door.owner.identifier, or a member of the owning job with at least Config.Manager.ownerGrade,
grade 4) gets the same panel with only their doors. Owners may change the label, auto-lock, hold-open, sound, the
schedule, the PIN and the public flag, add and remove rules, enrol fingerprints and faces and hand out keys. Everything
else (parts, lock chain, crime profile) stays with staff.
An owner's Unlock / Lock button works like the phone: only within the door's remote range
(Config.Phone.remoteRange, or the door's remote), through the toggle rate limit, not during a lockdown or forced-lock
hours, and not on a broken door (that needs a repair kit). Staff toggle from anywhere, and their toggle repairs a broken
door.
In-world creator ​

/doorcreate, Add door in the manager, or Edit in world on an existing door (np_doors.create). Aim at a door:
the outline, the model name, the pivot and the swing arc are drawn on it, and the second leaf of a double door is found
by model and distance and paired automatically.
| Key | Action |
|---|---|
| Left mouse | Add the aimed door part |
| Right mouse | Remove the last part |
F |
Test-open the draft through the game's door system |
C |
Copy the settings of the last saved door (bulk setup of storage units in a minute) |
E |
Give the mouse to the panel and back |
Backspace |
Cancel |
The panel sets the name, the building, the door type (single, double, sliding, garage, gate, cell), the lock (key item,
keycard, code, fingerprint, Face ID), the start state, auto-lock and distance. Save door stores it in npd_doors.
Doors whose model is in Config.Ignore.models (np_banking's vaults and teller doors) and doors another resource already
put into the door system are refused.
Importers ​
Moving from another door system:
/doors import ox <resource>
/doors import qb <resource> [extra config files ...]
/doors import nui <resource>
| Kind | Reads |
|---|---|
ox |
ox_doorlock's database table ox_doorlock (id, name, data JSON) |
qb |
qb-doorlock's config.lua and configs/*.lua (Config.DoorList). FiveM cannot list a folder, so the files come from Config.Import.qbFiles (mrpd, pillbox, prison, sandy, paleto, vanilla and the Gabz MRPD / Pillbox files) plus the ones you name |
nui |
nui_doorlock's config.lua (Config.DoorList) |
Configs run in a sandbox (only vector3, vec3, joaat and GetHashKey). Authorized jobs become job rules. Doors with
ignored models are skipped. Ids get the prefix ox_, qb_ or nui_, so a second import skips what is already there.
The command prints how many doors were created, skipped and failed (np_doors.create, also from the server console).
After importing, the shims keep scripts that still call ox_doorlock or qb-doorlock working.

