Make a FiveM server public: Cfx.re key, server.cfg and txAdmin
This guide explains how to generate a license key on the Cfx.re portal, configure server.cfg and txAdmin, then get your FiveM server listed in the server browser.
By Salem ASSADI • Published 5 November 2026 • Updated 25 November 2026 • Related plan: FiveM server
Why my FiveM server does not show up in the list
A FiveM server that starts is not necessarily a visible server. To appear in the FiveM client's server list, it must have a valid license key issued by Cfx.re, announce itself correctly to the list servers and be reachable on its game port. If any of these is missing, the server runs but nobody finds it, or it shows up without a name, without tags and without the right player slots.
This guide explains how to make a FiveM server public: generate the key on the Cfx.re portal, set sv_licenseKey, configure the name, tags, locale and slot count in server.cfg, set up txAdmin on first start, connect, then fix common errors. The examples are based on the RXCORP FiveM server plan, managed from the Pelican panel with txAdmin and a MariaDB database included.
Prerequisites
- An installed FiveM server, with access to the panel.rxcorp.me panel (Console, Files, Databases, Network, Startup).
- A Cfx.re account (the same one used for the Cfx.re forum).
- The FiveM client installed on your PC, with a legitimate copy of GTA V.
FiveM server ports on RXCORP
Each FiveM server gets two consecutive ports, shown in the Network tab and in the client area:
- the game port (TCP and UDP), in the form
SERVER-IP:PORT(the IP address shown by the panel): this is the address players use; - the txAdmin port, equal to the game port + 1: the web admin interface is available at
http://SERVER-IP:PORT+1.
For example, if your game port is 30120, txAdmin answers on port 30121. Do not change these ports in your files: they must match the panel's allocation.
Step 1: generate a license key on the Cfx.re portal
Every FiveM server needs a license key to start and be listed. It is created for free on the Cfx.re portal, which replaced the former Keymaster site:
- Log in to portal.cfx.re with your Cfx.re account.
- Open the servers section, then license key management.
- Create a new key: give it a name, enter the server's IP address and the hosting type requested by the form.
- Copy the generated key.
server.cfg): someone else could use it, and abuse is attributed to your account. If it has leaked, generate a new one from the portal.Step 2: set up txAdmin on first start
txAdmin is the official web interface for managing a FiveM server. On RXCORP, it comes preinstalled. On first start:
- Start the server from the panel's Console tab.
- Find the PIN code displayed by txAdmin in the console. It is only used for the initial setup.
- Open
http://SERVER-IP:PORT+1in your browser (the IP address from the Network tab, then the game port + 1) and enter the PIN. - Link your Cfx.re account, then create the administrator account (with a strong backup password).
- Follow the wizard: server name, then deployment type. You can start from a recipe offered by txAdmin or point to existing server data.
When deploying a recipe, txAdmin asks for the license key and, if the recipe uses a database, its credentials. The included MariaDB database is created and viewed in the panel's Databases tab, which shows the host, database name, user and password. To install a complete game framework, see the guide install QBCore or ESX on a FiveM server.
Step 3: essential server.cfg settings
The server.cfg file sits in the server data folder (txAdmin shows it in its CFG editor, and it is also reachable from the Files tab or over SFTP). Here are the lines that control the server's visibility and presentation:
# Server identity in the list
sv_hostname "My RP server | EN"
sets sv_projectName "My RP server"
sets sv_projectDesc "English-speaking roleplay server"
sets tags "roleplay, english, serious"
sets locale "en-US"
# Maximum concurrent players
sv_maxclients 32
# Cfx.re license key
sv_licenseKey "YOUR_KEY_HERE"
sv_hostname: name shown in the server list.sv_projectNameandsv_projectDesc: project name and short description, used by the server list.sets tags: comma-separated keywords that help players filter the list.sets locale: server language in language-COUNTRY format (en-US,fr-FR…). An invalid value can prevent correct display.sv_maxclients: maximum number of players (see step 4).sv_licenseKey: the key generated in step 1, in quotes.
If your server.cfg contains endpoint_add_tcp and endpoint_add_udp lines, they must listen on the game port allocated by the panel. Finally, make sure no line sets sv_master1 to an empty value: that is the method used to deliberately hide a server from the list. On a server managed by txAdmin, edit server.cfg from txAdmin or the panel, then restart the server.
Step 4: player slots and OneSync
OneSync is FiveM's synchronization system that lets the server manage world and entity state, and go beyond the historical player limit. Without OneSync, a FiveM server is limited to 32 players. Beyond that, OneSync is required, and the maximum number of slots allowed also depends on the Cfx.re plan tied to your license key. The terms change over time: check the limit that applies to your account on the Cfx.re portal and in the official documentation before raising sv_maxclients.
With txAdmin, OneSync is set in txAdmin's FXServer settings rather than in server.cfg; avoid defining it in both places. Most recent frameworks assume OneSync is enabled: refer to their documentation.
Also keep the machine's resources in mind. The FiveM Dev plan (3 GB RAM, 1 vCPU Intel Core i7-8700K, 20 GB SSD, 1 MySQL database) is designed for development and testing; FiveM Starter (6 GB RAM, 2 vCPUs, 40 GB SSD, 1 MySQL database) for opening a community server. Actual load depends mostly on scripts and on added vehicles or maps, not just on the slot count.
Step 5: connect and check visibility
To test without going through the list, open the FiveM client, press F8 to open the console and type:
connect SERVER-IP:PORT
Replace SERVER-IP and PORT with the IP address and game port shown in the Network tab (not the txAdmin port). Once the connection works, look for your server's name in the list: it may take a few minutes to appear after startup.
Step 6: restarts and scheduling with txAdmin
txAdmin centralizes day-to-day administration: live console, player list, warnings and bans, action log, and starting, stopping or restarting the server. In its settings, the restarter section lets you define scheduled restarts at fixed times, with announcements to players. A daily restart at an off-peak time is good practice to free memory and apply resource updates.
Prefer txAdmin for these restarts, since it is the one controlling the FXServer process. The panel's Backups tab is still useful for backing up files before a major change, and the database deserves its own regular exports.
Troubleshooting
The server does not appear in the list
- Read the console at startup: a license key error (missing, invalid or revoked) prevents registration with the list. Check
sv_licenseKey, the quotes and that there is no stray space. - Check that
sv_master1is not set to an empty value. - Make sure the server listens on the right game port, over TCP and UDP, and that no
endpoint_add_*line uses another port. - Test with
connect: if direct connection works, the server is reachable and you only need to wait or fix the announcement.
"Couldn't load resource"
The server cannot find or load a resource called by ensure in server.cfg. Check that the name matches the folder name exactly (including case), that the folder is inside resources/ (subfolders in brackets such as [local] are scanned), that it contains a valid fxmanifest.lua file, and that its dependencies are started before it. The full error message in the console usually states the cause.
Players time out
If all players get disconnected at the same time, look for a resource that is blocking the server: the console shows warnings when the server thread falls behind, and the resmon 1 command in the client's F8 console shows client-side resource usage. Very heavy streamed files (vehicles, maps) also lengthen loading times. If only one player is affected, the problem is more likely their connection or client cache. RXCORP network status is shown on status.rxcorp.me; the permanent DDoS filtering requires no configuration on your side.
txAdmin is unreachable
Check that you are using the server's IP address and the game port + 1, over http://, and that the server is started in the panel. If you have lost admin access, contact support.
Conclusion
Making a FiveM server public comes down to a few points: a valid license key in sv_licenseKey, a clean server.cfg (name, tags, locale, slots), OneSync configured in txAdmin and correctly used ports. To launch your server with txAdmin and MariaDB included, delivered within a few minutes with no commitment, see the RXCORP FiveM server plan (from €3.49 per month). Support is available on Discord and by ticket. More tutorials are available in the guides section.