Skip to main content

Requirements

Everything else is optional and auto-detected — see Integrations & exports.

Steps

  1. Download the resource from your Cfx.re Portal granted assets and drop it into your server, e.g. resources/[nex]/nexdev_garages/.
  2. Add it to your server.cfg after its dependencies:
  3. Start your server. The database schema installs itself on first start — the console prints SQL setup complete when it’s done.
  4. Grant staff access for the admin commands with the dedicated ACE:
    The in-game garage editor also accepts the ACE groups from Nex.Config.CustomGarages.allowedGroups (defaults: god, admin, mod).
That’s it — the default garages and impound lots appear on the map.

Manual SQL install (optional)

Prefer to run the SQL yourself? Set AutoRunSQL = false in config/main.lua and import the matching files from install/: All statements use IF NOT EXISTS and are safe to re-run.

Checking it worked

From F8:
Should print 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 in config/ 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.
  1. Replace the resource files with the new version (keep your edited config/ and bridge/ files).
  2. 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.