Skip to content

RedM: Manage Your Server with the ZapX AI Agent

Install and restart resources, edit server.cfg, and find startup errors. Here’s how to manage your RedM server through chat with the ZapX AI Agent.

30 November 20267 min read2 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

With the ZapX AI Agent, you can manage your RedM server through chat. Describe what you want, for example, “Install this script from GitHub” or “Why won’t my new resource start?” The agent reads logs, server.cfg, and resource files, finds the cause, and prepares the appropriate changes. It always asks you first before changing anything on your server.

In this guide, you’ll learn what the agent can do on your RedM server, how approval works, and what its limitations are.

Requirements

  • ZapX Pass: The ZapX AI Agent is included with every tier of the ZapX Pass overview, starting with Plus.
  • AI quota: Each tier includes a monthly AI quota. You can see how much you’ve used in the chat, next to the input field. Once it’s used up, your quota automatically renews on the renewal date.
  • txAdmin: Your RedM server runs with txAdmin. Set it up there the first time you start the server, as described in RedM: txAdmin setup. You’ll need your own Cfx.re license key; without one, your server won’t start.

Open the ZapX AI Agent

Open your RedM server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows about your server, so you don’t need to explain anything. Just describe what you need in your own words.

How approval works

The agent distinguishes between reading and making changes:

  • Reading (viewing logs, files, server.cfg, and database tables) happens right away, without asking you.
  • Making changes (writing a file, extracting a script, restarting a resource, or restarting the server) is only prepared. You’ll get a card showing exactly what will happen. It’s only carried out after you click Confirm. Click Decline to discard the suggestion.

For several related steps, such as extracting a script and adding ensure to server.cfg, the agent presents them together on a single card. They then run in sequence.

Tip: Automatically apply file changes

At the bottom of the chat, you’ll find the Apply file changes automatically toggle. When it’s on, the agent writes files in this chat without showing a card, but you can undo each change with Undo. You’ll still need to approve settings changes, deletions, and restarts yourself.

What the agent can do on your RedM server

Find errors and check your server

If your server won’t start, a resource is missing in the game, or your friends can’t find the server, tell the agent what’s wrong. It reads the console and logs, checks server.cfg and your resources’ fxmanifest.lua files, and can run a Server Diagnosis that checks the status, logs, configuration, and processes in about 20 seconds. It can also check whether your server appears in the Cfx.re server list and show you the security scan’s findings.

Common findings for RedM:

  • The set gamename rdr3 line is missing from server.cfg. Your server won’t start as a RedM server without it.
  • A resource’s fxmanifest.lua specifies the game as rdr3, but the required rdr3_warning line is missing. RedM won’t start the resource.
  • The Cfx.re license key is missing, so the server won’t start.
  • The security scan disabled a resource containing suspicious code before startup.

Learn more about common causes: RedM: Common issues.

Install resources

Give the agent a download link, such as a GitHub release ZIP file. Before extracting it, the agent checks the README and fxmanifest.lua, verifies the dependencies, and then presents a card: extract the script to the resources folder and add ensure to the correct server.cfg. If you set up your server using a recipe, this is the server.cfg in the recipe’s folder, for example, <Rezeptname>_XXXXXX.base/server.cfg. The name after ensure must exactly match the folder name. If the folder still has a suffix such as -main from a GitHub download, the agent renames it first. If the ZIP file is on your computer, upload it in the Files tab and the agent will take care of the rest. Learn more: RedM: Installing resources.

If a resource includes an SQL file, the agent won’t import it for RedM. It reads the file, prepares the contents so they can be safely run more than once, and gives you the steps to follow in phpMyAdmin. See also RedM: Importing an SQL file.

Restart a single resource

After changing a script, you don’t need to restart the entire server. The agent prepares the Restart resource card. It runs refresh in txAdmin, followed by ensure for that specific resource, so your players stay connected. You’ll also need to restart any resources that depend on it.

Info: txAdmin password

To restart individual resources, ZapX signs in using the credentials shown on the txAdmin card in your dashboard. If you change the password directly in txAdmin, the card will fail. Use Reset password on the txAdmin card to restore access.

Change settings in server.cfg

The agent changes entries in your server.cfg through a card, such as sv_maxclients, sv_pureLevel, sv_endpointPrivacy, or set sv_enforceSteamAuth true. You can find your Cfx.re license key in the Configuration tab under startup parameters.

ZapX sets some values itself every time the server starts: endpoint_add_tcp and endpoint_add_udp, the game build sv_enforceGameBuild if you’ve selected one, and any existing sv_listingIPOverride line. As of October 21, 2026, you manage your server’s name, description, and images in the server list through the Cfx.re portal, not in server.cfg. Learn more: RedM: Server configuration.

Start, stop, and restart your server; FXServer version

The agent can start, stop, or restart your server and set up schedules on request, such as a daily restart in your time zone. If your FXServer version is set to Recommended or Latest, your server downloads the current version again each time it starts. You can set the version and game build in the FXServer version card in the Configuration tab. Cfx currently only provides game build 1491 for RedM.

Files and SFTP

The agent searches, reads, and edits files; inspects archives without extracting them; extracts .zip and .tar files (up to 500 MB); and creates .zip files from folders. It shows you your SFTP credentials without the password, resets your SFTP password, and repairs file permissions.

Backups and databases

The agent creates and restores backups, deletes old ones, or prepares one for download. A backup includes server files, but not databases—you can back those up in the Databases tab. The agent can also create new databases there, reset passwords, show connection details (without the password) along with a phpMyAdmin link, and read tables, for example, to check a character’s data.

Get a new IP if your address is blocked

If your server has its own IP address (add-on) and it is on a blocklist, for example with some routers from US providers, the agent swaps it for a clean IP via a card. The ports stay the same, and the server is offline for about a minute. This is possible at most once every 30 days and only for the owner of the server. Without its own IP, your server shares the host’s address, so the agent has nothing to swap. You can book your own IP as an add-on.

What the agent can’t do

  • It can’t send console commands on RedM. The console is read-only in the panel because it belongs to txAdmin. Sign in to txAdmin using the credentials on the txAdmin card in your dashboard and use the Live Console there, for example, to run ensure <ressource> or refresh.
  • It can’t import SQL files on RedM, and there’s no card for setting up the database connection or primary database. The agent can do this only on FiveM.
  • It can’t test whether a script runs without errors. Lua syntax checks and in-game testing aren’t available through the agent; you’ll need to check these yourself in the game or in txAdmin.
  • It never shows SFTP or database passwords in the chat, and you don’t need to send them to the agent.
  • It can download .rar and .7z archives, but it can’t extract them.
  • It can’t open additional ports.

Example requests

  • “Install this script: github.com/…/releases/latest”
  • “My server won’t start. Check the console.”
  • “Does my server.cfg contain set gamename rdr3?”
  • “My new resource won’t start. Check the fxmanifest.lua.”
  • “Why doesn’t my server appear in the server list?”
  • “Restart the server every day at 5 a.m.”

Also available in the support chat: Zappy

If you ask in the support chat, Zappy can help using the same tools as soon as your ticket is linked to the server. You can read logs, run a diagnosis, restart the server, or repair file permissions there even without a ZapX Pass. You’ll need a ZapX Pass to make changes to files or resources and to manage backups.

Conclusion

You now know what the ZapX AI Agent can do on your RedM server and how to approve each change yourself. For an overview of all the sections in the panel, see RedM: Dashboard overview. To learn how your players can connect, see RedM: Connect to your server. If you have any other questions, our support team is here to help every day! 🙂

Free tools

RedM Tools

View all

FAQ

Frequently asked questions

Yes. The agent is included with every ZapX Pass tier, starting with Plus. Zappy can also help in the support chat without a pass, but you’ll need one there to make changes to your server.
No. The Restart resource card restarts only that resource through txAdmin, so players stay connected.
Usually, the txAdmin password was changed directly in txAdmin. Reset it on the txAdmin card in your dashboard using Reset password, and the restart should work again.

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.