To build a FiveM roleplay server you enable txAdmin, sign in with your Cfx.re account using a PIN, then run a QBCore or ESX recipe: txAdmin downloads the framework, creates the database tables and writes server.cfg. You need a free Cfx.re licence key and a MySQL database. Plan 8 GB of RAM for a starting QBCore or ESX server.
Before you start
A Cfx.re account, a free licence key from keymaster.fivem.net, and enough memory: 4 GB to test a blank server, 8 GB for QBCore or ESX with a few dozen resources, 16 GB and more for big servers.
Step 1: server and licence
- Pick a plan on the FiveM server page; the Essential Eco plan has a 3-day free trial without a card.
- Paste your licence key during setup. It stays in Settings > Server and licence with the name, max players (48 without Element Club) and artifact version (
recommended).
Step 2: enable txAdmin
In Settings > txAdmin: Enable txAdmin (a port is reserved automatically), start the server, Open txAdmin (for you only), Show the PIN, paste it and sign in with Cfx.re.
Step 3: database
More options > Databases > New database, then Show to get address, user and password.
Step 4: recipe
In txAdmin choose QBCore Framework or ESX Legacy, give your licence key and the database details, install, then start.
set mysql_connection_string "mysql://user:password@address:port/qbcore?charset=utf8mb4"
Step 5: resources
Mods / Plugins installs resources from GitHub into resources/[artaun]. Settings > Resources enables, disables, restarts resources.
Joining
Players press F8 and type connect plus the address shown at the top of the panel.
FAQ
QBCore or ESX? Both are free; pick the one with the scripts you want.
More than 48 players? Requires an Element Club subscription on your Cfx.re account.
FiveM server, 3-day free trial.