Sons of the Forest Config Generator
Set enemies, seasons, survival and building rules for your Sons of the Forest server. The generator writes a complete dedicatedserver.cfg using the keys from the official Endnight guide.
Valid for Sons of the Forest, official dedicated server guide (November 2026)
How to use the file on your server
- Stop the server in the game panel.
- For your own rules: under Startup, set GAME_MODE to custom and pick an unused SAVE_SLOT number so a new save is created.
- Open serverconfig/dedicatedserver.cfg in the file manager or via SFTP.
- Replace the whole content with the generated config and save. Make sure the JSON is complete.
- Start the server. Your old save stays available under its previous SAVE_SLOT number.
Server name (ServerName) · Password (Password) · Max players (MaxPlayers) · Game mode (GameMode), set to custom for custom rules · Save slot (SaveSlot) · Skip network test (SkipNetworkAccessibilityTest) · Game port (GamePort) · Query port (QueryPort) · BlobSync port (BlobSyncPort)
The panel writes them into the config on every start, so changes in the file would be overwritten.No Sons of the Forest server yet?
Our game servers run on AMD EPYC with NVMe in Frankfurt, with DDoS protection and a panel with file manager and SFTP – ready in a few minutes.
FAQ: Sons of the Forest server settings
Why do my custom settings have no effect?
CustomGameModeSettings are only read when GameMode is custom and a new save is created. On our servers, set GAME_MODE=custom under Startup; the launch line overrides the value in the file.
Can I change the rules of an existing save?
No, custom rules are fixed once when the save is created. Pick an unused SAVE_SLOT number under Startup and the server starts a new save with the new rules.
What is the difference between GameSettings and CustomGameModeSettings?
GameSettings (tree regrowth and structure damage) apply in every game mode. CustomGameModeSettings apply only in custom mode.
Why does the server not start after my change?
Despite its extension, dedicatedserver.cfg is a JSON file. A missing comma or quote makes the start fail, so always copy the complete generated file.
How do I make myself an admin?
Add your SteamID64 to ownerswhitelist.txt in the serverconfig folder, one ID per line, and restart the server.