Analytics runs only if you accept. No names, codes or payment details are sent, and shopping works the same either way. Details: privacy and cookies.

  • Necessary Keeps your cart and this choice in your browser so the store works. We ask again after 12 months.
    Always on
  • Analytics (PostHog) Counts pages, clicks and store actions with your device type and rough location, and may record your visit with typed text hidden. Its cookie lasts 365 days. Data is stored in the EU. If you log in with Cfx.re, your visits count as one customer on each device where you accept, and your Cfx.re name is never sent.
    Off
  • Videos Product videos load from YouTube (Google) only when you press Play. YouTube may store data on your device. If you reject, Play opens the video on youtube.com in a new tab instead.
    When you press Play

With analytics on, the site keeps this visit's campaign source in this tab until you close it.

Change your choice any time with Cookie settings at the bottom of the page.

How to make your own FiveM server with txAdmin

Making your own FiveM server takes three steps. Download the server files from Cfx.re, start them once so txAdmin opens in your browser, and let txAdmin deploy a recipe, which gives you a working ESX, Qbox or QBCore server with its database. You’ll need a free Cfx.re account and license key, a Windows or Linux machine, MariaDB for the framework recipes, and port 30120 open on TCP and UDP so players can join.

This guide is about running a server. If you only want to play on someone else’s, FiveM and GTA V are all you need.

Before you start

  • A Cfx.re account, the same one you use on the Cfx.re forum. txAdmin links to it during setup.
  • A server license key. You can register one for free on the Cfx.re Portal, under server registration keys. Keep it private.
  • A Windows or Linux machine that stays on while people play. If you’d rather rent one with the server preinstalled, Cfx.re keeps a list of game server hosting providers.
  • MariaDB, for the framework recipes. Qbox supports MariaDB 10.9.0 or newer and doesn’t support MySQL. The ESX docs warn against XAMPP. A database tool such as HeidiSQL, which the QBCore docs use, lets you look at the tables.
  • On Linux, the xz or xz-utils package to extract the server files.
  • On the PC you play from, FiveM and GTA V of the same edition as the server. FiveM Legacy requires GTA V Legacy, and FiveM for GTAV Enhanced requires GTA V Enhanced.

Choose Legacy or Enhanced server files

The Cfx.re Server Download page asks you three things: the platform (“FiveM / RedM” for Legacy, or “FiveM for GTAV Enhanced”), the operating system, and the update branch (Recommended or Latest). Each platform ships its own file names:

Legacy (“FiveM / RedM”) FiveM for GTAV Enhanced
Windows download server.7z cfx-server_win_x64
Linux download fx.tar.xz cfx-server-linux_x64
Server program FXServer.exe cfx-server.exe
Extra on Windows none Microsoft Visual C++ 2017 Redistributable
Asset Escrow yes “Not implemented yet”

Asset Escrow is the Cfx.re system that protects escrowed paid scripts. Cfx.re’s Legacy vs Enhanced page lists it as not implemented on Enhanced, so if you’ll run escrowed scripts, check that page before you pick Enhanced. From here on, the steps use the Legacy file names.

Download the server files

  1. On the Server Download page, choose your platform, your operating system and the Recommended branch. Old links to runtime.fivem.net/artifacts redirect to that page.

  2. On Windows, create C:\FXServer\server and extract server.7z into it with 7-Zip or WinRAR.

  3. On Linux, create the folder and move into it:

    mkdir -p ~/FXServer/server
    cd ~/FXServer/server
    
  4. On Linux, copy the build’s link from the page, download it with wget and that link, then extract it:

    tar xf fx.tar.xz
    

You should now see FXServer.exe (Windows) or run.sh (Linux) in the folder. Don’t put your server data in here. txAdmin asks for a separate data folder later, in the recipe step. There’s one exception to the Recommended branch: Qbox’s install page asks for the newest build in the list.

  1. On Windows, double-click FXServer.exe. On Linux, go to ~/FXServer/server and run bash run.sh with no +exec argument. Cfx.re’s txAdmin page runs it inside screen, so it keeps going after you close the terminal. The console shows the txAdmin address and a PIN, and on Windows a browser tab opens.
  2. Enter the PIN and click Link Account.
  3. Log in with your Cfx.re account and click Yes, Allow.
  4. Create a password for the txAdmin panel.
  5. Enter a server name and click Next.

The txAdmin panel uses TCP port 40120 by default. That port is only for you: players join on 30120.

Deploy an ESX, Qbox or QBCore recipe

A recipe downloads a framework and its starter resources, imports the SQL into your database and writes server.cfg for you. txAdmin’s Popular Recipes list has two framework recipes, ESX Legacy and Qbox. Cfx.re took QBCore off that list on 29 October 2026 and marked its recipe deprecated, but the recipe file is still online, so you can deploy it by its URL:

Recipe Where to find it Downloads, among others
ESX Legacy Popular Recipes the ESX core and ESX Legacy addons, oxmysql, ox_lib, pma-voice
Qbox Popular Recipes qbx_core, oxmysql, ox_lib, ox_inventory, qbx_police, qbx_ambulancejob
QBCore Remote URL Template the QBCore resources, including qb-policejob and qb-ambulancejob, and oxmysql

If you haven’t picked a framework yet, how ESX, Qbox and QBCore compare helps you choose.

  1. For the deployment type, choose Popular Recipes, then your recipe. For QBCore, choose Remote URL Template instead, paste https://raw.githubusercontent.com/qbcore-fivem/txAdminRecipe/main/qbcore.yaml and click Next.
  2. Keep the data folder txAdmin suggests, or pick your own outside C:\FXServer\server. It must be empty or not exist yet, and its parent folder must exist. Choose with care, because moving it later means changing its path in server.cfg and in txAdmin.
  3. Click Go to Recipe Deployer, check the recipe and continue. Paste your license key into Server Registration Key.
  4. Open Show/Hide Database options (advanced) and check the details: host localhost, port 3306, your MariaDB user and password, and the database name. Watch out for Delete Database. It’s on by default and deletes any existing database with that name, so use a new name or turn it off. Then click Run Recipe, and the deployer downloads the resources and imports the SQL.
  5. Look over the server.cfg it wrote and click Save & Run Server. On the first QBCore start, let yarn finish installing before you stop anything.

The server starts and txAdmin shows its console.

Read the server.cfg the recipe wrote

The recipe puts server.cfg in the data folder. These are the lines that decide whether players can find and join your server. The values come from the example server.cfg on Cfx.re’s vanilla setup page.

Line What it does
endpoint_add_tcp "0.0.0.0:30120" and endpoint_add_udp "0.0.0.0:30120" The port players connect to, on TCP and UDP
sv_licenseKey Your Portal key. Change it here if you register a different one
sv_hostname, sets sv_projectName and sets sv_projectDesc The server list name, project name and description. Cfx.re marks all three as deprecated: set them on the Cfx.re Portal instead
sv_maxclients 48 The player limit
set onesync on OneSync, which all three framework recipes turn on
set mysql_connection_string The database login oxmysql reads. It must use set and come before any resource starts
add_ace group.admin command allow and add_principal identifier.fivem:1 group.admin Admin rights: the group gets every command, and the account with that FiveM ID joins the group. 1 is Cfx.re’s sample ID, so put your own FiveM ID there. txAdmin manages admins itself, so your recipe’s file may not have these lines
ensure Starts a resource when the server starts

Open port 30120

  1. In your router, forward port 30120 on TCP and UDP to the machine running the server. On a rented machine, open it in the host’s firewall settings instead.
  2. In the machine’s own firewall, allow port 30120 on TCP and UDP.
  3. From outside your network, open your public IP with :30120/info.json on the end, such as http://203.0.113.5:30120/info.json. If the page loads, the port is open. Cfx.re also points to canyouseeme.org for checking the port.

Check it works

  1. On the PC that runs the server, start FiveM and press F8 to open the console.

  2. Run:

    connect 127.0.0.1:30120
    

    FiveM loads into your server.

  3. Ask a player on another network to run connect with your public IP and :30120.

  4. Give the server list time. A server can take up to 8 minutes to show up there after it starts.

If it fails

  • Players on other networks time out, but you can join from the server PC: port forwarding or a firewall is blocking 30120. Run the info.json check from outside your network.
  • The server shows as private in the list: the sv_master1 line in server.cfg lost its #. Put the # back at the start of the line.
  • The server starts slowly on Windows: Microsoft Defender may be scanning the server files. Open PowerShell as administrator and run Add-MpPreference -ExclusionPath 'C:\FXServer\', with your own folder if yours is different.
  • Antivirus removes FXServer.exe: the ESX docs call this a false positive. Restore the file and add the same Defender exclusion.
  • Your database is MySQL and you chose Qbox: Qbox doesn’t support MySQL. Install MariaDB 10.9.0 or newer and run the recipe again.
  • You started FXServer yourself, no resources start and players get timed out or connection refused: Cfx.re traces this to a missing +exec server.cfg. Start FXServer.exe with no arguments and let txAdmin run it.

Replace the default police job

Police and EMS are the jobs most other roleplay runs into. A robbery ends in an arrest, and a crash ends at the hospital. The recipes install free versions of both, which makes them the first jobs worth replacing.

Our Advanced Police Job supports ESX, Qbox and QBCore. It covers arrests, patrol gear, vehicle radar, live bodycams and as many stations as you need. Its README asks for es_extended, qb-core or qbox, for mysql-async or oxmysql, and for bl_ui for the default cuff minigames. Remove the recipe’s police job (esx_policejob, qbx_police or qb-policejob) before you start ours, so you don’t end up with two resources running the same job. The showcase video is 4:45 long if you want to see it first.

Replace the default ambulance job

Our Advanced Ambulance Job supports ESX, Qbox and QBCore. Every injury has a body part, a type and a severity, and EMS treat it with the matching item. Downed players crawl and bleed out on your timer until CPR, a defibrillator or adrenaline brings them back. While 2 or fewer EMS are online, a hospital medic NPC revives players. You download the stretcher and wheelchair models separately, and the README links them.

Add the rest of your scripts

Pick the rest by what your players do. The scripts a roleplay server needs walks through them. If you plan to run several of ours, compare our subscription plans. Both jobs are in Essential and in Ultimate.

Then how to install FiveM scripts takes each one from the download to its first start on your server.

Scripts in this guide

  • Arrests, patrol gear, vehicle radar, live bodycams and as many stations as you need.

    Supports ESX, Qbox and QBCore

    Top 5 paid police job script on FiveM

    400+ servers (5Metrics, checked 11 November 2026)

    €24.99+ VAT at checkout, one-off

  • Skeletal injury system with 13 treatment items, last stand revival and hospitals.

    Supports ESX, Qbox and QBCore

    250+ servers (5Metrics, checked 11 November 2026)

    €24.99+ VAT at checkout, one-off

Server counts: 5Metrics, checked 11 November 2026. Detected servers running each script, rounded down.

Spin for a discount code

Every spin gets a code; chance sets its size.

Cfx.re login and joining our newsletter are needed for your code.

Checking whether you can spin…

Odds for every spin
DiscountChanceMinimum order
15% off60%None
20% off28%None
25% off10%€30.00 + VAT
30% off2%€39.00 + VAT

Wheel codes work on scripts, bundles and a monthly plan's first payment, not on gift cards. One spin per Cfx.re account every 90 days. Each code is valid for 14 days and works once, with one code per order.