Skip to content

Barotrauma: Manage Your Server with the ZapX AI Agent

Change game modes, add admins, update Workshop mods, and troubleshoot issues: learn how to manage your Barotrauma server through chat with the ZapX AI Agent.

30 November 20266 min read4 Views0 helpful

Don't have your own server yet? Host your Barotrauma 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 Barotrauma server via chat. Describe what you want, for example, “Set the game mode to Campaign and enable the Karma system” or “Why doesn’t my server show up in the server list?” The agent reads the console, logs, serversettings.xml, and your mod list, finds the cause, and prepares the appropriate changes. It always asks for your approval before changing anything on your server.

In this guide, you’ll learn what the agent can do on your Barotrauma server, how approvals work, and what its limitations are.

Requirements

  • ZapX Pass: The ZapX AI Agent is included with every ZapX Pass tier, 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 runs out, access will automatically resume 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 Barotrauma 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 approvals work

The agent distinguishes between reading and making changes:

  • Reading (viewing the console, logs, files, settings, savegames, and backups) is done right away, without asking.
  • Making changes (setting startup parameters, writing files, updating Workshop mods, restarting the server, or restoring a backup) is only prepared. You’ll see a card that shows exactly what will happen. The action is only performed once you click Confirm. Click Reject to discard the suggestion.

For related steps, such as stopping the server, changing serversettings.xml, and starting the server again, the agent presents them together on one card. They are then performed in sequence.

Tip: Apply file changes automatically

At the bottom of the chat, you’ll find the Apply file changes automatically toggle. When 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 approve settings changes, deletions, restarts, and updates yourself.

What the agent can do on your Barotrauma server

Find errors and check your server

If your server won’t start, crashes, or doesn’t show up in the server list, tell the agent what’s happening. It reads the console and logs, checks CPU and RAM usage over time, and can run a server diagnosis that checks the status, logs, configuration, and processes in around 20 seconds.

If your server isn’t visible, initialization often hasn’t finished because of an invalid configuration or damaged files. The agent also checks whether the Publicly visible startup parameter is enabled. If your server crashes after you add new mods, testing with fewer mods can help narrow down the cause. Find out more about common causes: Barotrauma: Common Issues.

Start, stop, and restart your server

The agent starts, stops, or restarts your server after you approve the action. If you want, it can also create schedules, such as a daily restart at 5 a.m. in your time zone. Schedules with console commands aren’t available for Barotrauma.

Change settings

The server name, server password, and Publicly visible option are startup parameters in the Configuration tab. The agent always changes these values there because your server writes them to serversettings.xml every time it starts. If the server is running, this will trigger one restart. ZapX sets the player limit (MaxPlayers) and ports automatically.

The agent changes all other settings directly in serversettings.xml in the config folder, for example:

  • GameModeIdentifier for the game mode (sandbox, multiplayercampaign, pvp, or mission)
  • RespawnInterval and UseRespawnShuttle for dead players to return
  • KarmaEnabled and TraitorProbability
  • AllowVoteKick, AllowEndVoting, and RequireAuthentication

Barotrauma rewrites serversettings.xml when the server shuts down. To prevent your changes from being lost, the server must be stopped first. The agent can present the stop, change, and start steps together on one card. Learn more: Barotrauma: Server Configuration.

Grant admin permissions

In Barotrauma, you add admins to Clientpermissions.xml. The agent adds a client entry with a name, SteamID64, and the requested permissions, such as ManageSettings, Kick, Ban, or All. For ConsoleCommands, it also adds individual commands such as heal or spawn. Learn more: Barotrauma: Become an Admin on Your Own Server.

Manage Steam Workshop mods

Add Steam Workshop mods in the Workshop tab using their item IDs or links, up to 50 mods. The agent can do this too: it adds new items by ID, removes or disables existing ones, and changes their order. It shows you a preview of the changes first, and only applies them after you approve. The changes take effect on the next start: your server stores each mod in the LocalMods folder and enables it in config_player.xml. The agent doesn’t automatically find dependencies, so tell it which additional mods are required.

For your own non-Workshop mods, the agent downloads them from a direct link to the LocalMods folder and adds them to <regularpackages> in config_player.xml while the server is stopped.

Savegames

Your savegames are stored in the saves folder. The agent lists them, creates a copy, or downloads a savegame from a direct link to that folder. Stop the server first to make sure the current state is fully saved. You can also download and upload savegames using drag and drop in the Savegames tab. See Barotrauma: Manage Savegames.

Apply server updates

An outdated server may crash or fail to start. If an update is available for your server, the agent queues it for approval on a card.

Files and SFTP

The agent searches, reads, and edits files; downloads files from direct links; extracts archives (.zip, .tar, up to 500 MB); and creates .zip archives of folders. It shows your SFTP login details without the password, resets the SFTP password, and repairs file permissions if files are read-only.

Backups

The agent creates and restores backups, deletes old ones, or prepares one for download. A backup always includes the entire server, including your savegames and mods.

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

  • The agent doesn’t send console commands for Barotrauma; the console is read-only in the panel.
  • You must enter commands such as heal or spawn yourself in the game, and you need the ConsoleCommands permission in Clientpermissions.xml to do so.
  • The agent doesn’t automatically find dependencies between Workshop mods. Tell it which mods are required, and it will add them to the same list.
  • The agent never shows SFTP passwords in the chat, and you don’t need to send it any.
  • It can download .rar and .7z archives, but can’t extract them.
  • It can’t open additional ports.

Example requests

  • “My server isn’t showing up in the server list. Find out why.”
  • “Set the game mode to Campaign and enable the Karma system.”
  • “Give the player with SteamID 76561198000000001 all permissions in Clientpermissions.xml.”
  • “Update all Workshop mods and restart the server.”
  • “Set RespawnInterval to 120 seconds and enable the Respawn Shuttle.”
  • “Restart the server every day at 5 a.m.”

Zappy is also available in support chat

If you ask for help in support chat, Zappy can use the same tools once your ticket is linked to the server. You can also read logs, run diagnostics, restart the server, and repair file permissions there without a ZapX Pass. You’ll need a ZapX Pass to change files, settings, mods, or backups.

Conclusion

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

Free tools

Barotrauma 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 still need one for server changes there.
No. The agent presents anything that changes your server on a card and only performs it after you click “Confirm.” If you enable “Apply file changes automatically,” it can write files without showing a card, but you can undo each change.
Barotrauma rewrites the file when the server shuts down. Make changes only while the server is stopped. The agent can present the steps to stop the server, make the changes, and start it again together on one card.

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.