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.
- 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 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.
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.
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.
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 rdr3line is missing fromserver.cfg. Your server won’t start as a RedM server without it. - A resource’s
fxmanifest.luaspecifies the game asrdr3, but the requiredrdr3_warningline 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.
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.
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.
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.
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.
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.
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.
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.
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.
- 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>orrefresh. - 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
.rarand.7zarchives, but it can’t extract them. - It can’t open additional ports.
- “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.”
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.
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! 🙂
