Skip to content

SA:MP: Manage Your Server with the ZapX AI Agent

Change Gamemodes, load plugins, troubleshoot startup errors, and edit config.json: learn how to manage your SA:MP server through chat with the ZapX AI Agent.

30 November 20266 min read0 Views0 helpful

Don't have your own server yet? Host your SA:MP server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

With the ZapX AI Agent, you can manage your SA:MP server through chat. Describe what you want, for example, “Also load the Filterscripts base and gl_actions” or “Why isn’t my Gamemode loading?” The agent reads the console, logs, and files, finds the cause, and prepares the appropriate changes. It always asks you first before changing anything on your server.

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

Requirements

  • ZapX Pass: The ZapX AI Agent is included with 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 use it all, access resumes automatically on the renewal date.
  • Shared server: If someone has shared their server with you, the owner can also give you access to the agent. It will then use their ZapX Pass.

Open the ZapX AI Agent

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

How confirmation works

The agent distinguishes between reading and making changes:

  • Read (viewing the console, logs/server.log, config.json, files, and backups) happens immediately, without asking you first.
  • Make changes (writing a file, setting startup parameters, sending a command, or restoring a backup) are only prepared. You’ll see a card that shows exactly what will happen. The action is carried out only after you click Confirm. Click Decline to discard the suggestion.

For related steps, such as extracting a plugin, adding it to the startup parameters, and restarting the server, the agent presents them together on one 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 enabled, the agent writes files in this chat without showing a card, but you can undo each change with Undo. You’ll still need to confirm settings changes, deletions, commands, and updates yourself.

What the agent can do on your SA:MP server

Find errors and check your server

If your server won’t start, a Filterscript is missing, or a plugin won’t load, just tell the agent what’s happening. It reads the console output, including lines from [openmp-entrypoint], the current startup log at logs/server.log, and the previous startup log at logs/server.log.1. It also checks CPU and RAM usage over time and can run a Server diagnosis to check the status, logs, configuration, and processes in around 20 seconds. It also checks whether the gamemodes folder contains a compiled .amx file with exactly the right capitalization, because Linux is case-sensitive. Find more common causes in SA:MP: Common issues.

Start, stop, and restart

The agent starts, stops, or restarts your server after you confirm the action. If you want, it can also create schedules, such as a daily restart at 5 AM in your time zone.

Change settings

Your server runs on open.mp and reads its settings from config.json. The server name, max. players, Gamemode script, additional scripts, Native Plugins, weather, and in-game time are startup parameters in the Configuration tab. Every time your server starts, it writes these parameters to config.json. That’s why the agent changes these values in the startup parameters using a card, which restarts a running server once.

The agent changes all other entries in config.json—for example, max_bots, game.chat_radius, game.vehicle_respawn_time, or discord.invite—directly in the file using a card. A restart applies the changes. If you provide an old server.cfg, the agent transfers values such as hostname, gamemode0, or filterscripts to the appropriate startup parameters. Learn more: SA:MP: Server configuration.

Gamemodes, Filterscripts, and plugins

Give the agent a direct download link, and it will download the file and extract it to the correct folder: gamemodes, filterscripts, plugins, or components. It then adds the name, without the file extension, to the startup parameters. Multiple entries are separated by semicolons, for example, streamer;mysql. Make sure you use the correct version: your server needs the 32-bit Linux version of a plugin as a .so file. Windows plugins with the .dll extension won’t work.

Send console commands

After you confirm, the agent sends server commands such as cmdlist or say <Text> to the console without /rcon. The card then shows you the output from the next five seconds.

Apply a server update

If your dashboard shows the “Update available” notice—for example, because the console still won’t accept commands or custom entries in config.json are lost every time the server starts—the agent can queue the update using a card.

Files and SFTP

The agent searches, reads, and edits files, downloads files from a direct link, extracts archives (.zip, .tar, up to 500 MB), and creates .zip archives from folders. If config.json is no longer valid JSON, your server sets the file aside as config.json.invalid- followed by the date and time. The agent can read this file and, if you want, transfer its entries to the new config.json. It can show your SFTP login details without the password, reset your SFTP password, and fix file permissions.

Backups

The agent creates and restores backups, deletes old backups, or prepares one for download. A backup always includes the entire server, including Gamemodes, plugins, and the scriptfiles folder containing player accounts. Databases aren’t included. To back up only the scriptfiles folder, use the Savegames tab. See SA:MP: Manage savegames.

Databases

You don’t need a database for normal operation. If your Gamemode uses one, the agent can create it, show you the connection details (without the password) along with a phpMyAdmin link, reset the password, or read the table structure if the MySQL plugin reports errors.

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

  • You must enter admin commands such as /rcon login, /rcon kick, or /rcon say yourself in the in-game chat, while logged in with your RCON password.
  • You must manage the Savegame Manager yourself in the Savegames tab.
  • The agent can’t compile Gamemodes. A .pwn file alone isn’t enough; you need the compiled .amx file.
  • It can download .rar and .7z archives, but it can’t extract them.
  • It can’t unlock additional ports.
  • It never displays SFTP or database passwords in chat, and you don’t need to send them to the agent.

Example requests

  • “My Gamemode isn’t loading. Find out why.”
  • “Set the Gamemode script to grandlarc 1 and restart the server.”
  • “Download the Linux version of streamer and add it under Native Plugins.”
  • “Set game.chat_radius to 30 in config.json and enable use_chat_radius.”
  • “Transfer the values from my old server.cfg to the startup parameters.”
  • “Restart the server every day at 5 AM.”

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. It can read logs, run a diagnosis, restart the server, and fix file permissions without a ZapX Pass. You’ll need the ZapX Pass to make changes to files, startup parameters, and backups.

Conclusion

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

Free tools

SA:MP 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 support chat without a Pass, but you’ll need one to make server changes there.
No. It presents anything that changes your server as a card and only carries it out after you click “Confirm.” If you enable “Automatically apply file changes,” it can write files without a card, and you can undo the changes.
Your server writes values such as the server name, Gamemode script, and Native Plugins from the startup parameters to config.json each time it starts. The agent changes these values in the startup parameters in the “Configuration” tab. All other entries remain unchanged.

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.