FiveM Server Setup: FXServer, txAdmin and License Keys

Set up a FiveM server with FXServer and txAdmin. Configure your Cfx Portal key, deploy a default recipe and avoid edition mismatches.

Grand Theft Auto V artwork for rp-friends guide
Source: Rockstar Games

Overview

A FiveM server uses Cfx's FXServer software, not Rockstar's standard GTA Online sessions. The simplest official installation route uses txAdmin, which comes bundled with modern FXServer versions. Check whether your community is using FiveM for GTA V Legacy or GTA V Enhanced before selecting files or scripts; compatibility is not automatic between editions.

Prepare your Cfx account and server key

Create or sign in to your Cfx account. The official setup requires a registered server license key from the Cfx Portal. The key identifies your server instance; keep it out of publicly shared screenshots, source repositories and configuration examples. Cfx documents different filenames for Enhanced server artifacts, and a Visual C++ 2017 Redistributable prerequisite for the Enhanced Windows server.

Install FXServer and configure txAdmin

  1. Download the recommended server artifact from the official server setup page.
  2. Extract it into a dedicated folder, such as C:\FXServer\server, rather than a temporary downloads directory.
  3. Run the server executable (FXServer.exe for the normal Windows artifact, or the edition-specific executable documented for Enhanced).
  4. Open the txAdmin address shown by the console. The default local port is 40120.
  5. Use the console PIN to link your Cfx account, create an admin password and name your server.
  6. Choose the default CFX recipe in the recipe wizard, enter your Portal license key and deploy.
  7. Click Save & Run Server, then connect locally from FiveM to check the installation.

How to manage your server afterward

txAdmin supports live logs, resource and player management, scheduled restarts and configuration changes. Keep admin access restricted and make backups before adding resources or changing versions. Third-party scripts are code running on your server; use maintained trusted sources and verify whether they support your FiveM edition.

Common setup problems

If a license-key warning appears, verify your Portal key and deployed recipe. If the console reports missing resources, confirm the extraction and startup working directory. If local connections work but remote clients cannot join, inspect the host firewall, router/NAT and provider network rules rather than reinstalling immediately. Plans advertising more than 48 slots can require the relevant Cfx Element Club entitlement, so verify the provider's actual offer rather than inferring it from player-limit claims.

For joining other communities, see our GTA roleplay beginner guide.