Doorlock Creator is a FiveM door lock system for ESX, QBCore and Qbox where every door is created in game. An admin opens the creator, looks at a door, clicks it, decides who may open it and saves. The door is locked for everyone on the server at that moment — no config file, no coordinates copied by hand, no restart.
Each door can be opened by jobs and exact grades, a whitelist of players, an item such as a keycard, a fee paid in cash, bank or black money, and a 4-digit passcode typed on a keypad. Single doors and double doors, swing doors, sliding doors, garage shutters and gates — anything GTA treats as a door — are locked through the game's own door system, saved to the database and synced to every player.

Where to start#
Page | What it covers |
|---|---|
Requirements, download, load order, the database, who can open the creator, and the configuration file. | |
Removing ox_doorlock, qb-doorlock or nui_doorlock, and moving your existing doors and scripts across. | |
The creator window, creating a door, double doors, every access rule, passcodes, animations, sounds and autolock. | |
Frameworks, inventories, targets, text UI, notifications and languages — and how each one is detected. | |
The command, the keys, the server exports and the events for driving doors from your own scripts. | |
What each problem or message means, and how to fix it. |
What it does#
Area | Details |
|---|---|
In-game creator | One command opens a panel listing every door, with search, edit, delete and teleport. Doors are picked by aiming at them and clicking — the hovered door is outlined so you know what you are about to lock. |
Door types | Single doors and double doors (both leaves lock together). Swing, sliding, garage and gate models all work, because they are locked through GTA's native door system. |
Access rules | Jobs with exact grades, a player whitelist by identifier or citizen ID, a required item, and a fee in any money type. Any one rule is enough to pass; a door with no rules is public. |
Passcodes | An optional 4-digit code typed on an on-screen keypad. It is checked on the server and never sent to players. |
Interaction | A floating |
Autolock | Doors can lock themselves again a set number of seconds after being opened — server-wide or per door. |
Sync and security | Every lock state is saved to MySQL and survives restarts. Every request is checked on the server for distance, permission and spam, so a modded client cannot open a door from across the map. |
Developers | Server exports to read, lock, unlock and create doors from heist and robbery scripts, plus events fired on every change. |
Languages | Thirteen translations: EN · ES · FR · DE · PT · IT · NL · CS · DA · NO · RO · SL · SV. |
Driving it from your own scripts? A bank heist can create its vault door on start and unlock it when the drill finishes, with two exports and no admin in the loop. See Commands and Exports.



