Use the ZapX AI Agent to manage your The Forest server through chat. Describe what you want, for example, “Start a new game on Hard in Slot 2, but keep the old save” or “Why does my server start a new game after every restart?”. The Agent reads logs, the config.cfg file, and your server files to find the cause and prepare the right changes. Before it makes any changes to your server, it always asks you first.
This guide explains what the Agent can do on your The Forest server, how confirmation works, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included in every ZapX Pass tier, starting with Plus.
- 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. Once you’ve used it all, your allowance automatically renews on the renewal date.
- Shared server: If someone has shared their server with you, the owner can also grant you access to the Agent. It will then use their ZapX Pass.
Open your The Forest 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 no need to explain. Just describe what you need in your own words.
The Agent handles reading and making changes differently:
- Reading (logs, console, files,
config.cfg, savegames in thesavesfolder, and backups) happens right away, without asking you first. - Making changes (writing files, setting startup parameters, restarting the server, and restoring a backup) is only prepared. You’ll see a card that shows exactly what will happen. The action only runs after you click Confirm. Click Decline to discard the suggestion.
The Agent groups related steps—for example, creating a backup, setting initType and slot in config.cfg, and restarting the server—on a single card. They then run one after another.
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 confirm settings changes, deletions, commands, and updates yourself.
If your server won’t start, isn’t visible, or is lagging, tell the Agent what’s happening. It reads the server console and logs, checks CPU and RAM usage over time, and can run a Server Diagnostics check that reviews the status, logs, configuration, and processes in about 20 seconds. Lines starting with [forest-entrypoint] come from your server’s startup script. If you see Initializing Wine prefix, your server is setting up its Wine environment after its first startup or an update. This takes a little longer. For more details, the Agent sets showLogs to on in config.cfg, so the console also shows the server’s event log. Find more information about common causes in The Forest: Troubleshooting Common Issues.
The Agent can start, stop, or restart your server, after you confirm the action. If you like, it can also create schedules, such as a daily restart at 5 a.m. in your time zone.
Your server settings are stored in config/config.cfg. At every startup, your server writes the server name, max. players, server password, and admin password to this file from the startup parameters in the Configuration tab. The same applies to the IP address and ports. The Agent therefore changes these values in the startup parameters, which restarts a running server once. It changes all other lines directly in config.cfg; a restart applies those changes. Each setting is on its own line: the setting name, followed by a space and its value. Use on or off for toggles. Examples:
veganModeremoves all enemies;vegetarianModeremoves them during the day onlytreeRegrowModemakes felled trees grow back when you sleepallowBuildingDestructiondetermines whether buildings can be destroyedserverAutoSaveIntervalsets the automatic save interval in minutes, with a minimum value of15enableVACenables Valve Anti-Cheat
Learn more: The Forest: Server Configuration.
Your server uses exactly one of 5 save slots, set with slot to a value from 1 to 5. To start a new game, the Agent sets initType to New and difficulty to Peaceful, Normal, or Hard. If you want to keep your current save, it chooses an unused slot. After the first startup, it sets initType back to Continue; otherwise, your server will start a new game every time it starts. If your server starts a new game every time, even though you want to continue your existing game, the Agent checks these two lines.
Your savegames are stored in the saves folder. If you like, the Agent can package the folder as a .zip file (up to 100 MB), or download a savegame from a direct download link and extract it. Stop your server first to make sure the latest game progress is saved. Leave the saveFolderPath line in config.cfg empty, or the Savegames tab won’t find your save files. You can also upload and activate a savegame there. See The Forest: Manage Savegames.
An outdated server may crash or fail to start. The Agent queues an update for your installation in a card. The first startup afterward takes a little longer because your server sets up its Wine environment again.
The Agent can search, read, and edit files; download files from a direct link; extract archives (.zip, .tar, up to 500 MB); and package folders as .zip files. It can show your SFTP login details without the password, reset your SFTP password, and repair file permissions if files are read-only.
The Agent can create and restore backups, delete old ones, or prepare one for download. A backup always includes the entire server, including your savegames in the saves folder. It’s a good idea to create a fresh backup before starting a new game.
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 for The Forest. The console is read-only in the panel.
- You must enter admin commands yourself in the game, using the admin password from the startup parameters.
- It can’t change the difficulty of an existing savegame.
difficultyonly applies to a new game, so the Agent can start a new game in an unused slot instead. - A The Forest server can’t host more than 8 players.
- It can download
.rarand.7zarchives, but it can’t extract them. - It can’t open additional ports.
- It never displays SFTP passwords in the chat, and you don’t need to send them to the Agent.
- “My server starts a new game after every restart. Find out why.”
- “Start a new game on Hard in Slot 2, but keep the old save.”
- “Turn on veganMode in config.cfg.”
- “Set serverAutoSaveInterval to 15 minutes.”
- “Set showLogs to on so I can see more in the console.”
- “Restart the server every day at 5 a.m.”
If you contact us through support chat, Zappy can use the same tools once your ticket is linked to your server. You can read logs, run diagnostics, restart the server, and repair file permissions there without a ZapX Pass. You’ll need a ZapX Pass to change settings, files, savegames, and backups.
You now know what the ZapX AI Agent can do on your The Forest server and how to approve every change yourself. For an overview of all panel sections, see The Forest: Dashboard Overview. If you have any other questions, our support team is here to help every day! 🙂
