dedicatedserver.cfg is the Sons of the Forest server’s settings file, written in JSON. On a FREAKHOSTING server it is at serverconfig/dedicatedserver.cfg, and you edit it in Files. The Game Panel sets the ports, password, player limit, game mode and save slot from the Startup page at every start, so change those there. Edit the file for autosave, idle time, GameSettings and CustomGameModeSettings.
Where is dedicatedserver.cfg?
Open your server, click Files and open theserverconfig folder. It holds:
dedicatedserver.cfg: the server settings.ownerswhitelist.txt: the SteamID64s of the server owners. See set up admins.Saves: your worlds. See save slots.
How to edit dedicatedserver.cfg
1
Make a backup
Open Backups and click Create backup.
2
Open the file
Click Files, open
serverconfig and click dedicatedserver.cfg. See how to use the File Manager.3
Change the values
Edit the values you need. Text goes in quotes (
"Continue"), numbers and true/false without. Every line except the last in a block ends with a comma.4
Save and restart
Click Save Content and restart the server.
Which settings does the Game Panel control?
The panel starts the server with these values from Startup. They override the file, so change them on Startup:
The Startup page with the Sons of the Forest variables
Settings you change in the file
GameSettings: settings for your current world
The server applies these to an existing world after a restart:CustomGameModeSettings: settings for new custom worlds
The server reads these only when Gamemode iscustom and it creates a new world. To use them, set Gamemode to custom and choose an unused Save Slot, as in change difficulty.
Frequently asked questions
Why does my server name or password change back?
The panel sets them from Startup at every start. Change Server Name and Password on Startup instead of in the file.Where are dedicatedservergameplay.json and AdminPassword?
They don’t exist in Sons of the Forest. All settings are indedicatedserver.cfg, and admins are set in ownerswhitelist.txt.
Can I raise the player limit in dedicatedserver.cfg?
No. The panel setsMaxPlayers from the read-only Max Players variable. The game allows up to 8 players.
Why did my custom settings not change anything?
They only apply to a new world created with Gamemode set tocustom. Start an unused Save Slot.
Related guides
Sons of the Forest server guide
Every Sons of the Forest page in one place.
Change difficulty
Use the custom game mode.
Set up admins
ownerswhitelist.txt and the Players menu.
Save slots
New worlds and uploading your save.
Startup variables
How the Startup page works.
Tested by the FREAKHOSTING team on our Game Panel on 30 October 2026 (Sons of the Forest dedicated server on our Game Panel). Keys checked against the official dedicated server guide. Steps may differ slightly if the game changes.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026