Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

What changes compared with FiveM

RedM uses the same server software as FiveM (FXServer, published by Cfx.re). The server.cfg is therefore read the same way: one command per line, run from top to bottom, lines starting with # ignored, and set for a private value, sets for a public one. The guide FiveM server.cfg covers these shared rules. Two lines are specific to RedM:

set gamename rdr3
sv_enforceGameBuild 1491
  • set gamename rdr3: this is the line the Cfx.re documentation asks you to add for a server to host RedM. It sets the game: gta5 for FiveM, rdr3 for RedM. Without it, the server starts as a FiveM server: it refuses resources written for RedM and RedM players cannot join. The documentation also shows the command-line form, +set gamename rdr3.
  • sv_enforceGameBuild 1491: the Red Dead Redemption 2 version forced on every player. The Cfx.re documentation lists only one build for RedM, 1491, described as the September 2022 update. This setting is only read at startup. The guide RedM game build explains this choice.

Put these two lines at the top of the file. The official recipes from Cfx.re, VORP and RSG all contain both.

02

Network, slots, license key and Steam

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

These two lines open the listening port: 30120, over TCP and UDP, as on FiveM. 0.0.0.0 means "every address on the machine". On a hosted server, keep the address and port delivered with the server; to run two on the same machine, give them different ports (see game server ports).

  • sv_maxclients 48: the number of slots, from 1 to 2048. According to the documentation, from 32 slots OneSync must be set to on or legacy, and above 64, to on. Above 48 players, you also need a key linked to a Cfx.re Element Club subscription.
  • set onesync on: server-side world synchronisation. The VORP and RSG recipes enable it, and some RSG resources declare it as required. If the server runs under txAdmin, set OneSync in its settings instead (see OneSync).
  • sv_licenseKey "…": the license key, created on the same Cfx.re portal (portal.cfx.re) and in the same way as for FiveM: see Cfx.re license key. Write it without sets, and never show it in a screenshot.
  • set sv_enforceSteamAuth true: requires every player to have a Steam account linked to their Cfx.re account, which gives them a steam: identifier. VORP recognises players by this identifier and enables this line in its recipe. The Cfx.re documentation states that it needs server version 38004 or later, and that the old steam_webApiKey variable has had no effect since 4 November 2026.
03

The name and icon are set on the Cfx.re portal

The Cfx.re documentation marks sv_hostname, sv_projectName, sv_projectDesc and load_server_icon as deprecated, and points to the Cfx.re portal to set the server name, the project name and description, and the icon. The server.cfg of the official Cfx.re RedM recipe goes further: its header states that these settings, along with locale, tags, banner_connecting and banner_detail, are no longer configured in the file but in the server's page on portal.cfx.re/servers.

If you reuse an old server.cfg that still has these lines, fill in the same details on the portal: that is what counts for the server list. If your server does not show up there, see server missing from the list, whose causes also apply to RedM.

04

Resources, start order and permissions

ensure name starts a resource, or restarts it if it is already running. The name is the name of its folder in resources. Resources start in the order of the lines: a resource must come after the ones it depends on. The safe order is always the same:

  1. the Cfx.re resources: the official RedM recipe starts mapmanager, chat, spawnmanager, redm-map-one and hardcap;
  2. the database, oxmysql, preceded by the set mysql_connection_string line (see oxmysql);
  3. the framework: for VORP, vorp_menu and vorp_lib, then vorp_core and its modules (details in installing VORP Core); for RSG, rsg-core then its resources (see installing RSG Core);
  4. your own scripts, one ensure line each.

ensure [folder] starts a whole category folder at once, but without letting you choose the order inside it. Install only one framework: VORP and RSG both manage characters, money and inventory.

Permissions. As on FiveM, add_ace grants a right to a group and add_principal puts a player or a group inside another group:

add_ace group.admin command allow
add_ace group.admin command.quit deny
add_principal identifier.steam:110000xxxxxxxxx group.admin

The identifier depends on the framework: VORP uses the Steam identifier, RSG the license identifier and its own groups (rsgcore.god, rsgcore.admin…). The txAdmin recipes from Cfx.re, VORP and RSG add the identifiers of the txAdmin master account to the administrators on their own.

05

A full commented example

Here is a server.cfg for a VORP server. Replace the example values with your own; for RSG, replace the VORP block with ensure rsg-core followed by its resources.

# --- Game and version: at the top of the file ---
set gamename rdr3
sv_enforceGameBuild 1491

# --- Network: port 30120 over TCP and UDP ---
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

# --- Slots and OneSync ---
sv_maxclients 48
set onesync on

# --- Players identified by Steam (required by VORP) ---
set sv_enforceSteamAuth true

# --- Chat provided with the server, as in the official recipe ---
set resources_useSystemChat true

# --- Database: set, never sets ---
set mysql_connection_string "mysql://redm:long-password@127.0.0.1/redm?charset=utf8mb4"

# --- Cfx.re resources ---
ensure mapmanager
ensure chat
ensure spawnmanager
ensure redm-map-one
ensure hardcap

# --- Database, then the framework ---
ensure oxmysql
ensure vorp_menu
ensure vorp_lib
ensure vorp_core
ensure vorp_inputs
ensure vorp_progressbar
ensure vorp_inventory
ensure vorp_character

# --- Your scripts, after the framework ---
ensure my_script

# --- Administrators ---
add_ace group.admin command allow
add_ace group.admin command.quit deny
add_principal identifier.steam:110000xxxxxxxxx group.admin

# --- License key: keep it secret ---
sv_licenseKey "your_license_key"

Three mistakes come up often:

  • no RedM resource starts: the set gamename rdr3 line is missing or misspelled;
  • "Couldn't find resource": the name after ensure does not match the folder name;
  • a change has no effect: the server was not fully restarted, while the game build and OneSync are only read at startup.

Before posting this file to ask for help, remove the license key and the database password.

06

On CloudFive

On a RedM hosting plan, the server.cfg is edited in the editor of the Files tab in the client area, or over SFTP. VORP Core installs in one click from the official recipe: the MariaDB database is created and filled, and the file is written with set gamename rdr3 and game build 1491. A shared Patreon key is provided at no extra cost, limited to 48 players; beyond that, get your own Element Club subscription on the Cfx.re portal and put your key in the server's startup settings. Make a backup from the client area before editing the file: you can roll back in one click.

Servers run in France on Ryzen 9 9950X, with Premium Anti-DDoS included and a profile specific to RedM, billed monthly with no commitment.

07

Frequently asked questions

Which line do I add to server.cfg for a RedM server?

The line set gamename rdr3, at the top of the file. It tells the server it runs Red Dead Redemption 2; without it, the server starts as a FiveM server and refuses RedM resources.

Which sv_enforceGameBuild should I use for RedM?

sv_enforceGameBuild 1491. It is the only RedM build listed in the Cfx.re documentation, described as the September 2022 update, and the one forced by the official recipes from Cfx.re, VORP and RSG.

Which port does a RedM server use?

Port 30120, over TCP and UDP, as for FiveM. It is set with the endpoint_add_tcp and endpoint_add_udp lines of server.cfg.

Where do I set the name of a RedM server?

On the Cfx.re portal, in the server's page. The Cfx.re documentation marks sv_hostname, sv_projectName, sv_projectDesc and load_server_icon as deprecated in favour of the portal.

Is steam_webApiKey still needed on RedM?

No. According to the Cfx.re documentation, this variable has had no effect since 4 November 2026. To require a Steam identifier, as VORP does, use set sv_enforceSteamAuth true.

Our plans

Going further.

The plans covered in this guide, hosted in France and protected by our anti-DDoS, with no commitment.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay