Intermediate 24 min

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.

#ESX#QBCore#Roleplay#Framework

Ready to start your service? Check offers and order online.

View offers and order

Install 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: historical ecosystem, many legacy resources. QBCore: modern architecture, performance and developer-oriented structure.

ESX vs QBCore, what to choose?

CriteriaESX LegacyQBCore
Learning curveModerate, Community DocModerate, active official doc
Paid/free ScriptsVery large ESX catalogueQBCore Catalogue in Growth
PerformanceDepends on scriptsOften lighter at the base
Jobs / inventoryesx_jobs, esx_inventory variantsqb-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

Installation via TXAdmin Recipe (recommended)

  1. Go to TXAdmin from the game panel
  2. Create a new server or reset with recipe
  3. Choose ESX Legacy or QBCore Framework depending on the recipe available
  4. Inform:
    • Cfx.re license key
    • MySQL identifiers (host, user, password, database)
    • Server name and slots
  5. Let TXAdmin download resources and dependencies
  6. First start: check console without red errors oxmysql

ESX Legacy manual installation

  1. Install oxmysql and configure SQL connection
  2. Import the SQL scheme ESX (file es_extended.sql)
  3. Order in server.cfg :
    • ensure oxmysql
    • ensure es_extended
    • ensure esx_menu_default, context, dialog...
    • Jobs and add next
  4. Configure es_extended/config.lua (locale fr, starting money...)

Manual installation QBCore

  1. ensure oxmysql then ensure qb-core
  2. QBCore SQL Import (qb-core.sql + tables jobs)
  3. Add qb-inventory, qb-spawn, qb-multicharacter
  4. Configure qb-core/shared/jobs.lua and items.lua
  5. Test character creation in game

server.cfg, critical order

The loading order avoids "dependency missing" errors:

  1. oxmysql
  2. Framework core (es_extended / qb-core)
  3. Libs IU (ox_lib recommended)
  4. Inventory, target, phone
  5. Jobs, vehicles, mapping

See understand server.cfg.

First resources roleplay

  • ESX : esx_policejob, esx_ambulancejob, esx_vehicleshop, esx_banking
  • QBCore : qb-policejob, qb-ambulancejob, qb-vehicleshop, qb-banking
  • Add ox_lib and ox_target for 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