Generate a Sons of the Forest dedicatedserver.cfg
Sons of the Forest reads a JSON file called dedicatedserver.cfg — the .cfg extension hides the fact that it is strict JSON, and that is where most of its setup problems start.
Visual Settings
dedicatedserver.cfg
Advertisement
The dedicatedserver.cfg format
Standard JSON: keys and strings in double quotes, numbers and true/false bare, no comments, no trailing commas. The three ports — GamePort, QueryPort and BlobSyncPort — are all set here, and all three must be forwarded. GameSettings and CustomGameModeSettings are nested objects whose keys themselves contain dots, such as Gameplay.TreeRegrowth; leave them as they are unless you mean to change them.
Advertisement
The mistake that wastes an evening
SaveMode set to New makes the server start a fresh world; left that way, it keeps doing so on every restart and your progress seems to vanish. Set it back to Continue once the world exists. And the server tests its own ports at startup and refuses to start if they are not reachable — skipping that test only hides the real problem.