How do I set up txAdmin for a FiveM server?

txAdmin ships with the FXServer artifacts, so you install it by downloading a recent recommended artifact, running FXServer without a server.cfg argument and opening the web panel on port 40120. Enter the PIN from the console, link your Cfx.re account, then either import an existing server folder or deploy a recipe. Add your license key from Keymaster, set scheduled restarts, add admins and you are running.

What txAdmin is

txAdmin is the web panel bundled with FXServer. It starts and restarts the server, shows the live console, manages players, bans, warnings and whitelists, schedules restarts and can run a Discord bot. You do not install it separately; it comes with the server artifacts.

Step 1: Get the artifacts

  1. Download a recent recommended artifact build for your operating system from the official Cfx.re artifacts page.
  2. On Windows, extract server.7z into a folder such as C:\FXServer\server.
  3. On Linux, extract fx.tar.xz into a folder such as /home/fivem/server.

Keep the artifacts in their own folder, separate from your server data. That makes updating much easier later.

Step 2: First start

Run the server binary without pointing it at a server.cfg:

FXServer.exe

On Linux:

./run.sh

The console prints a PIN and tells you the panel is available on port 40120. Open that port in your browser on the same machine, or through your server's IP if you have allowed it in the firewall.

Step 3: Link your account and create a master admin

Enter the PIN, log in with your Cfx.re account, and set a backup password. This first account becomes the master admin. Protect it like a root password.

Step 4: Import or deploy

The setup wizard offers two paths:

  • Existing server data: point txAdmin at your folder containing resources and server.cfg.
  • Recipe deployment: pick a template such as an ESX, QBCore or Qbox recipe. txAdmin downloads the resources, creates the database and writes a server.cfg for you.

Either way you need a license key from Keymaster. It ends up in server.cfg:

sv_licenseKey "your_key_here"
sv_hostname "My Server"
sv_maxclients 48
set onesync on

Step 5: Configure the essentials

  1. Scheduled restarts: two to four a day, at low-traffic hours. Your own player graphs and the live stats page show when the list is quietest.
  2. Admins: add each staff member with their own login and only the permissions they need.
  3. Discord bot: optional, but useful for status embeds and whitelist checks.
  4. Firewall: do not leave port 40120 open to the whole internet if you do not need to. Restrict it to your team's IPs or use a VPN where possible.

Step 6: Test like a player

Join with a non-admin account. Check that the server appears in the list, that the hostname and description look right and that restarts warn players before they happen.

Common setup mistakes

  • Running txAdmin inside the artifacts folder and losing data on update
  • Sharing the master account among staff
  • Forgetting to back up the txData folder, which holds bans, admins and settings
  • Exposing the panel publicly with weak passwords

Once txAdmin runs, set up backups before you invite anyone.

Related questions

Stop being invisible on the server list

Upvote power decides where your server appears. FiveM Upvotes delivers it — paced, refilled, with no access to your server required.