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.
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
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.
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.
Step 3: Start txAdmin
Run
FXServer.exeon Windows or./run.shon 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.shStep 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.yamlStep 5: Make it a RedM server
Check that
server.cfgsets 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 1491Step 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.
Related guides
- RedM server.cfg ensure orderWhy start order matters in a RedM server.cfg and the order that works: database, libraries, framework core, inventory, then your scripts.
- Install oxmysql on RedMSet up oxmysql for RedM: download the release build, set mysql_connection_string, ensure it first and fix the usual connection errors.
- Cfx.re escrow and the Cfx.re Portal (ex-Keymaster) for RedM scriptsHow escrowed RedM scripts work: purchase, Cfx.re Portal download (ex-Keymaster), license key ownership, open config files and common errors.