Not released yet. These pages are written from the code of
manniche_garage and can change before the release.Player commands
| Command | Who | What it does |
|---|---|---|
/iv | Jobs listed in an impound lot's jobs | Impounds the nearest vehicle within 5 metres. Opens a form for lot, reason, whether the owner may collect it, waiting time in hours and fee. The name comes from Config.ImpoundCommand. The server checks job and grade, distance (ServerConfig.ImpoundDistance) and the limits ImpoundMinFee, ImpoundMaxFee and ImpoundMaxHours |
/privategarages | Everyone, or the jobs in Config.PrivateDashboardJobs | Opens the list of the player's private garages |
Garages and impound lots are opened at their access point with the method set in Config.Interaction. The resource registers no key mappings. Config.OpenStoreKey (default 38) is read as a control.
Admin commands
These commands are restricted to ServerConfig.AdminPrincipals through ox_lib's lib.addCommand.
| Command | Arguments | What it does |
|---|---|---|
/garageadmin | none | Opens the admin menu (name from Config.AdminCommand). It needs a player, not the console |
/setjobvehicle | job, optional plate | Makes an owned vehicle belong to a job. Without a plate: the vehicle you sit in. The job must exist |
/removejobvehicle | optional plate | Gives a job vehicle back to the player who owns it |
/setgangvehicle | gang, optional plate | Makes a vehicle belong to a gang. QB-Core and Qbox only |
/removegangvehicle | optional plate | Gives a gang vehicle back to the player who owns it |
/vreturn | optional plate | Puts a vehicle back. A spawner vehicle is deleted, an owned vehicle goes back to its garage, an impounded one is released without a fee |
/vplate | optional plate | Changes the plate of the owned vehicle you sit in. Without a plate it opens a dialog |
/dvdb | none | Deletes the vehicle you sit in from the database and the world |
/admincar | none | Saves the vehicle you sit in as your own |
The job and gang vehicle commands and /vreturn also work from the server console when you give a plate.
Permissions
Set who counts as an admin in config/server.lua:
ServerConfig.AdminPrincipals = { 'group.admin' }
- The default is
{ 'group.admin' }, and{ 'qbcore.admin', 'qbcore.god' }on QB-Core. - ESX and Qbox groups are ACE principals such as
group.admin. - Anything from
server.cfgworks too, for exampleidentifier.license:....
The admin menu callbacks and the in-game settings check the ACE permission
command.garageadmin (command. plus Config.AdminCommand) on every call. If you rename the command, make sure your admins hold that permission.