Comment on page
The Server.cfg file is is automatically generated the first time you launch a dedicated server.
It is located there:
See comments below for usage of each entry (lines beginning with //).
The Server.cfg file initial content is:
// Dedicated Server Settings.
// Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding, append the current game port here as well
// Steam Communication Port - Note: If you have a router you will need to open this port.
// Game Communication Port - Note: If you have a router you will need to open this port.
// Query Communication Port - Note: If you have a router you will need to open this port.
// Server display name
serverName Sons Of The Forest Game
// Maximum number of players
// Server password. blank means no password
// Server administration password. blank means no password
// Your Steam account name. blank means anonymous (see Steam server account bellow)
// Enable VAC (Valve Anti Cheat) on the server. off by default, uncomment to enable
// Time between server auto saves in minutes
// Game difficulty mode. Must be set to "Peaceful" "Normal" or "Hard"
// New or continue a game. Must be set to "New" or "Continue"
// Slot to save the game. Must be set 1 2 3 4 or 5
// Show event log. Must be set "off" or "on"
// Contact email for server admin
serverContact [email protected]
// No enemies. Must be set to "on" or "off"
// No enemies during day time. Must be set to "on" or "off"
// Reset all structure holes when loading a save. Must be set to "on" or "off"
// Regrow 10% of cut down trees when sleeping. Must be set to "on" or "off"
// Allow building destruction. Must be set to "on" or "off"
// Allow enemies in creative games. Must be set to "on" or "off"
// Allow clients to use the built in development console. Must be set to "on" or "off"
// Allows defining a custom folder for save slots, leave empty to use the default location
// Target FPS when no client is connected
// Target FPS when there is at least one client connected