QBox is the modern, actively-maintained successor to QBCore, built on the ox ecosystem — the recommended framework for new FiveM roleplay servers in 2026. This guide covers how to install QBox.
Prerequisites
- A FiveM server on artifact build 10731 or newer.
- OneSync enabled.
- A MySQL/MariaDB database (database setup guide).
The easy way: txAdmin recipe
The simplest install is the QBox txAdmin recipe, which automatically installs qbx_core, ox_lib, ox_inventory and oxmysql and runs the required SQL. On managed hosting this is a few clicks. For most people, this is the way to go.
The manual way: the ox stack
QBox is built on the ox resources, which must be installed and started in this exact order, checking each starts cleanly before the next:
ensure oxmysql
ensure ox_lib
ensure ox_inventory
ensure qbx_core
ensure ox_target
- Download qbx_core from the Qbox-project GitHub, plus oxmysql, ox_lib, ox_inventory and ox_target.
- Place them in
resourcesand set your oxmysql connection string. - Run the
qbx_core.sqlfile to create QBox’s tables. - Set the framework convar to exactly
qbx(a typo fails silently).
Two gotchas to avoid
- Collation: if your
player.citizenidcolumn isn’tutf8mb4_unicode_ci, the SQL fails — fix the collation first. - Don’t run two inventories: ox_inventory will conflict with any old inventory script. Remove the old one fully before ox_inventory takes over.
Migrating from QBCore?
QBox is a QBCore fork with a documented migration path, but scripts may need QBox-compatible versions. See our ESX vs QBCore vs QBox comparison for why QBox is the recommended modern choice. The quickest start overall is a managed FiveM server with the QBox recipe.
Frequently asked questions
How do I install QBox on FiveM?
Easiest is the QBox txAdmin recipe (auto-installs qbx_core + the ox stack + SQL). Manually, install oxmysql, ox_lib, ox_inventory, qbx_core and ox_target in that order, run qbx_core.sql, and set the framework convar to qbx.
What artifact does QBox need?
Server artifact build 10731 or newer, with OneSync enabled.
Why does qbx_core.sql fail?
Commonly a collation issue — the citizenid column must be utf8mb4_unicode_ci. Fix the collation and re-run.
Ready to play?
Run your own FiveM server with XGamingServer
Spin up an always-on FiveM server your friends can join in minutes — no port-forwarding, no tech headaches.



