Difference between revisions of "Sons of The Forest Server Settings"
Line 32: | Line 32: | ||
'''serverAutoSaveInterval 15'''<br> | '''serverAutoSaveInterval 15'''<br> | ||
// Game difficulty mode. Must be set to Peaceful Normal or Hard<br> | // Game difficulty mode. Must be set to Peaceful Normal or Hard<br> | ||
− | difficulty Normal<br> | + | '''difficulty Normal'''<br> |
// New or continue a game. Must be set to New or Continue<br> | // New or continue a game. Must be set to New or Continue<br> | ||
− | initType Continue<br> | + | '''initType Continue'''<br> |
// Slot to save the game. Must be set 1 2 3 4 or 5<br> | // Slot to save the game. Must be set 1 2 3 4 or 5<br> | ||
− | slot 1<br> | + | '''slot 1'''<br> |
// Show event log. Must be set off or on<br> | // Show event log. Must be set off or on<br> | ||
− | showLogs on<br> | + | '''showLogs on'''<br> |
// Contact email for server admin<br> | // Contact email for server admin<br> | ||
− | serverContact [email protected]<br> | + | '''serverContact [email protected]'''<br> |
// No enemies<br> | // No enemies<br> | ||
− | veganMode off<br> | + | '''veganMode off'''<br> |
// No enemies during day time<br> | // No enemies during day time<br> | ||
− | vegetarianMode off<br> | + | '''vegetarianMode off'''<br> |
// Reset all structure holes when loading a save<br> | // Reset all structure holes when loading a save<br> | ||
− | resetHolesMode off<br> | + | '''resetHolesMode off'''<br> |
// Regrow 10% of cut down trees when sleeping<br> | // Regrow 10% of cut down trees when sleeping<br> | ||
− | treeRegrowMode off<br> | + | '''treeRegrowMode off'''<br> |
// Allow building destruction<br> | // Allow building destruction<br> | ||
− | allowBuildingDestruction on<br> | + | '''allowBuildingDestruction on'''<br> |
// Allow enemies in creative games<br> | // Allow enemies in creative games<br> | ||
− | allowEnemiesCreativeMode off | + | '''allowEnemiesCreativeMode off''' |
Revision as of 10:34, 26 January 2023
To change settings for your server, you will need to access the config file via FTP (File Transfer Protocol) to do so. To edit/upload/save/delete files via FTP, use the following method:
- Stop your server from the panel.
- Log in to FTP using WinSCP (a free FTP software) using the connection details found in the "FTP Details" section of the game server control panel. Download link for WinSCP here: http://winscp.net/eng/download.php
- 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
Server Settings
// Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding
serverIP 45.34.121.143
// Steam Communication Port - Note: If you have a router you will need to open this port.
serverSteamPort 10417
// Game Communication Port - Note: If you have a router you will need to open this port.
serverGamePort 10415
// Query Communication Port - Note: If you have a router you will need to open this port.
serverQueryPort 10416
// Server display name
serverName Dev Test by SurvivalServers.com
// 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