Everything you would want to change is in config.lua. Rules that need code (who owns what, keys, fuel,
limits per rank) are in bridge/, covered in Custom servers.
Framework
Option
Default
What it does
Config.Framework
'auto'
'auto', 'qbx', 'qb', 'esx', 'nd', 'ox' or 'standalone'
Storage
Option
Default
What it does
Config.Storage
'auto'
'auto' uses oxmysql when it runs, otherwise a JSON file. 'oxmysql' always uses the database. 'json' always uses garage.json in the resource folder
Opening the garage
Option
Default
What it does
Config.Command
'garage'
Command that opens the menu
Config.Key
'F7'
Default key. Players can rebind it. '' means no default key, false means no key binding at all
Config.SaveCommand
'savecar'
Quick save of the car you're in, without the menu. false turns it off
Config.Title
'Garage'
Title shown in the menu
Limits and staff
Option
Default
What it does
Config.MaxVehicles
15
Saved vehicles per player
Config.StaffMax
50
Saved vehicles for staff
Config.StaffAce
'garage.staff'
ACE that counts as staff
Config.StaffGroups
admin, god, superadmin
Framework groups that also count as staff
To give donators or ranks more, replace Bridge.GetVehicleLimit. See
Custom servers.
Spawning
Option
Default
What it does
Config.SpawnMode
'anywhere'
'anywhere' spawns saved vehicles wherever you are. 'garages' only next to a spot in Config.Garages
Config.SpawnPosition
'front'
'front' puts the car in front of you, facing your way. 'replace' puts it in the place of the car you took out last, when you're driving it
Config.WarpIn
true
Put the player in the driver seat
Config.ReplacePrevious
true
Delete the car you took out last when you take out another
Config.DeleteOnLeave
true
Delete a player's garage car when they leave the server
Config.SpawnCooldown
5
Seconds between spawns
Config.Fuel
100.0
Fuel level of spawned vehicles (needs a fuel resource)
Config.SaveDirt
false
Keep dirt on saved vehicles. false always spawns them clean
Config.SpawnClearRadius
3.0
A spot counts as taken when a vehicle is this close, plus the car's own size
Garage spots
Used when Config.SpawnMode = 'garages'. Vehicles come out on the first free point in spawns.
Key
Example
What it does
label
'Legion Square'
Name of the garage
coords
vec3(215.8, -810.1, 30.7)
Centre of the garage
radius
25.0
How close a player must be to use it
spawns
{ vec4(...), ... }
Spawn points with heading, tried in order
Legion Square, Sandy Shores and Paleto Bay ship by default.