Free tool

Sons of the Forest Server Config Generator

Build a valid dedicatedserver.cfg for your Sons of the Forest dedicated server. Pick a name, password, player limit, game mode and save slot, then copy or download the file. Everything runs in your browser, so your password stays with you.

Server

Shown in the server list and in Steam. On a Space-Node server or another panel with the Pelican egg, set the name in the Startup tab: the panel writes it into this file on every start.

Up to 40 characters. It never leaves your browser. Leave it empty for a public server.

Sons of the Forest allows 1 to 8 players.

World and saves

Only used when the server creates a new save. An existing save keeps its own mode.

Folder 0000000001 under Saves/DedicatedServer/Multiplayer.

Default 600, every 10 minutes.

0 to 1. At 0 time stands still while nobody is online.

These two work in every mode, also on an existing save.

Network

All three are UDP. Open them in your firewall and port forwarding.

Hides the server from the internet list. Leave it off for friends who play from home.

Expert option. Endnight warns a server that fails the test is usually unreachable anyway.

Server owners (optional)

Owners get the in-game admin panel. Find your SteamID64 under Account Details in Steam.

dedicatedserver.cfg

{
  "IpAddress": "0.0.0.0",
  "GamePort": 8766,
  "QueryPort": 27016,
  "BlobSyncPort": 9700,
  "ServerName": "Our Island",
  "MaxPlayers": 4,
  "Password": "",
  "LanOnly": false,
  "SaveSlot": 1,
  "SaveMode": "continue",
  "GameMode": "normal",
  "SaveInterval": 600,
  "IdleDayCycleSpeed": 0,
  "IdleTargetFramerate": 5,
  "ActiveTargetFramerate": 60,
  "LogFilesEnabled": false,
  "TimestampLogFilenames": true,
  "TimestampLogEntries": true,
  "SkipNetworkAccessibilityTest": false,
  "GameSettings": {
    "Gameplay.TreeRegrowth": true,
    "Structure.Damage": true
  },
  "CustomGameModeSettings": {}
}

No password: anyone who finds the server in the list can join.

Where the files go

Put both files in the server's user data folder and restart it. On Windows that is C:\Users\<user>\AppData\LocalLow\Endnight\SonsOfTheForestDS. On a panel such as the Pelican egg (Space-Node servers use it too), set the server name, ports, players, password, game mode, save slot and network test in the Startup tab. The panel passes them as start arguments or writes them into this file on every start, so the Startup tab wins over the file.

Three things that cost groups their island

Leaving SaveMode on new

With new the server creates a new game on your slot and overwrites the old one, on every restart. Keep it on continue and pick an empty slot when you want a fresh world.

Changing the game mode of a running world

Game mode and custom settings only count when a save is created. On an existing world the server ignores them, so decide on difficulty before the first start.

A typo in the JSON

The server checks its config on every start and does not boot when the file is invalid. The generator always writes valid JSON, so replacing your file with this one rules that out.

Sons of the Forest server guides

Need a machine that stays on?

A dedicated server only helps if it runs somewhere other than the host's PC. Our Sons of the Forest server hosting runs Endnight's Windows server through Wine on Linux, set up for you, from 8 GB of RAM. Your island stays online when the host logs off. Upload this file to the serverconfig folder in the File Manager and set the server name in the Startup tab, because the panel writes it into the file on every start.

Frequently Asked Questions

Based on Endnight's dedicated server guide (updated 15 January 2025). Not affiliated with Endnight Games.