background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Kateqoriyalar

RedM Server Setup Guide

redm rdr2 setup cfx 0 nəfər bunu faydalı hesab etdi

Complete guide to setting up your RedM server on Legion Hosting. RedM is a multiplayer modification framework for Red Dead Redemption 2, built by Cfx.re (the same team behind FiveM). This guide covers license key registration, server configuration, resource management, and connecting players. If you run into issues, see our RedM Troubleshooting guide.

What is RedM?

RedM is a community-driven multiplayer framework for Red Dead Redemption 2, developed and maintained by the Cfx.re Collective — the same organization behind FiveM (the GTA V multiplayer framework). RedM provides:

  • A dedicated server platform for hosting custom RDR2 multiplayer experiences
  • A resource/scripting system using Lua, C#, and JavaScript
  • Support for custom game modes, roleplay frameworks, and community mods
  • A client launcher that connects players to custom servers
  • Native function access for extensive game modification
FiveM Experience? If you have experience with FiveM servers, you will find RedM very familiar. The server configuration, resource system, and many concepts are shared between the two platforms. The main differences are game-specific natives and resources built for RDR2.

Getting a Cfx.re License Key

Every RedM server requires a valid Cfx.re license key. This key is free and tied to your Cfx.re account.

  1. Go to the Cfx.re Keymaster at https://keymaster.fivem.net/.
  2. Log in with your Cfx.re account (or create one if you do not have one).
  3. Click Register a new server (or "New Server" depending on the current interface).
  4. Fill in the form:
    • Label: A name for your server (for your reference only).
    • Server IP: Enter your server's IP address from GPanel. You can find this under your server's overview page.
    • Server Type: Select the appropriate type (typically "Other/VPS" for hosted servers).
  5. Click Generate. Your license key will be displayed. Copy it and save it securely.
Important: Each license key is tied to a specific server IP address. If your server IP changes, you will need to generate a new key or update the existing one in Keymaster. Keep your Cfx.re account credentials secure — anyone with access can manage your server keys.

First Start and GPanel Startup Variables

After purchasing your RedM server from Legion Hosting, log in to GPanel and navigate to your server.

Setting Startup Variables

Go to the Startup tab in GPanel. You will see several configurable variables:

Variable Description Example
CFX_LICENSE Your Cfx.re license key from Keymaster. Required. cfxk_xxxxxxxxxxxxxxxxxxxx_xxxxx
SERVER_HOSTNAME Display name for your server in the server list. My new FXServer!
MAX_PLAYERS Maximum number of connected players (1–32). 32
CFX_VERSION The CFX server build version to install. Use latest, recommended, or a specific build number. latest
STEAM_WEBAPIKEY Steam Web API key for Steam identity. Get one at steamcommunity.com/dev/apikey. Set to none to disable. none

First Start

  1. Enter your Cfx.re license key in the CFX_LICENSE field.
  2. Set your desired server name and max player count.
  3. Go to the Console tab and click Start.
  4. The server will download the RedM server artifacts on first boot. This may take a few minutes.
  5. Once you see messages indicating the server is listening (e.g., Started resource manager), your server is online.
Note: If the server fails to start with a license key error, double-check that the key is entered correctly with no trailing spaces, and that the IP in Keymaster matches your server's actual IP address.

server.cfg Configuration

The server.cfg file is the primary configuration file for your RedM server. Access it through GPanel's File Manager or via SFTP. Below is a comprehensive example configuration:

# ========================================
# RedM Server Configuration
# ========================================

# Network Endpoints
# These define what IP and port the server listens on.
# 0.0.0.0 means listen on all available interfaces.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

# Server Identity
sv_hostname "My RedM Roleplay Server"
sv_maxclients 32
sv_licenseKey "cfxk_xxxxxxxxxxxxxxxxxxxx_xxxxx"

# Server Password (leave empty for no password)
# sv_password "MyServerPassword"

# Server Description and Tags (shown in server browser)
sets sv_projectName "My RedM RP"
sets sv_projectDesc "A Wild West roleplay experience"
sets tags "roleplay, rp, economy, custom"

# Locale
sets locale "en-US"

# Steam Web API Key (optional, for Steam identity)
# Get one from https://steamcommunity.com/dev/apikey
# set steam_webApiKey "YOUR_STEAM_API_KEY"

# OneSync (networked entity sync)
# "on" = standard OneSync, "legacy" = legacy mode
set onesync on

# RCON Password (for remote console access)
rcon_password "YourRconPassword123"

# Resource Directories
# Ensure resources are loaded from these directories
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure rconlog

# ========================================
# Add your custom resources below
# ========================================
# ensure my_custom_resource
# ensure vorp_core
# ensure oxmysql

Key Configuration Options Explained

Directive Description
endpoint_add_tcp TCP endpoint for client connections. Must match the port assigned by GPanel.
endpoint_add_udp UDP endpoint for game data. Must be the same port as TCP.
sv_hostname The server name displayed in the RedM server browser and client direct connect.
sv_maxclients Maximum player slots. Must not exceed what your hosting plan supports.
sv_licenseKey Your Cfx.re license key. Can also be set via GPanel startup variable.
sets Sets a server convar that is visible in the server browser (replicated to clients).
set Sets a server convar that is only visible server-side.
set onesync Enables OneSync for better entity synchronization. Recommended to leave on.
ensure Loads and starts a resource. The resource must exist in a resources/ subdirectory.
Tip: The endpoint_add_tcp and endpoint_add_udp ports must match the port assigned to your server in GPanel. Your server will be assigned a random port unless you have a private IP. If GPanel shows your server on port 30120, your endpoints should be "0.0.0.0:30120". Using a mismatched port will prevent the server from starting correctly.

Resource Management

Resources are the building blocks of a RedM server. They contain scripts, assets, and configurations that add functionality to your server.

Resource Structure

Each resource is a folder inside the resources/ directory containing at minimum a fxmanifest.lua (or legacy __resource.lua) file:

resources/
    [system]/
        chat/
            fxmanifest.lua
            cl_chat.lua
            sv_chat.lua
        spawnmanager/
            fxmanifest.lua
            ...
    [custom]/
        my_resource/
            fxmanifest.lua
            client.lua
            server.lua
            config.lua

Loading Resources

Resources are loaded using the ensure command in server.cfg:

# Load a specific resource
ensure my_resource

# You can also use 'start' (functionally equivalent to ensure)
start another_resource

The difference between ensure and start: ensure will start the resource if it is stopped, or restart it if it is already running. start will only start it if it is not already running.

Installing New Resources

  1. Download the resource from its source (GitHub, community forums, etc.).
  2. Upload the resource folder to your server's resources/ directory via SFTP (see SFTP Upload Guide) or GPanel file manager.
  3. Add an ensure resource_name line to your server.cfg.
  4. Restart the server for the resource to load.

Popular RedM Frameworks and Resources

Framework/Resource Description
VORP Core Popular roleplay framework for RedM. Provides character creation, inventory, economy, and more. The RedM equivalent of ESX/QBCore in FiveM.
RSG Core (RedEM:RP) Another full RP framework with character management, jobs, and economy systems.
oxmysql MySQL library for Cfx.re servers. Required by most frameworks for database operations.
ox_lib Utility library providing shared functions, UI components, and helper modules.
vorp_inventory Inventory system for VORP-based servers.
Important: Always check resource compatibility with your RedM server version and framework. RedM resources are not compatible with FiveM resources directly — they must be specifically built for or ported to RedM.

How to Connect

Players need the RedM client to connect to your server. Here is how to get started:

Installing RedM

  1. Players must own a legitimate copy of Red Dead Redemption 2 on Steam, Epic Games Store, or Rockstar Games Launcher.
  2. Download the RedM client from redm.net.
  3. Install RedM. It will automatically detect the RDR2 installation.
  4. Launch RedM. On first launch, it will update and cache game files.

Connecting via Server Browser

  1. Launch RedM.
  2. Click Play from the main menu to open the server browser.
  3. Search for your server by name (the sv_hostname value from your config).
  4. Select your server and click Connect. Enter the password if one is set.

Direct Connect

  1. Launch RedM.
  2. Press F8 to open the client console.
  3. Type the following command with your server's IP and port:
connect YOUR_SERVER_IP:PORT

For example:

connect 192.168.1.100:30120

Find your server IP and port in GPanel under your server's overview page, or see How to Find Your Server IP and Port.

Tip: If your server does not appear in the server browser, make sure it has been running for at least a few minutes (it takes time to register with the Cfx.re master list). Also verify your license key is valid and the server is not set to a private/unlisted mode. See our RedM Troubleshooting guide for more details.

FiveM Shared Concepts

Since RedM and FiveM are both built on the Cfx.re platform, many concepts transfer directly:

  • server.cfg syntax is identical between FiveM and RedM.
  • Resource manifests (fxmanifest.lua) use the same format and fields.
  • Server-side scripting (Lua, C#, JavaScript) works the same way.
  • oxmysql and other shared libraries work on both platforms.
  • txAdmin management panel works with both FiveM and RedM servers.
  • OneSync entity synchronization is available on both platforms.

The primary differences are client-side natives (game-specific functions), resource compatibility (FiveM resources need porting for RDR2), and the available game world/entities.

Related Articles

Need Help?

If you need assistance setting up your RedM server, obtaining a license key, or configuring resources, open a support ticket and our team will help you get up and running.


Bu məqalə faydalı oldu?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.