Skip to content

Sons of the Forest server guide

Sons of the Forest servers hold up to eight players and keep one persistent world in a numbered save slot. The server is the Windows build run under Wine on Linux, and almost everything you would want to change — name, password, player cap, game mode and which save slot it loads — is a field on the Startup tab.

  1. Open your server in the panel and go to Startup.
  2. Change the fields, save, then restart from Console.
Field What it does
Server Name The name shown in the server list. Up to 60 characters.
Max Players 1 to 8. Four by default; eight is the game’s own cap.
Password Join password. Each new server is created with its own random one; change it to something your group will remember, or clear it for an open server. A server ordered before November 24, 2026 started with a shared default, so change it if you never have.
Gamemode normal, hard, hardsurvival, peaceful or custom. Only used when the server creates a new save.
Save Slot The save slot the server loads. A slot that does not exist yet is created on start.
Skip network Test Leave on. It is what lets the server come up on a host where the game’s own network test would fail.
Auto Update Updates the server files when it starts.

Gamemode is read once, when a world is first created on that save slot. Changing it later does not convert an existing world; if you want different rules on the same map, use custom and set the individual options in serverconfig/dedicatedserver.cfg.

The three ports the server needs — game, query and blob-sync — are allocated when the server is created. You do not need to open anything.

Server owners get the in-game admin panel. Ownership is set from a text file, and it takes a Steam ID.

  1. Find your SteamID64: open your Steam profile in a browser and copy the 17-digit number from the address (steamcommunity.com/profiles/7656...). A custom profile URL hides it, so use a SteamID lookup or your Steam account details page. Copy it exactly.
  2. Stop the server, open Files and go to serverconfig/.
  3. Open ownerswhitelist.txt and add your SteamID64 on its own line, one per line. Lines starting with # are comments and are ignored, so you can label each ID.
  4. Save the file and start the server.
  5. Join, and the in-game admin panel is available to you — kick, ban and teleport among other things.

Everything the server writes lives under serverconfig/, which is the user-data folder the start command passes to the game:

Path What is in it
serverconfig/dedicatedserver.cfg Server and game settings
serverconfig/ownerswhitelist.txt Steam IDs of server owners
serverconfig/Saves/ Your worlds, one folder per save slot

Some keys in serverconfig/dedicatedserver.cfg are rewritten from the panel on every start: the server name and the save slot. Edit those on Startup, not in the file. The rest of the file — save interval, LAN-only, target framerate when idle, the GameSettings and CustomGameModeSettings blocks — is yours to edit. Stop the server before you change it, then start it again.

Sons of the Forest keeps single-player saves and multiplayer saves in different places and formats. The one that moves to a dedicated server is a multiplayer world — one you hosted from inside the game for friends.

  1. Take a backup in Backups first.
  2. Stop the server.
  3. On your PC, find the save you hosted: it is under %USERPROFILE%\AppData\LocalLow\Endnight\SonsOfTheForest\Saves\<your SteamID>\<save slot>\.
  4. Upload that save folder into serverconfig/Saves/DedicatedServer/Multiplayer/ on the server, keeping or renaming the folder to the slot number you want to use.
  5. On Startup, set Save Slot to that number.
  6. Start the server and watch Console for the world to load.

Keep your original save on your PC until you have confirmed the server is running it. A world that fails to load shows up as a fresh island rather than an error.

On a brand new server the first start writes the config files and then asks for one restart. Restart once from Console; from then on it starts normally. After uploading a world, restart once if the world does not appear on the first start.

Sons of the Forest has no server-side mod support in our setup, and no mod loader is installed. There is nothing to upload to add mods.

  • The server is not in the server list. Check Server Name and Password, then join by address from the panel — Connecting to your server covers where the address goes.
  • A ninth player is refused. That is the game’s eight-player cap, not the host.
  • Joining fails with a network error. Skip network Test should be on. If it is, work through the connection checklist rather than changing ports.
  • The world reset. Save Slot was changed to a slot with no save in it, or the uploaded folder name does not match the slot. Set it back and restart.
  • The name or save slot keeps reverting. They are set from Startup on every start.
  • The server will not start after a game update. Make sure Auto Update is on, and that the client is on the same build.