NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com
Sons of The Forest Server Settings
To change settings for your server, you will need to access the config file via FTP or by using your control panel.
FTP
- Stop your server from the panel.
- Log in to FTP.
- Navigate to the directory you wish to upload or edit a file.
You want to edit the dedicatedserver.cfg file. - Open up the file using a text editor like Notepad or Notepad++.
If you are not familiar with configuration files, any line starting with two slashes is ignored by the program.
// This is a comment and will not be read by a file
Control panel
- Click the Dedicatedserver.cfg button under the Advanced Config section of your control panel.
- Edit the your desired settings.
Server Settings
Command | Description |
---|---|
"IpAddress": "0.0.0.0"" | Listening interface for the game server, usually 0.0.0.0 if listening on all interfaces. |
"GamePort": 8766 | UDP port used for gameplay netcode (Bolt). |
"QueryPort": 27016" | UDP port used by Steam to list the server and enable the discovery services. |
"BlobSyncPort": 9700 | BlobSyncPort UDP port used by the BlobSync system to initialize game systems and exchange data. |
"ServerName": "Sons Of The Forest Server (dedicated)" | Name of the server visible in the server list, and in the Steam contacts. |
"MaxPlayers": 8 | The maximum number of players allowed simultaneously on the server. |
"Password": "" | Adds a password to make your server “private”. Upon connection, this password will be requested before the client can proceed. |
"LanOnly": false | Allows or restricts the server visibility to LAN only. |
"SaveSlot": 1 | When creating a new save, this number will be the id of the save. |
"SaveMode": "Continue" | Game save initialization mode.
• “continue”: will create a new save on SaveSlot if it doesn’t exist, or load it if it exist. • “new”: will create a new game, with a new game id, and overwrite any game previously saved on the SaveSlot. If the server stops and restarts, the previous save will be overwritten for as long as the mode is set to “new”. |
"GameMode": "Normal" | Sets the difficulty game mode when creating a new save. This parameter is ignored if loading a save (save mode set to “continue” with a save that exists on the slot). If the game mode is set to “custom”, then the custom game mode settings will be read from CustomGameModeSettings option, described later. |
"SaveInterval": 600 | How often the game server automatically saves the game to SaveSlot, in seconds. |
"IdleDayCycleSpeed": 0.0 | A multiplier to how quickly the time passes compared to normal gameplay when the server is considered idle (no player connected). |
"IdleTargetFramerate": 5 | Target framerate of the server when it’s considered idle (no player connected). |
"ActiveTargetFramerate": 60 | Target framerate of the server when it’s NOT considered idle (one or more player connected). |
"LogFilesEnabled": false | Defines if the logs will be written to files. The logs will be output in <user data folder>/logs. |
"TimestampLogFilenames": true | Enabled log files timestamping.
• “true”: every time the server runs will dump log output to a new file, with filename having the following format: sotf_log_{DateTime:yyyy-MM-dd_HH-mm-ss}.txt • “false”: the filename will be sotf_log.txt and previous log will be overwritten if it already exists. |
"TimestampLogEntries": true | Enables each log entry written to file to be timestamped. |
"GameSettings": {} | A key value map of all game settings you can use to tweak your game (in any mode). All parameters will be listed in a later paragraph along with their possible values. If the value is null, or empty, default settings will be used. |
"CustomGameModeSettings": {} | A key value map of all settings available to customize your game in custom mode. All parameters are listed later in this guide along with their possible values. If the value is null, or empty, default settings will be used. This parameter is ignored if the game mode is not “custom” or if loading a save (save mode set to “continue” with a save that exists on the slot), whether is it “custom” or not. |
Share your opinion