Install ESX or QBCore on FiveM server
Comparative ESX Legacy vs QBCore, deployment TXAdmin, MySQL database, jobs and first resources for a roleplay FiveM server.
Ready to start your service? Check offers and order online.
View offers and orderInstall ESX or QBCore on FiveM server
ESX Legacy and QBCore are the two dominant roleplay frameworks for FiveM server. This guide compares approaches and details installation via TXAdmin on FiveM Anthony IT Solutions hosting: MySQL base, artifacts, core resources and first jobs.
ESX vs QBCore, what to choose?
| Criteria | ESX Legacy | QBCore |
|---|---|---|
| Learning curve | Moderate, Community Doc | Moderate, active official doc |
| Paid/free Scripts | Very large ESX catalogue | QBCore Catalogue in Growth |
| Performance | Depends on scripts | Often lighter at the base |
| Jobs / inventory | esx_jobs, esx_inventory variants | qb-inventory, built-in qb-jobs |
For a new server in 2025-2026, evaluate the availability of scripts you plan to buy or use before deciding.
Prerequisite
- FiveM server active, start FiveM
- Key license key Keymaster, licence & connection
- MySQL base, oxmysql
- TXAdmin configured, TXAdmin
- Recent FiveM artifacts recommended
Installation via TXAdmin Recipe (recommended)
- Go to TXAdmin from the game panel
- Create a new server or reset with recipe
- Choose ESX Legacy or QBCore Framework depending on the recipe available
- Inform:
- Cfx.re license key
- MySQL identifiers (host, user, password, database)
- Server name and slots
- Let TXAdmin download resources and dependencies
- First start: check console without red errors oxmysql
ESX Legacy manual installation
- Install
oxmysqland configure SQL connection - Import the SQL scheme ESX (file
es_extended.sql) - Order in
server.cfg:ensure oxmysqlensure es_extendedensure esx_menu_default, context, dialog...- Jobs and add next
- Configure
es_extended/config.lua(locale fr, starting money...)
Manual installation QBCore
ensure oxmysqlthenensure qb-core- QBCore SQL Import (
qb-core.sql+ tables jobs) - Add
qb-inventory,qb-spawn,qb-multicharacter - Configure
qb-core/shared/jobs.luaanditems.lua - Test character creation in game
server.cfg, critical order
The loading order avoids "dependency missing" errors:
- oxmysql
- Framework core (es_extended / qb-core)
- Libs IU (ox_lib recommended)
- Inventory, target, phone
- Jobs, vehicles, mapping
First resources roleplay
- ESX : esx_policejob, esx_ambulancejob, esx_vehicleshop, esx_banking
- QBCore : qb-policejob, qb-ambulancejob, qb-vehicleshop, qb-banking
- Add
ox_libandox_targetfor modern interactions
Troubleshooting
- oxmysql connection refused, check host (often internal IP or localhost), SQL user, firewall
- ESX/QB nil value, resource started before the framework
- Black screen spawn, qb-spawn / esx_multicharacter misconfigured
- Double job, conflict between two jobs scripts, remove duplicates
Frequently Asked Questions
Can we migrate ESX → QBCore?
Complex migration (inventories, vehicles, accounts). Plan wipe or community conversion tools.
How much RAM for an RP server?
4 GB minimum start, 6-8GB with mapping and 32+ players, upgrade according to monitoring TXAdmin.
Related guides
FiveM Hosting · Wiki game server