Skip to content

5 min read

QBCore vs ESX: Choosing a Framework for a New Server and Pricing a Port

QBCore vs ESX used to be a question of taste. In December 2026 part of it has a factual answer. ESX Legacy shipped five releases in October alone. The QBCore code for FiveM got its last gameplay fix in June, and since 29 October txAdmin’s recipe list has carried the QBCore entry as deprecated.

The QBCore way of writing resources did not die with the recipe, though. It lives on in Qbox, a fork whose core answers to the name qb-core. So the choice a new owner faces is ESX Legacy on one side and the QBCore API on the other, most sensibly delivered by qbx_core.

The short answer

For a new server, choose ESX Legacy if you want a framework that maintains its whole stack in one place and has the longest back catalogue. Choose the QBCore family, through Qbox, if you want citizen IDs, gangs and metadata built into the core. Start on plain qb-core only if your developers will maintain it themselves.

How QBCore and ESX differ under the hood

Both cores do the same job: load a character, track money, jobs and items, save it all. They disagree on where things live.

  • Player object. ESX gives you xPlayer from ESX.GetPlayerFromId(source), with methods such as xPlayer.getJob(). QBCore gives you Player from QBCore.Functions.GetPlayer(source), with data under Player.PlayerData and methods under Player.Functions.
  • Identity. ESX keys a character by an identifier built from the Rockstar licence. QBCore gives each character a citizenid and stores the licence beside it.
  • Money. ESX accounts are money, bank and black_money. QBCore money types are cash, bank and crypto. Dirty money on QBCore is normally an item, markedbills in the stock items file.
  • Jobs. ESX keeps jobs and grades in the jobs and job_grades database tables. QBCore keeps them in qb-core/shared/jobs.lua and has gangs as a second, parallel structure. ESX has no gang system in the core.
  • Items. ESX reads items from the items table. QBCore reads them from shared/items.lua.
  • Storage. ESX writes to a users table. QBCore writes to a players table with JSON columns for money, character info, job, gang and metadata.
  • Surrounding stack. ESX Legacy 1.16 ships its own library (esx_lib) and its own NUI inventory. QBCore ships qb-inventory, qb-target and qb-menu. Qbox swaps those for the ox resources.

The same five lines of server code show the gap better than any list:

-- ESX Legacy
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer.getJob().name == 'police' then
    xPlayer.addAccountMoney('bank', 500, 'bonus')
end

-- QBCore
local Player = QBCore.Functions.GetPlayer(source)
if Player.PlayerData.job.name == 'police' then
    Player.Functions.AddMoney('bank', 500, 'bonus')
end

Same logic, different nouns. Callbacks and usable items follow the pattern: ESX.RegisterServerCallback against QBCore.Functions.CreateCallback, and ESX.RegisterUsableItem against QBCore.Functions.CreateUseableItem.

Choosing a framework for a new server

Four questions decide it, in this order.

Who maintains it next year?

ESX Legacy is at 1.16.4, with a team that shipped a library, an inventory and a whitelist resource in the second half of 2026. Qbox is at qbx_core 1.24.1 and still releasing. The original qb-core repository is public and GPL licensed, but its documentation now calls the FiveM code the previous implementation. A base nobody upstream is fixing is fine for a team with developers and a risk for everyone else.

What can you buy for it?

Less depends on this than it used to. We counted our own shelves at the end of November 2026: about two in three creator resources list ESX, QBCore and Qbox together. Roughly a quarter are QBCore and Qbox only, and under a tenth are ESX only. Whichever side you pick, most of the market follows you. Browse ESX scripts and QBCore scripts side by side and you will see the same product names in both.

What does your team already know?

A developer fluent in xPlayer will be slower for a month on Player.Functions, and the reverse holds too. For a small team that month matters more than any benchmark. If nobody on the team has a preference, that is a point for ESX Legacy, whose config and SQL-driven jobs are easier to change without touching Lua.

Which features do you want in the core?

Gangs, character metadata, and with Qbox multijob and a queue, come built into the QB family. ESX covers the same ground with addon resources such as esx_society and esx_multicharacter. Neither approach is wrong.

Our pick for a blank-slate city today: Qbox if the team writes code, ESX Legacy if the team mostly configures. The setup guides for each are here for Qbox and here for ESX Legacy. If you are set on the original core, the QBCore install notes cover the URL deployment.

What porting a script between QBCore and ESX costs

Price it by tier. Open the resource and work out which of these four it is.

  • Tier 1: it already supports both. Look for a framework setting in the config or a bridge folder with one file per framework. The port is a config change and a test session. Going by the shelf count above, most current paid resources sit here.
  • Tier 2: open source, framework calls only. The work is mechanical: swap the player lookups, money calls, job checks, callbacks and notifications. Count the call sites to size it:
    grep -rnE "ESX\.|xPlayer\." --include=*.lua . | wc -l

    As a rough guide, 30 hits is an afternoon. 300 is a week, mostly testing.

  • Tier 3: it runs its own SQL against core tables. Queries that read users, owned_vehicles or job_grades have no one-line equivalent on the other side, because QBCore stores that data as JSON or in Lua files. Budget a rewrite of the data layer, plus a migration for rows that already exist.
  • Tier 4: escrowed and single framework. You cannot edit encrypted files. Check the manifest for escrow_ignore: if the framework calls sit in an ignored, readable file, you are back in tier 2. If they do not, the cost is asking the author for a build or buying a replacement.

Two traps catch people in tier 2. Money names differ, so black_money has no QBCore account to land in. And inventory calls are a port of their own: a resource written for the ESX inventory API needs mapping to qb-inventory or ox_inventory exports, and those calls are often the bulk of the work.

Porting a whole server is a different bill

Moving one resource is a development task. Moving a live city from ESX to QBCore, or back, is a data migration, and we found no converter in either project’s documentation. Characters and bank balances can be mapped with SQL. Inventories, owned vehicles, properties and job grades need hand-written conversion, and every installed resource lands in one of the four tiers above.

Compare that with staying inside a family. QBCore to Qbox has a documented path that carries characters, money, items and vehicles across, described in Qbox vs QBCore. That is why the framework decision deserves an evening of thought now. Changing your mind later costs weeks.

Pick the base your team can maintain, buy resources that list more than one framework and keep the receipts.

From the store

Best sellers

All scripts

Read next