Guide · Updated 19 Sep 2026

How to make a RedM server: artifacts, txAdmin, database, framework and launch

Making a RedM server takes an evening if you do it in the right order, and a week if you do not. This guide is how to make a RedM server on Windows in 2026: the server files, txAdmin, the licence key, the database, a framework, the lines in server.cfg that matter, the ports, the first scripts and the checks before you open the doors. Every config line below comes from the three test servers we run, one each on VORP Core, RSG Core and QBCore RedM.

What you need before you start

PieceWhat it isCost
A Windows machineYour own PC to learn on; a dedicated server or VPS for a public serverYour hosting bill
A Cfx.re accountSigns you into txAdmin, owns your server key and any scripts you buyFree
Server artifactsFXServer, the server program, with txAdmin built inFree
MariaDBThe database every framework keeps characters, money and inventories inFree
A frameworkVORP Core, RSG Core or QBCore RedMFree

The server itself does not need Red Dead Redemption 2 installed. You do, on the PC you test from.

1. Download the server artifacts

The server program is FXServer, and it is the same download for FiveM and RedM. Get the Windows build from the Cfx.re server artifacts page, take the recommended build unless your framework asks for another, and unzip it into its own folder, such as D:\RedM\server. What makes it a RedM server is one line in server.cfg, set gamename rdr3, which the recipe in step 3 writes for you.

2. Start txAdmin and get a licence key

Run FXServer.exe with no arguments. txAdmin, the web panel that runs your server, opens on port 40120 and prints a PIN in the console. Enter it and sign in with your Cfx.re account to become its first admin. Its settings, admins and ban list live in its txData folder, which is one reason that folder belongs in your backups.

Next, create a server key on the Cfx.re portal. Two rules save a lot of grief later. Make it under the same Cfx.re account you will buy scripts with, because escrowed scripts only load on a server whose key belongs to the account that bought them. And treat it like a password: never paste your server.cfg into a Discord without removing the key line first.

3. Pick a framework and deploy it

The framework is the base every other script talks to: characters, money, jobs and inventory. Pick it now, because changing later means starting the database again. VORP vs RSG Core vs QBCore compares them properly; the short version is VORP for the widest choice of scripts, RSG Core if you know QBCore from FiveM, and QBCore RedM if you are moving a QBCore community.

txAdmin's setup deploys a server from a recipe: a file that downloads the framework's resources, writes a starting server.cfg and sets up the database. Some recipes are listed in the setup screen, and a framework can publish its own for you to paste in by URL. VORP has an official recipe, and all three of our test servers were deployed this way. Follow your framework's own install page for the current recipe rather than a video from two years ago. Recipes usually ask for your licence key and your database login, so install the database first.

4. Install MariaDB

Install MariaDB, set a root password during setup, and keep the port it listens on (3306 by default) closed to the internet. The Windows installer includes HeidiSQL, which is all you need to look at tables. Let the recipe create the database, or create an empty one yourself and give the recipe its name.

Scripts reach the database through oxmysql, which every recipe above installs. It reads one line in server.cfg:

set mysql_connection_string "mysql://USER:PASSWORD@localhost/DATABASE?charset=utf8mb4"

This line holds a password, so it is the second line to remove before sharing your config.

5. The server.cfg lines that matter

A recipe writes a working server.cfg. These are the lines worth understanding. Every one of them is in all three of our servers' configs; put your own values where the capitals are:

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_maxclients 48
set gamename rdr3
set sv_enforceGameBuild 1491
sv_hostname "YOUR SERVER NAME"
sets sv_projectName "YOUR SERVER NAME"
sets sv_projectDesc "ONE LINE ABOUT YOUR SERVER"
sets tags "roleplay, western"
sets locale "en-US"
load_server_icon myLogo.png
sv_licenseKey "YOUR_KEY_HERE"
endpoint_add_tcp / endpoint_add_udp
Where players connect. 30120 on both protocols is the standard.
set gamename rdr3
Makes this a RedM server. Without it, FXServer starts as FiveM.
sv_enforceGameBuild 1491
Which game build players must run. All three of our recipes set 1491; leave it unless a framework says otherwise.
sv_hostname, sv_projectName, sv_projectDesc, tags
What players see in the server list. Write them for a person choosing a server, not for search.
load_server_icon
A 96x96 PNG in the server folder.

OneSync is not in the list because it is not a server.cfg line: it is set when the server launches, so on a txAdmin server it lives in txAdmin's settings. Our three recipes left it out of server.cfg too.

Below those lines come the ensure lines, and their order matters. oxmysql first, then the framework, then shared libraries, then scripts. How to install a RedM script covers the order and the errors that come from getting it wrong.

6. Open the ports

PortProtocolOpen it?
30120TCP and UDPYes. In Windows Firewall and, at home, as a port forward on your router.
40120TCPOnly if you manage txAdmin from another machine, and only with a strong password.
3306TCPNo. The database talks to the server on the same machine.

If friends cannot connect but you can, it is nearly always UDP missing from the firewall rule.

7. Give your staff permissions

RedM has two layers of admin. txAdmin has its own admin accounts for the panel. In-game permissions are ACE lines in server.cfg: add_ace gives a group a permission and add_principal puts a player in a group.

add_ace group.admin command allow
add_principal identifier.fivem:YOUR_ID group.admin

Frameworks add their own layer on top. VORP keeps a player's staff group on their user record in the database. RSG Core and QBCore RedM use ACE levels, such as rsgcore.admin and qbcore.admin, granted in server.cfg; follow the recipe's comments for the exact lines. Keep the list short. RedM admin tools covers what staff need once they have access.

8. Add your first scripts

A fresh recipe already has the basics, such as characters and an inventory, and usually a good deal more. Add slowly, one or two scripts per restart, so a problem points at one thing. Our free scripts are a sensible first layer:

  • Poggy Core (Free) first. It detects your framework at start and prints which one it found, and every Poggy script on the server then updates itself: it checks for updates at start and every hour, merges your config instead of overwriting it, and creates its own database tables. It needs two lines in server.cfg and prints them if they are missing.
  • Poggy Util (Free): a set of small utilities, each with its own switch, including an area-of-play box, a duty count, a help menu and /unstuck. The government stipend in it is VORP-only today.
  • Poggy Multijob (Free): several jobs per character, switched with /multijob or /mj 2, with an admin panel for online and offline characters.
  • Poggy Storage (Free): player-owned containers kept in your framework's own inventory. MIT licensed.
  • Admin Blips (Free): every player on the map for your admins, toggled with /ahb.

All of them run on VORP Core, RSG Core and QBCore RedM through poggy_core. RedEM:RP is not supported. Your framework's own GitHub has free resources for most other basics, and free RedM scripts covers ours in more depth. When you are ready for systems players build a session around, the best RedM scripts works through them by need.

9. Back up before anyone joins

The first backup should exist before the first player does. The database is the one thing you cannot download again. Server Controller (from $2.99/mo) is a Windows program that runs beside the server, not a resource: the free version backs up the database and server files when you click and restores in one click, and the paid version runs it on a schedule. It needs the MySQL client tools for database backups. How to back up a RedM server covers the free route with mysqldump and Task Scheduler.

Launch checklist

  1. The server starts with no red errors in the console.
  2. A friend on another network can connect, create a character, log out and back in, and still has their money and items.
  3. The licence key and database password are in server.cfg only, and nobody has been sent a copy.
  4. 30120 is open on TCP and UDP; 3306 is not open at all.
  5. Your staff are in the right groups, and a non-staff test character cannot run admin commands.
  6. A database backup exists, and you have restored it once to a test database.
  7. Job names are decided and written down; how to set up jobs explains why that matters.
  8. The server name, description and icon say what kind of roleplay you run.

Then open it to a few people before you advertise it. The first week finds the problems; better that happens with ten players than with fifty.

Questions this guide answers

Do I need Red Dead Redemption 2 to run a RedM server?

The server machine does not need the game; FXServer runs without it. Every player, including you when you test, needs a legal PC copy of Red Dead Redemption 2 and the RedM client from Cfx.re to join.

How much does it cost to make a RedM server?

The server software, txAdmin and a standard Cfx.re server key cost nothing, and so do MariaDB, oxmysql and the main frameworks. What you pay for is the machine it runs on, and any paid scripts you choose to add later.

Which ports does a RedM server need open?

Port 30120 on both TCP and UDP, which is where players connect. txAdmin's web panel uses 40120, which you only need to open if you manage the server from another machine. Never open the database port to the internet.

Where do I put OneSync in server.cfg?

You do not. OneSync is a launch setting, so on a txAdmin server you set it in txAdmin's settings rather than in server.cfg. None of the three framework recipes we run put it in server.cfg either.

Scripts mentioned in this guide

Whole store →
Poggy Core — Free RedM Framework Core and Auto-Updater
Free RedM Framework Core and Auto-Updater

Poggy Core

The free foundation every Poggy script runs on: one framework API for VORP Core, RSG Core and QBCore RedM, automatic updates, config files that merge themselves and database tables created on start. Use it under your own scripts too.

PriceFree
Server Controller — FiveM & RedM Server Backup Tool
FiveM & RedM Server Backup Tool

Server Controller

A standalone Windows app that schedules database and file backups, updates txAdmin hands-free and manages your server remotely, with Discord notifications and a live dashboard.

From$2.99
Poggy Util — Free RedM Server Utilities Pack
Free RedM Server Utilities Pack

Poggy Util

Eleven optional server utilities in one resource, from area of play and duty count to unstuck, weapon jams, armor and a help menu, each with its own switch.

PriceFree

Best RedM Scripts for a New Server

Economy, law, activities, roleplay tools and admin utilities. What to run, what it costs, and where the free options are.

Read the guide →

VORP vs RSG Core vs QBCore for RedM

Script availability, structure and inventory for each framework, and what "runs on VORP, RSG and QBCore" actually means.

Read the guide →

How to Install a RedM Script

Download, resources folder, SQL, start order, config and the escrow licence check. Then the five common errors.

Read the guide →

Free RedM Scripts Worth Installing

Eight free scripts, what each one does, what it needs, and what it does not do.

Read the guide →

How to Update RedM Scripts Without Breaking Your Config

The manual routine that keeps your config safe, and the automatic route that removes the routine.

Read the guide →

RedM Server Economy: How to Balance Money, Jobs and Shops

Sources, sinks, player shops, auctions, jobs and a stipend. The model, the starting numbers and the scripts.

Read the guide →

How to Set Up Jobs on a RedM Server

Job names and grades, duty, several jobs per character, badges, and making every script agree.

Read the guide →

How to Back Up a RedM Server

The database, resources, configs, licence files and txData. How to automate it, and how to test the restore.

Read the guide →

Cfx Escrow Explained for RedM Server Owners

Which files are encrypted, what you can still change, the licence file, and the error everyone hits once.

Read the guide →

RedM Server Performance: How to Reduce Lag

Measure first, then the usual causes: hot client loops, dead entities, unindexed queries and NPC systems tuned too high.

Read the guide →

Using Poggy Core in Your Own RedM Scripts

The free framework layer under your own resources: install, first script, menus, storage, jobs, standalone mode, diagnostics.

Read the guide →

RedM Script Subscriptions vs Buying Outright

The break-even maths with live prices, what cancelling does, how updates and licences work, and when each one wins.

Read the guide →

How to Choose a RedM Script: Checks Before You Buy

Framework claims, performance, open config, versions, support and video. Ten checks, and the red flags that should end the sale.

Read the guide →

How to Run a Player Economy on a RedM Server

Player-owned shops, auctions, taxes, moving prices and the weekly checks that keep a live economy healthy.

Read the guide →

How to Set Up Crafting on a RedM Server

Recipe chains, benches and campfires, job locks, skillchecks, telling players where ingredients come from, and pricing it all.

Read the guide →

How to Add Items to a RedM Server

Where each framework keeps its item list and icons, how to add an item to each, and the mistakes that break scripts.

Read the guide →

How to Set Up Fishing on a RedM Server

What makes fishing worth playing, installing it, bait and seasons, tuning the difficulty, and pricing the catch.

Read the guide →

How to Set Up Law Enforcement on a RedM Server

Crime alerts and witnesses, on-duty status and counts, badges, evidence lockers, crime scene text, jail and bounties, and how much law your player count needs.

Read the guide →

RedM /me and /do Commands: Roleplay Tools Guide

Writing a good /me and /do, overhead text or chat, scene text, status labels, skillchecks instead of dice, animations, and keeping it all clean.

Read the guide →

RedM Server Event Ideas and How to Run Them

Eight events that bring players back, how to run each, when to schedule and announce them, prizes that keep the economy intact, and a checklist.

Read the guide →

RedM Animations: Dictionaries, Scenarios, Emotes

Dictionaries, clips and scenarios, playing one from Lua, props on bones, multi-step scenes, syncing, cleanup and emotes players use.

Read the guide →

RedM Admin Tools: Moderating a Roleplay Server

txAdmin, ACE permissions, framework admin menus, admin blips, reports and evidence, staff ranks, and a moderation checklist.

Read the guide →
Join the Discord Discord