Skip to main content
All commands are registered via lib.addCommand, so they show up in ox_lib’s chat suggestions for the players who can actually use them. Each command’s name is configurable from shared/config.lua. Set any command name to '' (empty string) in config to disable the command. The underlying server events still work — useful if you want to call them from your own UI or hotkey.

Renaming a command

Change the value in shared/config.lua and restart nexdev_dealerships:
Players have to reconnect for chat suggestions to refresh; the command itself works immediately.

Granting admin / management access

Admins in group.admin / group.superadmin get /dealershipadmin automatically without needing the ace — but they do not get /dealershipmgmt blanket-access unless they also hold the nexdev_dealerships.manage ace.

Server events (for integrators)

If you want to wire these into your own UI: