Server owners · Updated
How to start a FiveM server: the official route, step by step
A FiveM server can be running in under an hour. Running a roleplay community on it is the long part. This guide follows the official setup route and points to the official documentation at each step.
What you need
- A Cfx.re account and a licence key. The official docs say to register a free licence key on the Cfx Portal at portal.cfx.re.
- Somewhere to run it. A hosting provider, a Windows machine, or a Linux machine.
- A database if you plan to run a roleplay framework. All the common ones need one.
- Time. The server software is the easy part. Rules, staff and a reason for players to stay are the work.
Three ways to host
The official server setup guide describes three routes:
- A hosting provider. The quickest start. The provider installs the server and gives you a control panel.
- txAdmin on Windows. The guided route for running it yourself. txAdmin is the web control panel that ships with the server: it installs a starter setup and lets you restart, monitor and manage players from a browser.
- A manual ("vanilla") install on Windows or Linux. The docs describe Linux as a courtesy port and recommend Windows if you expect to need troubleshooting help.
Set up with txAdmin
These are the steps from the official txAdmin guide:
- Download the recommended server build from the Server Download page and extract it. You need 7-Zip or WinRAR.
- Run
FXServer.exe. txAdmin opens in your browser and shows a PIN. - Enter the PIN and link your Cfx.re account, then set an admin password.
- Name the server and choose the "CFX Default FiveM" recipe for a clean start.
- Enter your licence key from the Portal and run the recipe.
- Start the server from the txAdmin dashboard.
A separate server build exists for GTA V Enhanced. The two editions do not share players, so decide which one you are building for. See how to install FiveM for the client side.
Ports, slots and OneSync
- Port. The example configuration in the docs listens on port 30120 for both TCP and UDP. Open both in your firewall or router.
- Slots. The
sv_maxClientssetting accepts 1 to 2048. - OneSync. According to the server commands reference, 32 or more slots need OneSync set to on or legacy, and more than 64 need it on.
The rules you agree to
Running a server means accepting Rockstar's and Cfx.re's terms. The points that catch new owners out:
- Monetisation goes through Tebex. The official docs call Tebex the exclusive monetisation partner for FiveM and say using any other platform or payment provider is prohibited.
- Read the Creator Platform License Agreement before you sell anything or use anyone else's brands. It is linked from fivem.net/terms.
We do not summarise the agreement further here, because it changes and the wording matters. Our own listing policy says what we will not list.
Getting listed and found
A public server appears on the Cfx.re server list automatically, and on this site within about ten minutes of that. What players see comes from your own settings:
- Name and description. The docs now mark the old
sv_projectNameandsv_projectDescsettings as deprecated and say to set these in the Portal instead. - Whitelist flag.
sv_appearAllowlistedshows the lock icon, andsv_allowlistInstructionstells players how to apply. This site uses the flag for its whitelisted and non-whitelisted lists. - Tags and language. The server list carries the tags and locale you set. This site reads both: tags decide whether you appear as a roleplay server and under which role and framework lists, and the locale decides your language page.
Once you are listed, add the free status banner to your website.
What to build next
- Choose a framework. ESX vs QBCore vs Qbox compares the three most used.
- Write your rules before you open. GTA RP rules explained lists what players expect to find.
- Recruit a few staff you trust, and decide whether you are public or whitelisted.
- Open small. Twenty regulars who like each other grow a server faster than two hundred strangers.
Sources: docs.fivem.net (setting up a server, txAdmin guide, vanilla guide, server commands, setting up a Tebex store) and fivem.net/terms. Checked 3 December 2026. We could not load the Portal itself, so its screens are not described.