Skip to content

RedM: Server Configuration

Learn how to configure your RedM server in ZapX, including your license key, FXServer version, game build, and the key settings in server.cfg.

26 November 20267 min read1 Views0 helpful

Don't have your own server yet? Host your RedM server with ZAP-Hosting from €5.29 / month.Or try 3 days from €0.95

Introduction

Would you like to configure your RedM game server for Red Dead Redemption 2 to suit your project? In this guide, we'll show you which settings to adjust in ZapX, how to choose the FXServer version and game build, which values go in server.cfg, and what ZapX automatically sets for you each time the server starts.

How configuration works

RedM runs on the same server core as FiveM: the FXServer from Cfx.re. You configure your server in three places:

  • Configuration tab in ZapX: your Cfx.re license key under Startup parameters, and the FXServer version and game build in the FXServer version card.
  • server.cfg: all other settings, such as player count, OneSync, resources, and permissions. Edit this file in the Files tab or in txAdmin's CFG Editor.
  • txAdmin: Your server runs with txAdmin. Use it to set up your server the first time it starts and manage it day to day. See txAdmin Setup for details on the setup process.

The server.cfg file is in your server's data directory, alongside the resources folder. The txAdmin setup determines which directory this is:

  • If you set up your server using a recipe, for example through Popular recipes, the file is in the recipe's folder, such as <RecipeName>_XXXXXX.base/server.cfg.
  • If you migrated your server from the old ZAP-Hosting web interface to ZapX, the file is in the server-data folder.

You can find the exact path in txAdmin under Settings, in the FXServer section. Changes to server.cfg and startup parameters only take effect after a restart. After you save the startup parameters, ZapX will offer to restart the server right away.

Startup parameters at a glance

Startup parameterDescription
Cfx.re license keyYour free license key from the Cfx.re Portal, in the format cfxk_…. Your server won't start without a key. During setup, txAdmin adds it to server.cfg as sv_licenseKey.
FXServer version (artifact)The FXServer version your server starts with: Recommended, Latest, or a Fixed version. Latest is selected by default for new RedM servers. Choose the version in the FXServer version card.
Game build (sv_enforceGameBuild)Which Red Dead Redemption 2 game build players download. Leave it blank to use the Artifact's default. Choose it in the same card.

ZAP-Hosting does not provide a license key. For instructions on creating one in the Cfx.re Portal and adding it to your server, see Add your own license key.

ZapX passes your server's database credentials to txAdmin. This allows a recipe to use them directly during setup. Manage your databases in the Databases tab, and import your own SQL files as described in Import an SQL file.

Choose an FXServer version and game build

In the FXServer version card in the Configuration tab, choose which Artifact your server starts with:

  • Recommended: approved by Cfx as stable and supported on an ongoing basis. Your server retrieves the current version each time it starts, so it stays up to date automatically.
  • Latest: get new features right away, but this version has not yet been approved as stable. This version is also retrieved each time the server starts.
  • Fixed version: Your server stays on a particular build until you change it. A specific build expires after about three months. Cfx no longer supports older builds, and players will no longer be able to connect. The card shows you how long each build will remain joinable.

Before switching, you can create a security backup. It doesn't use a backup slot and is kept for up to 14 days. Your resources, database, and txAdmin data are preserved when you switch. If the new version doesn't work for you, switch back to the previous one using Revert to ….

Under Game build, choose which game build players download. Cfx currently provides only build 1491 for RedM (the September 2022 update). This is also the Artifact's default, so you usually don't need to change it. A new game build only takes effect after a restart, and players download it once the next time they connect.

Important

Once you select a game build in the card, ZapX adds it as a separate line at the top of your server.cfg. While a build is selected there, ZapX comments out your own sv_enforceGameBuild lines by adding the prefix #[ZAP-Hosting panel]. If you set the card back to the default, ZapX removes its line and restores your lines. If server.cfg sets the value while the card is set to the default, the card will show this, and your value will apply.

What ZapX sets each time the server starts

To keep your server reachable and make sure it matches your settings, ZapX checks your server's server.cfg files each time it starts and adjusts some values:

ValueWhat ZapX does
endpoint_add_tcp and endpoint_add_udpSets the port to your server's port.
sv_enforceGameBuildSets the Game build selected in the FXServer version card, if you chose one.
set sv_threadedClientHttp falseAdds this line with a ZAP-Hosting comment. It saves CPU resources once players have connected. If you set sv_threadedClientHttp yourself in the file, your line takes precedence.
sv_listingIPOverrideUpdates an existing line with your server's current IP address so the server list shows the correct address. If your server is set up with a proxy (sv_forceIndirectListing, sv_listingHostOverride, or sv_proxyIPRanges), the line is left unchanged.

If you change the ports or game build directly in the file, ZapX will reset them the next time the server starts. ZapX also checks your resources for suspicious code every time it starts. See Resource contains prohibited logic? to learn what a detection means.

Important settings in server.cfg

Add these settings to server.cfg yourself, each on its own line:

SettingDescription
set gamename rdr3Specifies that FXServer runs as a RedM server for Red Dead Redemption 2. This line must be in your server.cfg.
sv_maxclients <Anzahl>The maximum number of players who can connect at the same time.
set onesync onOneSync synchronizes the game world between players. Options are on, legacy, and off. OneSync is required for more than 32 players, and on is recommended. legacy is an outdated compatibility mode.
sv_pureLevel <0-2>Pure Mode: how strictly the server checks whether players are using unmodified game files. 1 blocks modified files except audio files, while 2 blocks practically all client-side modifications. Pure Mode is off if this line is not present.
set sv_enforceSteamAuth trueOnly players with a Steam account linked to their Cfx.re account can join. Requires FXServer build 38004 or later and replaces the former steam_webApiKey, which stopped working on November 4, 2026.
sv_endpointPrivacy trueHides players' IP addresses in public server information.
rcon_password "<Passwort>"Enables RCON. Learn more in RCON.
Important

Uploading existing server data If you upload an existing server.cfg or set up your server using Existing Server Data, first check that it contains set gamename rdr3. Your server won't start as a RedM server if this line is missing.

Warning

Setting sv_scriptHookAllowed true allows client plugins based on ScriptHook. This opens the door to trainers and cheat plugins for Red Dead Redemption 2. We don't recommend enabling it on public servers.

Info

Manage your server name and description in the Cfx Portal Since October 21, 2026, set your server's name, description, tags, language, and images in the server list in the Cfx.re Portal, not in server.cfg. To see how your listing currently appears, go to the Server lists card under Cfx.re server list (in-game) in your server overview. If your server doesn't appear, select Why isn't my server in the server list? there for help.

You'll also find the RedM Configurator under Tools. Use the form to put together your settings, or describe what you need in your own words, and see the corresponding server.cfg in the preview.

Resources, permissions, and console

Use ensure lines in server.cfg to specify which resources your server loads, for example ensure mein-skript. The name must match the resource folder name exactly. See Installing resources for instructions on uploading resources.

Tip

Resources for RedM If a resource specifies the game as rdr3 in its fxmanifest.lua, RedM will only start it if this required line is included exactly as written: rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' If a resource doesn't start, check this line first.

Because txAdmin controls your server, the Console in ZapX is read-only for RedM. Enter commands in txAdmin's Live Console. Open txAdmin using Open txAdmin at the top of the server header. You can start a resource without restarting the server by entering ensure <ressource> or restart <ressource> there. After uploading new resources, enter refresh to reload the list of available resources. See txAdmin Interface for a tour of all the sections.

RedM manages permissions through ACE, just like FiveM. The command add_ace group.admin command allow lets the group.admin group run all commands, and add_principal <Spieler-Kennung> group.admin adds a player to the group. Use list_aces and list_principals in the Live Console to check which permissions have been assigned. Frameworks often include their own admin systems, so be sure to consult their documentation too. Set up announcements for your players as described in Automated server messages, and Discord notifications using the txAdmin Discord Bot.

Tip

Create a backup before making major changes to your server.cfg. That way, you can always restore the last working version.

Conclusion

You now know the key settings for your RedM server. See the Dashboard overview to find features in ZapX, and Connect to the server to learn how players can join. If something isn't working as expected, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂

Free tools

RedM Tools

View all

FAQ

Frequently asked questions

A RedM server won't start without a Cfx.re license key. Create a free key in the format cfxk_… in the Cfx.re Portal (portal.cfx.re), then enter it in the Cfx.re License Key field under Startup Parameters in the Configuration tab. Also check that your server.cfg contains the line set gamename rdr3.
Cfx currently provides only game build 1491 for RedM. It's also the Artifact's default, so you usually don't need to change the setting under Game Build in the FXServer Version card.
Since October 21, 2026, manage your server's name, description, tags, language, and images in the Cfx.re Portal. Changes in server.cfg no longer affect the server list. You can see how your listing appears in the Server List card in your server overview.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.