The settings are split across four files in config/, all open to edit:
File
What it holds
config.lua
Everything on this page except private garages
garages.lua
Public garages, impound lots, and job garages. See Garages & Editor.
private.lua
Private garage settings, the dealer, interiors, and the garages for sale
server.lua
The Discord webhook. It is server-only, so players never receive it.
Restart rx_garages after changing the configuration. Places created in the in-game editor are stored in the database and take priority over the config files.
General
Lua
Config.Locale ='en'
Config.Debug =false
Setting
Default
Behaviour
Locale
'en'
en or tr, from locales/<name>.lua. A missing text falls back to English.
Debug
false
Prints what RX Garages decides and why in the F8 and server consoles.
Look
Lua
Config.UI ={
Color ={255,255,255},
Hold =0.6,
Menu ={ Position ='right', Sounds =true, Volume =0.6},
Dialog ={},
Hints ={ Position ='bottom'},}
Setting
Default
Behaviour
Color
{ 255, 255, 255 }
The bar and key caps, as r, g, b.
Hold
0.6
Seconds a held key takes.
Menu.Position
'right'
right or left.
Menu.Sounds
true
true plays the soft RX sounds, 'game' plays GTA’s menu sounds, false plays none.
Menu.Volume
0.6
Volume of the RX sounds, from 0 to 1.
Hints.Position
'bottom'
Where key hints appear.
Menu and dialog button texts come from the locale; set Menu.Text or Dialog.Text to override them.
The prompts at the garages: rx_interact, then ox_target, then qb-target, otherwise built-in key hints. Or name one: 'rx_interact', 'ox_target', 'qb-target', 'builtin'.
InteractKey
'E'
The key for built-in hints and every in-vehicle hint.
Notify
'auto'
RX Interact’s notifications when it runs, otherwise the framework’s. Or 'rx_interact', 'framework'.
Keys
'auto'
The vehicle key script: the first known one running, a resource name from server/bridge/keys.lua, or 'none'.
Fuel
'auto'
The fuel script: the first known one running, a resource name from client/bridge/vehicle.lua, or 'native'.
Accounts
{ 'bank', 'cash' }
Payments come from the first account that has enough.
Seconds between position saves. Only vehicles that moved are written; damage and fuel are saved when a driver gets out. A txAdmin scheduled restart and stopping the resource save everything once more.
MaxPerPlayer
3
Vehicles one player can have out. One more sends the oldest unused one back to its garage. 0 means no limit.
AbandonHours
48
A vehicle not driven for this long goes to the impound. 0 means never.
AbandonFee
500
The impound fee for an abandoned vehicle.
Lock
true
Vehicles put back after a restart are locked; the owner gets the keys again on joining.
Furniture sets at interior slots. Off for now while they are being reworked.
ShowForSale
true
Garages nobody owns show on the map in grey.
DriveOutControl
71
The control that drives out when sitting in a vehicle inside (W / accelerate).
SellBack
0.6
Share of the garage price the dealer pays back. 0 turns selling back off.
SellBackItems
0.3
Share of what the styles cost that the dealer pays back.
PlayerSale
true
Sell to a player standing nearby at the seller’s price. Styles go with the garage.
SaleDistance, SaleTimeout
4.0, 30
Metres between seller and buyer, and seconds the buyer has to answer.
MaxSalePrice
100000000
Highest price a player can ask.
PayTo
'bank'
The account a sale’s money goes to.
Partners
4
Partners a garage can have. 0 turns partners off.
Knock
true
Visitors can knock at the door to be let in as guests.
KnockTimeout
20
Seconds the people inside have to answer.
What a player paid another player never counts toward what the dealer pays back. When a garage is sold or a partner’s key is taken, the vehicles inside can be collected from any public garage.
The dealer is set in Config.PrivateDealer (ped, position, scenario, and blip). The garages for sale and the interiors are described in Garages & Editor.
English and Turkish are included. Copy locales/en.lua to locales/<code>.lua, translate it, and set Config.Locale = '<code>'. Anything left untranslated falls back to English.