Use the ZapX AI Agent to manage your Don't Starve Together server through chat. Describe what you want, such as “Add me as an admin” or “Why doesn't my server show up in the server list?” The agent reads the console, logs, and files in the DoNotStarveTogether/Cluster_1/ folder, 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 Don't Starve Together server, how confirmation works, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included with every ZapX Pass tier, starting with Plus. See the ZapX Pass overview.
- AI allowance: Each tier includes a monthly AI allowance. You can see how much you've used in the chat next to the input field. If you use it all up, access resumes automatically on the renewal date.
- Shared server: If someone has shared their server with you, the owner can also share access to the agent with you. It will then use their ZapX Pass.
Open your Don't Starve Together server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows which server you're using, so there's nothing you need to explain. Just describe what you need in your own words.
The agent distinguishes between reading and making changes:
- Reading (viewing the console, logs,
modoverrides.lua,adminlist.txt, and backups) happens immediately, without asking you. - Making changes (writing a file, setting startup parameters, sending a console command, or restoring a backup) is only prepared by the agent. 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 several related steps, such as stopping the server, adding a mod to two files, and starting the server again, the agent presents them together on one card. The steps are then carried out 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 still undo each change with Undo. You still confirm settings, deletions, commands, and updates yourself.
If your server isn't starting properly, crashes after you add a mod, or your friends can't find it, tell the agent what's happening. It reads the console and logs, checks CPU and RAM usage over time, and can run a server diagnostic that checks the status, logs, configuration, and processes in around 20 seconds. If the Klei cluster token is missing, the server starts in offline mode and won't appear in the public server list. If the server stops starting after you add a mod, the mod is often incompatible with the current game version. The agent can temporarily disable it in modoverrides.lua to test. Learn more: Don't Starve Together: Common Issues.
The agent starts, stops, or restarts your server after you confirm the action. It can also create schedules on request, such as a daily restart at 5 a.m. in your time zone. Don't Starve Together only reads mods, admins, and the whitelist at startup. That's why the agent includes stopping and restarting the server on the card when you make changes to these files.
The server name, server description, server password, max. players, game mode (survival, endless, or wilderness), PvP, and whitelist slots are available in the Configuration tab under the startup parameters. The agent changes these values through a card, and the running server restarts once as part of the process. It doesn't edit cluster.ini or Master/server.ini, because your server regenerates both files from the startup parameters every time it starts. Learn more: Don't Starve Together: Server Configuration.
The agent enables the cave world by setting the Caves startup parameter to true. It runs as a second shard on the same server, while your surface world remains intact. We recommend 4 GB of RAM for this. Before the first startup with caves, the agent creates a separate worldgenoverride.lua in the Cluster_1/Caves folder. See Don't Starve Together: Enable Caves.
Give the agent a mod ID. It's the number after ?id= in the address of the mod's Steam page. The agent adds it as ServerModSetup("<ID>") to mods/dedicated_server_mods_setup.lua so the server downloads it at startup, and enables it in Cluster_1/Master/modoverrides.lua. For an entire collection, it uses ServerModCollectionSetup. Only if a mod explicitly requests access to server files will the agent set startup parameters for read or write access, and only if you ask it to. See Don't Starve Together: Install Mods.
Add players using their Klei user ID in the KU_… format. When a player joins, their ID appears in the console, for example in the line Read save location file for (KU_aBcD1234). The agent finds it there and adds it to adminlist.txt or whitelist.txt in the Cluster_1 folder. For the whitelist, it also sets the whitelist slots in the startup parameters. See Don't Starve Together: Become an Admin and Don't Starve Together: Whitelist.
After you confirm, the agent sends commands like c_announce("Restart in 5 minutes"), c_save(), or c_rollback(1) to the console. The card then shows the output from the next five seconds. If your server has caves, commands are sent to the surface world. If your server was created before command input was available, you'll need to apply the offered update once. The agent queues it up on a card.
Your world is in the DoNotStarveTogether/Cluster_1/ folder, with the surface world in Master and caves in Caves. If you upload your own world as a ZIP file, the agent extracts it while the server is stopped so that the folders are named exactly Master and Caves. If your world has caves, the agent also enables the corresponding startup parameter; otherwise, only the surface world will start. To download your world, the agent packages the cluster folder as a .zip file. See Don't Starve Together: Manage Savegames.
The agent searches, reads, and edits files; downloads files from a direct link; extracts archives (.zip, .tar, up to 500 MB); and packages folders as .zip files. It shows your SFTP credentials without the password, resets your SFTP password, and repairs file permissions if files are read-only.
The agent creates backups, restores them, deletes old ones, or prepares one for download. A backup always includes the entire server, including the surface world, caves, and your mod files.
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.
- You need to create the Klei cluster token yourself in your Klei account and enter it in the Configuration tab. Treat it like a password and don't send it in the chat.
- Caves aren't currently available on servers migrated from the Legacy panel to ZapX, including through the agent.
- Your server sets values such as
pause_when_emptyorenable_vote_kickincluster.iniat every startup. Any changes made by the agent would be overwritten the next time the server starts. - The agent never displays SFTP passwords in the chat, and you don't need to send it one.
- The agent can download
.rarand.7zarchives, but can't extract them.
- “My server isn't showing up in the server list. Find out why.”
- “Add the player who just joined to adminlist.txt.”
- “Install the mod with ID 350811795 and enable it in modoverrides.lua.”
- “Enable caves and set the game mode to endless.”
- “Send c_announce with the text Restart in 5 minutes, then save with c_save().”
- “Restart the server every day at 5 a.m.”
If you ask for help in the support chat, Zappy can use the same tools as soon as your ticket is linked to the server. You can read logs, run diagnostics, restart the server, or repair file permissions there without a ZapX Pass. You need a ZapX Pass to change settings, mods, files, or backups.
You now know what the ZapX AI Agent can do on your Don't Starve Together server and how to approve every change yourself. For an overview of all areas of the panel, see Don't Starve Together: Dashboard Overview. If you have any other questions, our support team is available every day to help! 🙂
