Installation — foltone_racebuilder
Requirements
- ESX Legacy or QBCore or Standalone — Framework
- oxmysql — Database driver
- ox_lib (optional) — Enhanced UI (context menus, input dialogs). A built-in fallback is included if ox_lib is not installed.
- ox_target or qb-target (optional) — 3D interaction with NPC. Falls back to E key proximity if neither is installed.
Database
The script will automatically create the required tables on first start:
foltone_races— Stores race data (checkpoints, spawn points, settings)foltone_race_leaderboard— Player best times per racefoltone_race_sessions— Multiplayer session history
Download
Download the script from your Tebex account and place the foltone_racebuilder folder in your resources/ directory.
Server Configuration
Add to your server.cfg:
ensure oxmysql
ensure es_extended # or qb-core (optional for standalone)
ensure ox_lib # optional but recommended
ensure ox_target # optional (or qb-target)
ensure foltone_racebuilder
Important:
foltone_racebuildermust start after oxmysql and your framework.
Verification
After restarting your server:
- Connect to the server
- Use
/raceeditorto open the race editor (requires admin permission) - Create a test race: place NPC, spawn point, and at least 2 checkpoints
- Interact with the NPC to open the race menu and start a solo time trial