FiveM: connect to and set up your server

Start your FiveM server, connect via the F8 console and set the name, license key and txAdmin.

2 minute read Updated 14.11.2026

Here's how to connect to your FiveM server and adjust the most important settings.

Connecting

  1. Open the server page in the client area and click Start.
  2. Wait until the status shows “running”. You can follow the progress in the Console tab.
  3. Copy the address (IP:Port) at the top of the server page.
  4. In FiveM, open the console with F8 and enter connect IP:Port (address from the server page).

Important settings

In the Startup variables tab:

  • Server name (SERVER_HOSTNAME) – name in the server browser.
  • License key (FIVEM_LICENSE) – the server won't start without a valid key.
  • FiveM version (FIVEM_VERSION) – version to install; invalid entries fall back to the recommended one.
  • Steam Web API key (STEAM_WEBAPIKEY) – your Steam Web API key or none.
  • txAdmin (TXADMIN_ENABLE) – 1 enables the txAdmin management interface.

More settings (e.g. resources) are in server.cfg in the Files tab. Changes in the Startup variables tab take effect on the next restart.

Switching on txAdmin

txAdmin is the browser-based management interface for FiveM:

  1. Set the Enable txAdmin startup variable to 1 and restart the server.
  2. Open http://IP:txAdmin-port in your browser (you see the port in the Ports tab).
  3. On first access, txAdmin asks for a PIN. It is shown in the Console.
  4. Create your admin account and follow the setup wizard.

Adding resources

Upload resources (scripts, vehicles, maps) to the resources folder and add them to server.cfg with ensure resourcename. The order matters: dependencies must come before the resources that need them.

More than 48 players

For more than 48 players, FiveM needs OneSync. Add set onesync on to server.cfg and increase Max players.

How much memory?

The base configuration is enough for a small server. The more players play at the same time and the more resources run, the more memory the server needs – roleplay servers with ESX or QBCore usually need considerably more.

Good to know

  • You enter the license key when ordering; it can be changed later under Startup variables. How to get one is explained in the article “FiveM: enter your license key”.
  • You'll find additional ports (e.g. for txAdmin) in the Ports tab.
Was this helpful?