Skip to content

Sons of the Forest: Manage Your Server with the ZapX AI Agent

Create a new world, change the game mode, add an owner, or troubleshoot issues: learn how to manage your Sons of the Forest server by chatting with the ZapX AI Agent.

30 November 20267 min read1 Views0 helpful

Don't have your own server yet? Host your Sons of the Forest server with ZAP-Hosting from €9.99 / month.Or try 3 days from €1.80

Introduction

Manage your Sons of the Forest server by chatting with the ZapX AI Agent. Describe what you want, for example, “Start a new world in Hard mode, but keep the old one” or “Why isn’t my server showing up in the server list?” The agent reads logs, the dedicatedserver.cfg, and your server files to find the cause and prepare the right changes. It always asks you first before changing anything on your server.

This guide explains what the agent can do on your Sons of the Forest server, how confirmation works, 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 has a monthly AI quota. You can see how much you’ve used in the chat, next to the input field. Once it’s used up, you can use it again 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 Sons of 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 distinguishes between reading and making changes:

  • Reading (viewing logs, the console, files, dedicatedserver.cfg, worlds in the Saves folder, and backups) is done immediately without asking.
  • Making changes (writing files, setting startup parameters, restarting the server, or restoring a backup) is only prepared. You’ll see a card explaining exactly what will happen. The action is only carried out after you click Confirm. Click Reject to discard the suggestion.

For several related steps, such as creating a backup, setting GameMode and SaveMode in dedicatedserver.cfg, and restarting the server, the agent presents them together on one card. They then run one after another.

Tip: Automatically apply file changes

At the bottom of the chat, you’ll find the Automatically apply file changes 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 Sons of the Forest server

Find problems 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 diagnosis that checks the status, logs, configuration, and processes in around 20 seconds. Common causes include incorrect configuration or an outdated server. If LanOnly is set to true in dedicatedserver.cfg, your server won’t appear in the public server list. The agent can reset the value to false using a card. Find more common causes in Sons of the Forest: Common Issues.

Start, stop, and restart

The agent can start, stop, or restart 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.

Change settings

Sons of the Forest reads its settings from dedicatedserver.cfg in your server’s main directory. Despite its file extension, it’s a JSON file. The agent changes values using a card, and a restart applies them. Examples:

  • ServerName for the name shown in the server list
  • Password for a password players need to join; leave it empty for an open server
  • SaveInterval for the number of seconds between automatic saves
  • IdleDayCycleSpeed to keep time moving even when no players are online
  • GameSettings, for example, "Gameplay.TreeRegrowth" for regrowing trees

You can set the player count using the Max. Players startup parameter, from 1 to 8. Your server overrides MaxPlayers, the ports, and IpAddress in the file every time it starts. That’s why the agent sets the player count in the startup parameter, which restarts a running server once. If dedicatedserver.cfg is no longer valid JSON, your server replaces it with default values the next time it starts. Have the agent create a backup before making major changes. Learn more in Sons of the Forest: Server Configuration.

Create a new world and set the game mode

Sons of the Forest only uses GameMode and CustomGameModeSettings when creating a new world. An existing world keeps its current game mode. To create a new world, the agent sets GameMode, for example, to Hard or Custom, and sets SaveMode to New. If you want to keep the old world, it enters a different number for SaveSlot. If SaveMode is still set to New after the first start, ask the agent to change it back to Continue so your server loads the new world on subsequent starts. With "GameMode": "Custom", it can configure the world in detail, for example, "GameSetting.Vail.EnemyAggression" or "GameSetting.Environment.StartingSeason".

Add an owner

Server owners are listed in ownerswhitelist.txt in the main directory, with one SteamID64 per line. Give the agent a player’s SteamID64, and it will add it, optionally with a comment line starting with # for the player’s name. The change takes effect after a restart. Learn more in Sons of the Forest: Become an Admin.

Worlds and save files

Your worlds are stored in the Saves folder in the main directory. Always keep the entire folder together when backing up or restoring saves. The agent can package it as a .zip file (up to 100 MB) or download and extract a save file from a direct download link. Stop the server first to make sure the current progress is saved. To switch to an older world, the agent enters its number in SaveSlot. You can also upload and activate a save file in the Savegames tab. See Sons of the Forest: Manage Savegames.

Apply a server update

An outdated server may crash or fail to start. The agent can queue an update for your installation using a card.

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 fix 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 worlds in the Saves folder. It’s a good idea to create a fresh backup before starting a new world.

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 Sons of the Forest; the console is read-only in the panel.
  • It can’t send automated messages to your players. Sons of the Forest has no command or setting for this. See Sons of the Forest: Automated Server Messages.
  • You can only kick, ban, or make players administrators in-game, from Players in the pause menu.
  • It can’t change the game mode of an existing world. It creates a new world instead.
  • Sons of the Forest doesn’t allow 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 one to the agent.

Example requests

  • “My server isn’t showing up in the server list. Find out why.”
  • “Start a new world in Hard mode in SaveSlot 2, but keep the old one.”
  • “Set ServerName to ‘Forest Ranger’ and add a password in dedicatedserver.cfg.”
  • “Add the SteamID64 76561190000000001 to ownerswhitelist.txt.”
  • “Set SaveInterval to 300 seconds.”
  • “Restart the server every day at 5 a.m.”

Zappy is also available in support chat

If you contact us through support chat, Zappy can use the same tools once your ticket is linked to the server. You can read logs, run a diagnosis, restart the server, or fix file permissions there without a ZapX Pass. You need a ZapX Pass to change settings, files, worlds, or backups.

Conclusion

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

Free tools

Sons of the Forest 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 shows you a card for anything that changes your server and only carries it out 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.
Sons of the Forest only uses GameMode and CustomGameModeSettings when creating a new world. The agent sets SaveMode to New and can use a different SaveSlot to keep your existing world.

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.