Commands & permissions ​
Players: keys ​
np_doors is driven by the world labels, items and the phone, not by commands.
| Key | What |
|---|---|
E |
Use the door in front of you: unlock, lock or start its lock chain |
G |
Knock |
H |
Ring the bell |
ALT |
Details |
X |
Breach (when a method is open to you) |
Players rebind them in the GTA settings under FiveM (np_doors_*). In the creator: left mouse
adds a part, right mouse removes it, F test-opens, C copies the last settings, E gives the mouse to the panel,
Backspace cancels.
At the 3D keypad: click the keys or type 0-9; Backspace, Delete or * clear, Enter or
# submit, Escape cancels. These keys are fixed (not rebindable).
Commands ​
| Command | Node | What |
|---|---|---|
/doors |
np_doors.manage or np_doors.logs, or a door owner |
Opens the door manager; owners get the scoped version with only their doors |
/doors import ox|qb|nui <resource> [files...] |
np_doors.create |
Imports ox_doorlock, qb-doorlock or nui_doorlock doors. Works from the server console too |
/doorcreate |
np_doors.create |
Opens the in-world creator |
/doorlockdown <building> [off] |
np_doors.lockdown |
Locks every door of a building down, off ends it. The building name may contain spaces |
/doorenroll <door id> <finger|face> [player id] |
np_doors.manage or the door's owner |
Enrols your own (or the player's) fingerprint or face at a door |
/doorcard <group> <level> [player id] |
np_doors.manage |
Gives you (or the player) a keycard |
/doordevice <door id> [keypad|card|finger|off] |
np_doors.create or np_doors.manage |
Places the door's wall device with np_prophandler's placement ghost (walls only, within Config.Devices.maxFromDoor of the door); without a kind it picks the door's own. off removes it, also from the server console. Needs Config.Devices.enabled |
Permissions ​
np_doors uses no ACE permissions. Every staff check asks for a permission node through the np_admin lib, vendored
byte-identical in bridge/np_admin.lua (np_admin stays optional).
| Node | Grants |
|---|---|
np_doors.manage |
The door manager: edit every door, access rules, schedules, keys and enrolments; remove doors; repair any door; /doorcard. Covers every node below except np_doors.override |
np_doors.create |
Place new doors with the creator, import other door systems and place wall devices |
np_doors.override |
Staff override: every door opens without access or lock chain. Granted on its own, np_doors.manage does not include it |
np_doors.lockdown |
Building lockdown |
np_doors.logs |
Read the activity log of every door, without editing |
With np_admin running, np_admin decides: grant the nodes (or np_doors.*) to staff groups
in its permission matrix (category Doors). The lists below no longer count.
Without np_admin (or with Config.Integrations.np_admin = false) a player is staff, with every node, when their
FiveM identifier is in Config.Admins or the framework puts them in one of Config.AdminGroups (ESX admin,
superadmin; qb and qbx admin, god). The server console may do everything. See
Permissions & np_admin.
Jobs are not staff. Police get through doors by access rules, the ram and Config.Lockdown.jobs; door owners get the
scoped manager.
np_admin ​
- Staff action: Door manager (needs
np_doors.manage) opens the manager for the staff member. - Settings page: Resource settings → Doors with the groups General, Readers, Crime and Devices (Configuration).
- Audit log, category
doors: doors created with the creator, removed doors, imports, lockdowns, teleports to a door and toggle spam (more thanConfig.RateLimit.spamCounttoggles withinspamWindowseconds). A client that keeps exceeding the 3D keypad relay rate is logged asspamtoo, at most once a minute. - Theme: np_doors' screens follow np_admin's central theme (
npAdmin.onTheme). Without np_admin they use the Nimbus default.Config.Themeoverrides it for np_doors alone.
Every door also keeps its own activity log.