Installing Qbox Core
This guide will walk you through installing Qbox Core and all required dependencies for your FiveM server.Qbox Core requires FiveM server build 10731 or higher with OneSync Infinity enabled.
Prerequisites
Before installing Qbox Core, ensure your server meets these requirements:- FiveM server artifacts build 10731+
- OneSync Infinity enabled
- MySQL database server
- Basic knowledge of FiveM server administration
Dependencies
Qbox Core requires three core dependencies that must be installed first:oxmysql
Database connector for MySQL/MariaDB
ox_lib
Utility library with UI components
ox_inventory
Modern inventory system
Step 1: Enable OneSync Infinity
Enable OneSync Infinity in your server configuration:- txAdmin
- server.cfg
- Command Line
- Open your txAdmin panel
- Navigate to Settings → FXServer
- Find “OneSync” setting
- Select “Infinity” from the dropdown
- Save and restart your server
Step 2: Install oxmysql
Download oxmysql
Download the latest release from GitHub
Replace
username, password, localhost, and database with your actual MySQL credentials.Step 3: Install ox_lib
Download ox_lib
Download the latest release (v3.20.0 or higher) from GitHub
Step 4: Install ox_inventory
Download ox_inventory
Download the latest release (v2.42.1 or higher) from GitHub
Step 5: Install qbx_core
Download qbx_core
Download the latest release from GitHub
Import database
Import the Or use phpMyAdmin/HeidiSQL to import the file manually.
qbx_core.sql file into your MySQL database:Step 6: Verify installation
Yourserver.cfg should now include these lines in this order:
server.cfg
The order matters! Make sure dependencies are loaded before qbx_core.
Optional dependencies
For full functionality, you may want to install these additional resources:qbx_vehiclekeys
Vehicle key system for persistent vehicles
config/server.lua
qbx_spawn
Spawn selection system (required if
startingApartment = true)config/client.lua
qbx_idcard
ID card system for starter items
config/shared.lua
Renewed-Banking
Society banking system
config/server.lua
Database tables
Theqbx_core.sql file creates these essential tables:
players table
Stores all player character data:player_groups table
Stores player job and gang assignments:bans table
Stores player bans:Troubleshooting
Server won't start - OneSync error
Server won't start - OneSync error
Error message:Solution:
Make sure you have enabled OneSync Infinity in txAdmin settings or added
+set onesync on to your startup command.Server won't start - ox_lib version error
Server won't start - ox_lib version error
Error message:Solution:
Download the latest version of ox_lib from the GitHub releases page.
Server won't start - ox_inventory version error
Server won't start - ox_inventory version error
Error message:Solution:
Download the latest version of ox_inventory from the GitHub releases page.
Server won't start - inventory framework error
Server won't start - inventory framework error
Error message:Solution:
Add
setr inventory:framework "qbx" to your server.cfg before starting ox_inventory.Database connection error
Database connection error
Error message:Solution:
Check your MySQL credentials in the connection string. Make sure the database exists and the user has proper permissions.
Server convars
Qbox Core supports several optional convars for customization:server.cfg
Next steps
Quick Start Guide
Now that you have installed Qbox Core, learn how to configure it and create your first character