Skip to content

The Forest: Manage Your Server with the ZapX AI Agent

Start a new game, change slots, enable Vegan Mode, or troubleshoot issues: here’s how to manage your The Forest server through chat with the ZapX AI Agent.

30 November 20266 min read2 Views0 helpful

Introduction

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.

Requirements

  • 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 the ZapX AI Agent

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.

How confirmation works

The Agent handles reading and making changes differently:

  • Reading (logs, console, files, config.cfg, savegames in the saves folder, 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.

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, 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 The Forest server

Find issues and check your server

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.

Start, stop, and restart your server

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.

Change settings

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:

  • veganMode removes all enemies; vegetarianMode removes them during the day only
  • treeRegrowMode makes felled trees grow back when you sleep
  • allowBuildingDestruction determines whether buildings can be destroyed
  • serverAutoSaveInterval sets the automatic save interval in minutes, with a minimum value of 15
  • enableVAC enables Valve Anti-Cheat

Learn more: The Forest: Server Configuration.

New games and save slots

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.

Savegames and save files

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.

Apply a server update

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.

Files and SFTP

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.

Backups

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.

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 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. difficulty only 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 .rar and .7z archives, 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.

Example requests

  • “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.”

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 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.

Conclusion

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! 🙂

Free tools

The Forest 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 for server changes there.
No. It shows you a card for anything that changes your server and only runs the action after you click “Confirm.” If you turn on “Automatically apply file changes,” it can write files without a card, and you can undo those changes.
The Forest only uses difficulty when starting a new game. The Agent sets initType to New and can use an unused slot so your existing save stays intact.

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.