This guide takes you from a freshly ordered Sons of the Forest server to the first session with your friends. You give the server a name and a password, choose the game mode, set up world and idle behaviour, and add yourself as server owner so you can manage players in game.

What you need

The first start

After you order, the panel installs the server and starts it. On the first start Sons of the Forest creates the files dedicatedserver.cfg and ownerswhitelist.txt in the serverconfig folder and starts the first save in slot 1. From then on the console regularly reports that it saved automatically.

How you and your friends get into the game is covered in Join your Sons of the Forest server.

The settings in the panel

Open your server and choose Game settings › Server Variables. You find three sections there:

  • General server settings with server name, password, game mode and save slot.
  • Guided configuration with world, saving and idle settings from dedicatedserver.cfg.
  • New custom save for your own game rules.

Server name, password and game mode

General server settings holds these fields:

  • Server name: the name of your server in the server list. Pick a unique name, because your friends search for it in game.
  • Join password: you can set your own password. If you leave the field empty, the panel generates a secure one. Show displays it.
  • Game mode: Normal, Hard, Hard survival, Peaceful or Custom. The mode only applies when a new save is created. An existing save keeps its mode.
  • Save slot: selects the save. Another slot loads another save, the previous one stays.
  • Maximum players, Query port and BlobSync port come from your plan and are read-only.

Save with Save startup variables. The changes take effect on the next restart.

World, saving and idle

Sons of the Forest only reads dedicatedserver.cfg at startup and rewrites it on shutdown. Under Guided configuration, first click Stop the server now, change the values, click Save configuration and start the server again.

Setting What it does
Tree regrowth Felled trees grow back over time.
Structure damage Built structures can take damage.
Save interval (seconds) How often the server saves automatically. The default is 600 seconds, the minimum is 60.
Idle day-cycle speed 0 stops time while nobody is online, 1 keeps it running at normal speed.
Idle server FPS Frame rate of the empty server. A low value saves CPU.
Active server FPS Frame rate while someone is connected. The default is 60, the panel allows up to 120.

Your own game rules

If you want to set day length, seasons, enemies or survival rules yourself, use the New custom save section. Sons of the Forest only reads these rules when it creates a save, so the form creates a new save in "custom" mode:

  1. Stop the server with Stop the server now.
  2. Set the rules, for example day length, enemy aggression or whether enemies spawn.
  3. Under Save slot (1–30), pick a free slot if you want to keep your current save.
  4. Confirm the note that an existing save in that slot gets replaced.
  5. Click Create custom save and start the server.

After the first start the panel switches the server back to "continue" by itself, so it doesn't create a new save on every start.

Make yourself server owner

As server owner you manage your server directly in game: in the pause menu under Players you can promote other players to admins, kick guests and ban them. This is how you add yourself:

  1. Stop the server.
  2. Open Files & worlds › Files and the serverconfig folder.
  3. Open the file ownerswhitelist.txt. Lines starting with # are only explanations.
  4. Add your SteamID64 on a new line. Each additional owner gets their own line.
  5. Save the file and start the server.

Owners have every right on the server, so only add people you trust.

Common questions

I changed the game mode but nothing happened. The mode only applies to new saves. Pick a free Save slot or create a new save under New custom save.

My changes to the file are gone after a restart. The server was still running when you saved and overwrote the file when it stopped. Stop it first, then save.

Don't have a server yet? Rent a Sons of the Forest server.