Skip to content

FiveM Enhanced: How to Manage Your Server with the ZapX AI Agent

Install and restart resources, update server.cfg, and troubleshoot errors: Learn how to manage your FiveM Enhanced server by chatting with the ZapX AI Agent.

30 November 20267 min read0 Views0 helpful

Introduction

Use the ZapX AI Agent to manage your FiveM Enhanced server through chat. Describe what you need, such as “Install this script from GitHub” or “Why won’t my server start with the sv_enforceGameBuild message?”. The agent reads logs, server.cfg, and resource files, identifies the cause, and prepares the appropriate changes. It always asks you first before making any changes to your server.

This guide explains what the agent can do on your FiveM Enhanced server, how confirmation works, and what its limitations are.

Requirements

  • ZapX Pass: The ZapX AI Agent is included in every tier of the ZapX Pass, 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. If you run out, your quota renews automatically on the renewal date.
  • txAdmin: Your FiveM Enhanced server always runs with txAdmin. txAdmin only starts the actual game server once you’ve completed setup, for example by using a template under Popular Recipes. You’ll need your own Cfx.re license key for this.

Open the ZapX AI Agent

Open your FiveM Enhanced server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows your server, so there’s no need to explain anything. Just describe what you need in your own words.

How confirmation works

The agent distinguishes between reading and making changes:

  • Reading (viewing logs, files, server.cfg, and database tables) happens immediately, without asking you first.
  • Making changes (writing a file, extracting a script, restarting a resource, or restarting the server) is only prepared. You’ll see a card that explains exactly what will happen. It only runs after you click Confirm. Click Decline to discard the suggestion.

For related steps, such as extracting a script and adding ensure to server.cfg, the agent presents them together on one card. They then run one after another.

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. You can still undo each change with Undo. You’ll continue to confirm settings changes, deletions, and restarts yourself.

What the agent can do on your FiveM Enhanced server

Troubleshoot issues and check your server

If your server won’t start, a resource is missing in-game, or nobody can join, tell the agent what’s happening. 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. Lines containing [fivem-enhanced-entrypoint] show it what your server prepares at startup, such as which server version it loads.

Common findings for FiveM Enhanced include:

  • Only txAdmin is running because setup with a recipe hasn’t been completed.
  • The Cfx.re license key is missing, so the server won’t start.
  • Your players are using the regular FiveM client. They need GTA V Enhanced and the FiveM for GTAV Enhanced client to join your server.
  • A resource was disabled by the security scan. Findings are listed in _removed_resources.log in the main folder.

Learn more about common causes: FiveM Enhanced: Common Issues.

Install resources

Give the agent a download link, such as a GitHub release ZIP. Before extracting it, the agent checks README and fxmanifest.lua, verifies dependencies (such as ox_lib or oxmysql), and then presents a card: extract the script to the resources folder and add ensure to the appropriate server.cfg. If you set up your server with a txAdmin recipe, this is the server.cfg in the profile folder, for example Qbox_XXXXXX.base/server.cfg. If the ZIP is on your PC, upload it in the Files tab and the agent will take care of the rest.

Not every resource for FiveM Legacy works with Enhanced. Make sure the download supports GTA V Enhanced.

Restart a single resource

After changing a script, you don’t need to restart the whole server. The agent prepares the Restart resource card: it runs refresh in txAdmin, followed by ensure for that specific resource, while your players stay connected. Restart any resources that depend on it afterward as well.

Info: txAdmin password

To restart individual resources, ZapX signs in using the credentials shown in the txAdmin card on the overview page. 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 uses a card to change entries in your server.cfg, such as sv_endpointprivacy or sv_enforceSteamAuth. If it finds a FiveM Legacy build number there, such as sv_enforceGameBuild 3258, it removes the line. FiveM Enhanced always loads the latest game build. You can set the server name in the Configuration tab under startup parameters; if the server is running, it will restart once.

ZapX rewrites some values every time the server starts: endpoint_add_tcp and endpoint_add_udp, sv_maxclients, as well as sv_hostname, sets sv_projectName, and sv_licenseKey in the server.cfg in the main folder. If your server uses the server.cfg from a recipe profile, the agent also changes the name there. Learn more: FiveM Enhanced: Server Configuration.

Start, stop, restart, and update

The agent can start, stop, or restart your server and create schedules if you want, such as a daily restart in your time zone. Each time your server starts, it automatically downloads the latest server version for GTA V Enhanced. To update, just restart the server; there’s no option to select a version as there is with FiveM.

Files and SFTP

The agent searches, reads, and edits files, inspects archives without extracting them, extracts .zip and .tar archives (up to 500 MB), and creates .zip archives from folders. It can show your SFTP credentials without the password, reset the SFTP password, and repair 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; back those up in the Databases tab. The agent can also create databases there, show connection details (without the password) and a phpMyAdmin link, and read tables—for example, to check a character’s saved job.

If oxmysql reports errors such as Access denied, the agent checks the console and server.cfg to identify the cause. If you reset the password in the Databases tab, ZapX automatically updates it in your server.cfg, as long as the server’s database username is still listed there.

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 FiveM Enhanced because the console belongs to txAdmin. Open txAdmin using the button at the top of the dashboard and use the Live Console there. For the same reason, schedules can’t include custom commands.
  • It can’t import SQL files on FiveM Enhanced, and there’s no card for setting the database connection or primary database. The agent can do this only on FiveM. You can import SQL files through phpMyAdmin, for example.
  • It can’t get purchased resources that use Asset Escrow running. According to Cfx.re, Asset Escrow hasn’t been implemented for FiveM Enhanced yet.
  • 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 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.”
  • “Remove sv_enforceGameBuild from my server.cfg.”
  • “Restart ox_inventory.”
  • “Why can’t my friends find the server?”
  • “Restart the server every day at 5 a.m.”

Also available in Support Chat: Zappy

If you contact us through Support Chat, Zappy can use the same tools once your ticket is linked to the server. You can also read logs, run a diagnosis, restart the server, or repair file permissions there 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 FiveM Enhanced server and how to approve each change yourself. For an overview of all areas in the panel, see FiveM Enhanced: Dashboard Overview. Learn how your players can connect in FiveM Enhanced: Connect to the Server. If you have any other questions, our support team is here to help every day! 🙂

Free tools

FiveM Enhanced Tools

View all

FAQ

Frequently asked questions

Yes. The agent is included in every ZapX Pass tier, starting with Plus. Zappy can also help in Support Chat without a pass, but you’ll need one to make changes to your server there.
No. The Restart resource card restarts only that resource through txAdmin, and your players stay connected.
No. The agent can import SQL, set the database connection, and select the primary database only on FiveM. On FiveM Enhanced, you can import SQL files through phpMyAdmin, for example.

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.