5 min read
Qbox Framework Setup: qbx_core, the Ox Stack and the QBCore Bridge
The Qbox framework is one core resource, qbx_core, sitting on a stack of Overextended resources: oxmysql, ox_lib, ox_inventory and ox_target. Get the stack and three convars right and the server boots first time. Get one wrong and qbx_core shuts the whole server down, then tells you why. This guide walks through the setup for qbx_core 1.24.1, the release tagged on 30 October 2026.
What Qbox needs before you install
- MariaDB 10.9 or newer. The core SQL uses
JSON_VALUE()andCREATE INDEX IF NOT EXISTS, so older servers fail. The Qbox docs recommend 12.3 LTS for new installs. MySQL and XAMPP are unsupported. - A recent FXServer artifact. The qbx_core manifest requires server build 10731 or higher.
- OneSync Infinity. The recipe turns it on. A manual install needs
+set onesync onin the start command.
Installing Qbox with the txAdmin recipe
Run FXServer, let txAdmin open, and in the deployer pick Qbox from the popular recipes. The recipe connects to your database, imports qbox.sql, downloads everything and writes five config files: server.cfg, ox.cfg, permissions.cfg, voice.cfg and misc.cfg.
The recipe repository holds three variants, and the popular list only offers the first:
qbox.yaml: the full pack, around 80 downloads, with jobs, heists, NPWD as the phone and Renewed-Banking.qbox-lean.yaml: about 50 downloads, with no criminal or civilian activities. Pick it when you plan to buy or write those yourself.qbox-stable.yaml: only resources that have reached a stable release.
To deploy a variant, use txAdmin’s remote URL option with the raw file address, for example:
https://raw.githubusercontent.com/Qbox-project/txAdminRecipe/main/qbox-lean.yaml
If the deployer stops with a 403, that is GitHub rate limiting the download burst. Wait a few minutes and run it again.
The ox stack qbx_core depends on
These four resources do the jobs that separate qb- resources did on QBCore.
- oxmysql (2.14.4 at the time of writing) is the database driver.
- ox_lib supplies menus, input dialogs, progress bars, notifications, callbacks and zones. qbx_core needs 3.20.0 or newer. The current release is 3.42.2.
- ox_inventory owns every item. qbx_core needs 2.42.1 or newer, and the current release is 2.48.1. Items are defined in
ox_inventory/data/items.lua, not in the core. - ox_target (1.18.1) is the third-eye interaction the stock
qbx_resources use.
The recipe writes this start order, and it is worth keeping when you add your own resources:
ensure ox_lib
ensure qbx_core
ensure ox_target
ensure [ox]
ensure [qbx]
ensure [standalone]
ensure [voice]
ox_lib goes first because the qbx_core manifest loads @ox_lib/init.lua as a shared script. Put purchased scripts in a folder of their own and add ensure [custom] below every line above.
qbx_core setup: the convars that matter
Most of the behaviour you would expect in a config file is set by convars in server.cfg. The ones to review on day one:
setr qbx:enableBridge "true"
set qbx:enableQueue "true"
set qbx:max_jobs_per_player 1
set qbx:max_gangs_per_player 1
set qbx:setjob_replaces "true"
setr qbx:enableVehiclePersistence "false"
setr qbx:vehiclePersistenceType "semi"
- max_jobs_per_player is the built-in multijob. Raise it to 2 or 3 and set
setjob_replacesto"false"if/setjobshould add a job and keep the old one. - enableVehiclePersistence respawns owned vehicles that the server deleted. With the type on
"full"they also come back after a restart. - enableQueue runs the core’s own connection queue. Its timeouts and the admin priority lane are in
qbx_core/config/queue.lua.
The inventory convars sit in ox.cfg. One of them is checked at boot:
setr inventory:framework "qbx"
setr inventory:slots 50
setr inventory:weight 85000
setr inventory:police ["police", "bcso", "sasp"]
Weight is in grams, so the default carry limit is 85 kg. Add your own law enforcement job names to the police list, or their armoury and evidence lockers stay shut.
Where the rest of the config lives
qbx_core/config/server.lua: starting money (cash = 500, bank = 5000, crypto = 0), the paycheck interval, hunger and thirst rates, and character slots. The default is 3 per player, with per-licence overrides.qbx_core/config/shared.lua: server name, default spawn and the starter items every new character receives.qbx_core/config/client.lua: character creation rules. SetuseExternalCharacters = truehere if you prefer a third-party multicharacter screen.qbx_core/shared/jobs.luaandgangs.lua: grades are keyed by number, like[0]and[1], without quotes.
Staff ranks are plain ACE groups from permissions.cfg: group.admin, group.mod and group.support, each inheriting from the one below it.
add_principal identifier.license2:xxxxxxxxxxxx group.admin
Startup errors and what they mean
qbx_core runs four checks in order, and a failure ends with quit immediately:
- ox_lib version 3.20.0 or higher is required. Update ox_lib from its release zip, not from a source download.
- ox_inventory version 2.42.1 or higher is required. Same fix, or the resource is missing from
[ox]. - inventory:framework must be set to “qbx”.
ox.cfgwas not executed, or an old line sets a different framework. - OneSync Infinity is not enabled. Turn it on in txAdmin’s settings.
If the server stops before you can read it, scroll up in the txAdmin live console. The reason is printed just above the shutdown.
The QBCore bridge
qbx_core’s manifest declares provide 'qb-core', so resources written for QBCore find the core they expect. With qbx:enableBridge on, which is the default, exports['qb-core']:GetCoreObject() returns a working core object and most QBCore scripts run unedited.
The bridge also helps with items. Paste your old QBCore item definitions into qbx_core/shared/items.lua and restart, or run convertqbitems in the server console. Every item ox_inventory does not know yet is written to qbx_core/converted.lua in ox format, ready to paste into ox_inventory/data/items.lua. Weapons and attachments are listed in the console for you to add by hand.
Scripts built directly on qb-inventory, qb-target or qb-menu still need an ox option or an update. Qbox vs QBCore has the full list of what runs unchanged, plus what a migration carries over.
What to add after the first boot
The full recipe is a playable city. The lean recipe keeps the core, the police and ambulance jobs, a vehicle shop and the phone, which is the better starting point if you want your server to feel like yours. Either way, shop by framework support first. A product in the Qbox scripts category talks to qbx_core or ships a config option for it, and that beats relying on the bridge. Where a script you want only lists QBCore, check its dependencies against the list above before you pay.
Coming from a different base entirely? QBCore vs ESX explains what porting costs, and the ESX Legacy guide shows the other stack.
Keep ox_lib and ox_inventory current and ox.cfg in the exec chain, and qbx_core passes its boot checks every time.