ox_doorlock and qb-doorlock Config for any MLO

Drop an MLO or map resource: every door it places, with its model, coordinates and heading, double doors paired, as ox_doorlock or qb-doorlock config.

Loading Doorlock Config Generator…

Make ox_doorlock and qb-doorlock config for an MLO

A police station or bank MLO comes with dozens of doors, and a door lock script needs each one's model, coordinates and heading. The usual way is to walk to every door with an id gun or a dev menu and copy the numbers by hand.

Doorlock Config Generator reads the MLO or map resource itself: every entity whose model is a door (the archetype's door flag, or one of the game's doors), placed in the world through its interior the way the game places it. Double doors on one portal are paired, garage and sliding doors marked. You get ox_doorlock rows, qb-doorlock config or a plain doors.lua, with who may lock them filled in.

How Doorlock Config Generator works

  1. Drop the MLO's resource folder or its .zip.
  2. Untick the doors to leave out; set who may lock them.
  3. Copy or download the ox_doorlock, qb-doorlock or plain Lua config.

You get: Door lock config for every door: ox_doorlock SQL and JSON, qb-doorlock Lua, a doors.lua and a CSV.

Every tool is free to try: 5 exports a day, files up to 25 MB. The paid plans raise the limits. See the plans.

Doorlock Config Generator: Drop an MLO or map resource: every door it places, with its model, coordinates and heading, double doors paired, as ox_doorlock or qb-doorlock config.

Questions

How do I get door coordinates for ox_doorlock?
Drop the MLO's resource here. Each door's model hash, coordinates and heading come from its .ymap and .ytyp, in the format ox_doorlock stores: import the .sql and restart ox_doorlock.
Does it work with qb-doorlock?
Yes: the qb-doorlock tab writes Config.DoorList entries for its configs/ folder, double doors in one entry with their two leaves.
Are double doors paired?
Yes: two doors on one portal of the interior, or two hinges as far apart as the two doors are wide, become one double door.
My MLO is escrowed
An escrowed (encrypted) resource can't be read. Its seller usually ships a door config, or ask them for one.
Can I make the MLO's doors myself?
In MLO Creator, pick ox_doorlock or qb-doorlock in Extras and the doors you place come with their config in the download.

In GTA Explorer

Related tools

All 73 GTA V and FiveM tools · More maps & collisions tools