The Lab
Install guide

Set up a RedM server with txAdmin

txAdmin ships with FXServer and is the usual way to create and run a RedM server. RedM uses the same server artifacts as FiveM; what makes it a RedM server is the game name set in its config. This guide covers the setup up to the first join.

Estimated time: 30 min

Before you start

  • A Windows or Linux machine with a public IP, or a host that provides FXServer
  • A Cfx.re account
  • A MySQL or MariaDB database if your framework needs one

Install steps

  1. Step 1: Get a server license key

    Sign in to the Cfx.re portal and create a server registration key. Use the account that will own your paid assets: escrowed scripts only run on servers whose key belongs to the account that holds them.

  2. Step 2: Download the server artifacts

    Download a recommended FXServer build for your OS and extract it to its own folder, separate from your server data. Updating later means replacing this folder only.

  3. Step 3: Start txAdmin

    Run FXServer.exe on Windows or ./run.sh on Linux. txAdmin starts its web panel on port 40120 and prints a PIN in the terminal to link your Cfx.re account and set an admin password.

    ./run.sh
  4. Step 4: Deploy the server data

    In the setup, choose "Remote URL Template" and paste your framework's recipe URL (VORP and RSG publish theirs on GitHub), or point txAdmin at an existing server data folder. Enter the license key in the "Before you begin" step, then run the recipe.

    # VORP
    https://raw.githubusercontent.com/VORPCORE/VORP_txAdmin/main/vorp_recipe.yaml
    
    # RSG
    https://raw.githubusercontent.com/Rexshack-RedM/txAdminRecipe/main/rsgcore.yaml
  5. Step 5: Make it a RedM server

    Check that server.cfg sets the game name and, if you want a fixed game build, enforces one (1491 is the RedM build listed in the Cfx.re docs and the one the VORP recipe uses). OneSync is enabled from txAdmin's FXServer settings; the VORP and RSG recipes set it to on.

    set gamename rdr3
    sv_licenseKey "your-key"
    # optional: pin a game build
    # sv_enforceGameBuild 1491
  6. Step 6: Start and join

    Start the server from the dashboard and watch the live console. In RedM, connect with F8 then connect <ip>:30120, or find the server in the list once it is public.

    connect 127.0.0.1:30120

Troubleshooting

The server starts as a FiveM server

gamename rdr3 is missing from server.cfg.

Invalid license key

The key was regenerated or belongs to another account. Copy it again from the Cfx.re portal.

Paid scripts refuse to start

The license key is not from the account that owns them. See the escrow guide.

FAQ

Which port do I open?

30120 TCP and UDP for players, and 40120 TCP for the txAdmin panel if you manage it remotely.

Do I need OneSync?

Many scripts expect it. The Lab Id requires it to validate distances on the server.