Skip to main content

Requirements

No database needed — elevator data is stored locally inside the resource.

Steps

  1. Drop the nex_elevators folder into resources/[nex]/.
  2. Open config.lua and set Config.Framework:
    -- "qbox", "qbcore", "esx", or "ox"
    Config.Framework = "qbox"
    
  3. Add it to server.cfg after your framework and ox_lib:
    ensure ox_lib
    ensure nex_elevators
    
  4. Restart your server. You should see something like [nex_elevators] Imported 2 elevator(s) from config as defaults. in the console.
That’s it. Run /elevatoradmin in-game to start creating elevators.

Updating

Your elevator data is in data/elevators.json inside the resource folder.
  1. Back up data/elevators.json.
  2. Replace the resource files with the new version.
  3. Copy data/elevators.json back into the new data/ folder.
  4. Restart the server.
Your config.lua is preserved automatically.