This page details the configuration options available in the configs/config.lua
file for the Nexure Racing System. Below is each setting, its description, and possible values or requirements.
General Settings
- debug
- Type:
boolean
- Default:
false
- Enables debug mode for troubleshooting.
- Type:
SQL Configuration
- autoSQL
- Type:
table
- Description: Handles automatic SQL table creation. Tracks must still be imported manually.
-
- enabled:
boolean
, defaulttrue
- Enables automatic table and column creation. - forced:
boolean
, defaultfalse
- Forces SQL import regardless of the current state.
- enabled:
- Type:
UI Configuration
-
UIPosition
- Type:
string
- Default:
"top-left"
- Sets the UI position on the screen. Options:
"top-left"
,"top-right"
,"bottom-left"
,"bottom-right"
.
- Type:
-
paceNotesPadding
- Type:
string
- Default:
"3.25rem"
- Sets the gap between pace notes and the screen edge. Accepts any CSS value.
- Type:
Device and Command Configuration
-
fd_laptop
- Type:
boolean
- Default:
false
- Enables the laptop app if you have
fd_laptop
installed.
- Type:
-
command
- Type:
string
orboolean
- Default:
"tablet"
- Command to open the tablet interface when no
fd_laptop
or inventory system is available. Set tofalse
to disable.
- Type:
Framework Configuration
- framework
- Type:
string
- Default:
"auto"
- Specifies the framework mode. Options:
"auto"
(auto-detects from running resources) or specific framework names:"qbx"
,"qb"
,"ox"
,"nd"
,"esx"
,"standalone"
, or a custom framework name that follows the bridge structure.
- Type:
Phasing Configuration
- phasingMode
- Type:
string
- Default:
"race"
- Determines phasing mode. Options:
"global"
: Phases racers through all players on the server."race"
: Phases racers only through players in their own race.
- Type:
Money Distribution
- raceMoneyDistribution
- Type:
string
- Default:
"top"
- Defines money distribution among players. Options:
"top"
: Rewards only the top 3 players."all"
: Rewards all players, with larger amounts to top 3."equal"
: Provides the same amount to all players.
- Type:
Race Generation Settings
-
raceGeneration
- Type:
table
- Contains settings for automatic race generation events based on server time.
-
- generationTime:
table
- Sets race generation time (hour/minute). - raceStartTime:
table
- Start time for races. - raceEndTime:
table
- End time for races. - raceAmount:
number
, default48
- Total races to be generated within the specified time frame.
- generationTime:
- Type:
-
classes
- enabled:
boolean
, defaulttrue
- Restricts competitive races to certain classes. - evenChances:
boolean
, defaulttrue
- Sets even chance for each class selection. - classes:
table
- Defines race class settings with individual class probability for selection.
- enabled:
Money Prizes
- moneyPrize
- min:
number
, default1000
- Minimum prize money per race. - max:
number
, default5000
- Maximum prize money per race.
- min:
Laps and Phasing
-
laps
- min:
number
, default1
- Minimum laps per race. - max:
number
, default3
- Maximum laps per race.
- min:
-
phasing
- enabled:
boolean
, defaulttrue
- Enables phasing throughout the race. - time:
number
, default30
- Phasing duration in seconds (set to0
to disable).
- enabled:
Vehicle Classes
- vehicleClasses
- Defines mode for vehicle class assignment.
-
- mode:
string
, default"auto"
- Can be"auto"
or"manual"
. If manual then please edit theconfigs/vehicleClasses.lua
file aswell, Config Page - allowLowerClassesWithHigherClasses:
boolean
, defaulttrue
- Enables lower-class vehicles in higher-class races. - classes:
table
- Defines vehicle class structure with class name, title, and score.
- mode:
Checkpoints
- checkpointZones
- mode:
string
, default"precise"
- Options:"cylinder"
or"precise"
. - dynamicMultiplier:
number
, default2.0
- Multiplier for checkpoint zone sizing.
- mode:
Sounds and Keybinds
-
sounds
- Defines sound settings with name and reference for race sounds like checkpoint missed or race start.
-
keybinds
- Configures keybinds for track creation and other race actions.
Each setting above is intended to give you control over gameplay mechanics, UI, sounds, and race generation, allowing you to tailor the experience to the server and player base needs.