Difference between revisions of "Sons of The Forest Server Settings"
| Line 19: | Line 19: | ||
| |'''serverSteamPort 10417''' | |'''serverSteamPort 10417''' | ||
| |Steam Communication Port - Note: If you have a router you will need to open this port. | |Steam Communication Port - Note: If you have a router you will need to open this port. | ||
| + | |- | ||
| + | |'''serverGamePort 10415''' | ||
| + | |Game Communication Port - Note: If you have a router you will need to open this port. | ||
| + | |- | ||
| + | |'''serverQueryPort 10416''' | ||
| + | |Query Communication Port - Note: If you have a router you will need to open this port. | ||
| + | |- | ||
| + | |'''serverName Dev Test by SurvivalServers.com''' | ||
| + | |Server display name | ||
| |- | |- | ||
| |} | |} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| // Maximum number of players<br> | // Maximum number of players<br> | ||
| '''serverPlayers 20'''<br> | '''serverPlayers 20'''<br> | ||
Revision as of 12:42, 22 February 2023
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 Server.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 server.cfg button under the Advanced Config section of your control panel.
- Edit the your desired settings.
Server Settings
| Command | Description | 
|---|---|
| serverIP 45.34.121.143 | Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding | 
| serverSteamPort 10417 | Steam Communication Port - Note: If you have a router you will need to open this port. | 
| serverGamePort 10415 | Game Communication Port - Note: If you have a router you will need to open this port. | 
| serverQueryPort 10416 | Query Communication Port - Note: If you have a router you will need to open this port. | 
| serverName Dev Test by SurvivalServers.com | Server display name | 
// Maximum number of players
serverPlayers 20
// Enable VAC (Valve Anti-cheat System at the server. Must be set off or on
enableVAC on
// Server password. blank means no password
serverPassword 
// Server administration password. blank means no password
serverPasswordAdmin changeme
// Your Steam account name. blank means anonymous
serverSteamAccount
// Time between server auto saves in minutes - The minumum time is 15 minutes, the default time is 30
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 Continue
// 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 on
// Contact email for server admin
serverContact [email protected]
// No enemies
veganMode off
// No enemies during day time
vegetarianMode off
// Reset all structure holes when loading a save
resetHolesMode off
// Regrow 10% of cut down trees when sleeping
treeRegrowMode off
// Allow building destruction
allowBuildingDestruction on
// Allow enemies in creative games
allowEnemiesCreativeMode off
Share your opinion
