Requirements
- FiveM server with
lua54and OneSync enabled - MySQL or MariaDB
- One of:
qbx_core,qb-core, ores_extended ox_liboxmysql
Steps
-
Download the resource from your Cfx.re Portal
granted assets and drop it into your server, e.g.
resources/[nex]/nex_garages/. -
Add it to your
server.cfgafter its dependencies: -
Start your server. The database schema installs itself on first start —
the console prints
SQL setup completewhen it’s done. -
Grant staff access for the admin commands. The in-game garage editor
accepts the ACE groups from
Nex.Config.CustomGarages.allowedGroups(defaults:god,admin,mod):
Manual SQL install (optional)
Prefer to run the SQL yourself? SetAutoRunSQL = false in config/main.lua
and import the matching files from install/:
| File | When to use |
|---|---|
install/qb-qbx/schema-qb.sql | QBCore / Qbox servers |
install/esx/schema-esx.sql | ESX servers |
install/schema-features.sql | Both — feature columns and tables (mileage, sharing, pins, audit log) |
IF NOT EXISTS and are safe to re-run.
Checking it worked
From F8:started. If it prints missing or stopped, fix server.cfg
and restart.
To verify framework detection, temporarily set Debug = true in
config/main.lua and restart — boot logs print what was detected.
Updating
Every file inconfig/ and bridge/ is listed under escrow_ignore and
stays editable — keep your copies when updating. Vehicles, private garages,
custom garages, pins and audit logs all live in MySQL and are preserved
automatically.
- Replace the resource files with the new version (keep your edited
config/andbridge/files). - Restart the server.
The resource checks for updates on start and prints a console notice when a
newer version is available in your granted assets.

