1 of 1 Servers
Search
K
Comment on page

Server.cfg Config

The Server.cfg file is is automatically generated the first time you launch a dedicated server.
It is located there:
C:\Users\USER\AppData\LocalLow\SKS\TheForestDedicatedServer\ds\Server.cfg
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
serverIP 123.233.233.22:27015
// Steam Communication Port - Note: If you have a router you will need to open this port.
serverSteamPort 8766
// Game Communication Port - Note: If you have a router you will need to open this port.
serverGamePort 27015
// Query Communication Port - Note: If you have a router you will need to open this port.
serverQueryPort 27016
// Server display name
serverName Sons Of The Forest Game
// Maximum number of players
serverPlayers 8
// Server password. blank means no password
serverPassword
// Server administration password. blank means no password
serverPasswordAdmin
// Your Steam account name. blank means anonymous (see Steam server account bellow)
serverSteamAccount
// Enable VAC (Valve Anti Cheat) on the server. off by default, uncomment to enable
enableVAC off
// Time between server auto saves in minutes
serverAutoSaveInterval 15
// Game difficulty mode. Must be set to "Peaceful" "Normal" or "Hard"
difficulty Normal
// New or continue a game. Must be set to "New" or "Continue"
initType New
// Slot to save the game. Must be set 1 2 3 4 or 5
slot 1
// Show event log. Must be set "off" or "on"
showLogs off
// Contact email for server admin
serverContact [email protected]
// No enemies. Must be set to "on" or "off"
veganMode off
// No enemies during day time. Must be set to "on" or "off"
vegetarianMode off
// Reset all structure holes when loading a save. Must be set to "on" or "off"
resetHolesMode off
// Regrow 10% of cut down trees when sleeping. Must be set to "on" or "off"
treeRegrowMode off
// Allow building destruction. Must be set to "on" or "off"
allowBuildingDestruction on
// Allow enemies in creative games. Must be set to "on" or "off"
allowEnemiesCreativeMode off
// Allow clients to use the built in development console. Must be set to "on" or "off"
allowCheat off
// Allows defining a custom folder for save slots, leave empty to use the default location
saveFolderPath
// Target FPS when no client is connected
targetFpsIdle 5
// Target FPS when there is at least one client connected
targetFpsActive 60
Last modified 9mo ago