Free config generator

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)

Sons of the Forest
Start with a preset:
World & buildings (every mode)
Gameplay.TreeRegrowth

Felled trees grow back, triggered when you sleep. Applies in every game mode; default is true.

Default: On

Structure.Damage

If false, buildings cannot be damaged. Applies in every game mode; default is true.

Default: On

Enemies & animals (custom)
GameSetting.Vail.EnemySpawn

If false, no cannibals or mutants spawn, ideal for relaxed building. Custom mode only.

Default: On

GameSetting.Vail.EnemyHealth

Enemy starting health: Low, Normal or High.

Default: Normal

GameSetting.Vail.EnemyDamage

How much damage enemies deal. Low makes fights much more forgiving.

Default: Normal

GameSetting.Vail.EnemyArmour

Strength of the armour enemies wear.

Default: Normal

GameSetting.Vail.EnemyAggression

How aggressive enemies are. High means more frequent and fiercer attacks.

Default: Normal

GameSetting.Vail.EnemySearchParties

How often enemies send search parties after you.

Default: Normal

GameSetting.Vail.AnimalSpawnRate

How often animals spawn: Low, Normal or High.

Default: Normal

Environment & seasons (custom)
GameSetting.Environment.StartingSeason

Season at the start of the game. Starting in winter is hard from day one.

Default: Summer

GameSetting.Environment.SeasonLength

How long a season lasts: Short, Default, Long or Realistic.

Default: Default

GameSetting.Environment.DayLength

Length of an in-game day. Long gives you more time in daylight.

Default: Default

GameSetting.Environment.PrecipitationFrequency

How often it rains or snows.

Default: Default

Survival (custom)
GameSetting.Survival.ConsumableEffects

How harshly food, drink and your survival stats affect you: Normal or Hard.

Default: Normal

GameSetting.Survival.PlayerStatsDamage

Whether and how hard poor survival stats and food cause damage: Off, Normal or Hard. Default is Off.

Default: Off

GameSetting.Survival.ColdPenalties

How much cold slows health and stamina regeneration. Default is Off.

Default: Off

GameSetting.Survival.StatRegenerationPenalty

Reduces the rate at which health and stamina regenerate. Default is Off.

Default: Off

GameSetting.Survival.ReducedFoodInContainers

If true, you find less food in crates and containers.

Default: Off

GameSetting.Survival.SingleUseContainers

If true, each container can only be opened once. The official example sets true.

Default: On

GameSetting.Survival.BuildingResistance

How much your buildings withstand attacks. High protects your base better.

Default: Normal

GameSetting.Survival.PlayersImmortalMode

God mode for all players: nobody can die.

Default: Off

GameSetting.Survival.CreativeMode

Enables creative play inside custom mode.

Default: Off

Building & cheats (custom)
GameSetting.Survival.OneHitToCutTrees

If true, every tree falls with a single hit. Saves a lot of time when building.

Default: Off

GameSetting.FreeForm.ForcePlaceFullLoad

If true, everything you hold (stones, stone floors, wood floors) is placed with a single click.

Default: Off

GameSetting.Construction.NoCuttingsSpawn

If true, no cuttings spawn when you cut logs.

Default: Off

GameSetting.Multiplayer.Cheats

Allows cheats on the server. Default is false.

Default: Off

Server & performance
SaveInterval

Seconds between autosaves. 600 is 10 minutes; 300 saves more often.

Default: 600

IdleDayCycleSpeed

How fast time passes while nobody is online, from 0 to 1. Default 0.0: time stands still.

Default: 0

IdleTargetFramerate

Server frame rate while nobody is online. The default 5 saves CPU.

Default: 5

ActiveTargetFramerate

Server frame rate while players are online, at least 10. Default 60; higher values only cost CPU.

Default: 60

TimestampLogEntries

Adds a timestamp to every log line. Helpful when troubleshooting.

Default: On

How to use the file on your server

  1. Stop the server in the game panel.
  2. For your own rules: under Startup, set GAME_MODE to custom and pick an unused SAVE_SLOT number so a new save is created.
  3. Open serverconfig/dedicatedserver.cfg in the file manager or via SFTP.
  4. Replace the whole content with the generated config and save. Make sure the JSON is complete.
  5. Start the server. Your old save stays available under its previous SAVE_SLOT number.
Set these in the panel under Startup, not in the file:

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.

All Sons of the Forest settings explained in our docs →

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.

More config generators