The Forest Server Settings: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
m Add link to the game service page (internal linking sweep)
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
Line 1: Line 1:
To change the difficulty or other settings for your Forest server, you will need to access the configuration file via FTP (File Transfer Protocol) to do so. To edit/upload/save/delete files via FTP, use the following method:
{{#seo:
|title=The Forest Server Settings: Server.cfg Options Explained
|description=The Forest dedicated server settings in Server.cfg: how to open the file, then what each line does, from difficulty and enemies to tree regrowth.
}}
To change the difficulty or other settings for your Forest server, you will need to access the configuration file from '''TOOLS''' > '''Server.cfg''' on your server's page or 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.
#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: [https://winscp.net/eng/download.php WinSCP download page]
#Log in to FTP using WinSCP (a free FTP software) using the connection details found in the "FTP DETAILS" section of your server's page in the Command Center. Set Encryption to "TLS/SSL Explicit encryption", or the login is refused. Download link for WinSCP here: [https://winscp.net/eng/download.php WinSCP download page]
#Navigate to the directory you wish to upload or edit a file.<br>You want to edit the Server.cfg file.
#Navigate to the directory you wish to upload or edit a file.<br>You want to edit the Server.cfg file.
#Open up the file using a text editor like Notepad or Notepad++.<br>If you are not familiar with configuration files, any line starting with two slashes is ignored by the program.<br>// This is a comment and will not be read by a file
#Open up the file using a text editor like Notepad or Notepad++.<br>If you are not familiar with configuration files, any line starting with two slashes is ignored by the program.<br><code>// This is a comment and will not be read by a file</code>
==Server Settings==
==Server Settings==
{| class="wikitable"
{| class="wikitable"
Line 10: Line 14:
! style="font-weight: bold;" | Description
! style="font-weight: bold;" | Description
|-
|-
| <code>serverIP "45.34.121.143"</code>
| <code>serverIP 45.34.121.143</code>
| Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding
| Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding
|-
|-
|<code>serverSteamPort "10417"</code>
|<code>serverSteamPort 10417</code>
|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.
|-
|-
|<code>serverGamePort "10415"</code>
|<code>serverGamePort 10415</code>
|Game 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.
|-
|-
|<code>serverQueryPort "10416"</code>
|<code>serverQueryPort 10416</code>
|Query 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.
|-
|-
|<code>serverName "Dev Test by SurvivalServers.com"</code>
|<code>serverName Dev Test by SurvivalServers.com</code>
|Server display name
|Server display name
|-
|-
|<code>serverPlayers "20"</code>
|<code>serverPlayers 20</code>
|Maximum number of players
|Maximum number of players
|-
|-
|<code>enableVAC "on"</code>
|<code>enableVAC on</code>
|Enable VAC (Valve Anti-cheat System at the server. Must be set off or on
|Enable VAC (Valve Anti-cheat System at the server. Must be set off or on
|-
|-
Line 34: Line 38:
|Server password. blank means no password
|Server password. blank means no password
|-
|-
|<code>serverPasswordAdmin "changeme"</code>
|<code>serverPasswordAdmin changeme</code>
|Server administration password. blank means no password
|Server administration password. blank means no password
|-
|-
Line 40: Line 44:
|Your Steam account name. blank means anonymous
|Your Steam account name. blank means anonymous
|-
|-
|<code>serverAutoSaveInterval "15"</code>
|<code>serverAutoSaveInterval 15</code>
|Time between server auto saves in minutes - The minumum time is 15 minutes, the default time is 30
|Time between server auto saves in minutes - The minimum time is 15 minutes, the game's default is 30 and the panel writes 15
|-
|-
|<code>difficulty "Normal"</code>
|<code>difficulty Normal</code>
|Game difficulty mode. Must be set to Peaceful Normal or Hard
|Game difficulty mode for a new game. A saved game keeps the difficulty it started with. Must be set to Peaceful, Normal, Hard or HardSurvival
|-
|-
|<code>initType "Continue"</code>
|<code>initType Continue</code>
|New or continue a game. Must be set to New or Continue
|New or continue a game. Must be set to New or Continue
|-
|-
|<code>slot "1"</code>
|<code>slot 1</code>
|Slot to save the game. Must be set 1 2 3 4 or 5
|Slot to save the game. Must be set 1 2 3 4 or 5
|-
|-
|<code>showLogs "on"</code>
|<code>showLogs on</code>
|Show event log. Must be set off or on
|Show event log. Must be set off or on
|-
|-
|<code>serverContact "[email protected]"</code>
|<code>serverContact [email protected]</code>
|Contact email for server admin
|Contact email for server admin
|-
|-
|<code>veganMode "off"</code>
|<code>veganMode off</code>
|No enemies
|No enemies
|-
|-
|<code>vegetarianMode "off"</code>
|<code>vegetarianMode off</code>
|No enemies during day time
|No enemies during day time
|-
|-
|<code>resetHolesMode "off"</code>
|<code>resetHolesMode off</code>
|Reset all structure holes when loading a save
|Reset all structure holes when loading a save
|-
|-
|<code>treeRegrowMode "off"</code>
|<code>treeRegrowMode off</code>
|Regrow 10% of cut down trees when sleeping
|Regrow 10% of cut down trees when sleeping
|-
|-
|<code>allowBuildingDestruction "on"</code>
|<code>allowBuildingDestruction on</code>
|Allow building destruction
|Allow building destruction
|-
|-
|<code>allowEnemiesCreativeMode "off"</code>
|<code>allowEnemiesCreativeMode off</code>
|Allow enemies in creative games
|Allow enemies in creative games
|-
|-

Revision as of 20:34, 14 October 2026

To change the difficulty or other settings for your Forest server, you will need to access the configuration file from TOOLS > Server.cfg on your server's page or via FTP (File Transfer Protocol) to do so. To edit/upload/save/delete files via FTP, use the following method:

  1. Stop your server from the panel.
  2. Log in to FTP using WinSCP (a free FTP software) using the connection details found in the "FTP DETAILS" section of your server's page in the Command Center. Set Encryption to "TLS/SSL Explicit encryption", or the login is refused. Download link for WinSCP here: WinSCP download page
  3. Navigate to the directory you wish to upload or edit a file.
    You want to edit the Server.cfg file.
  4. 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

Setting 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
serverPlayers 20 Maximum number of players
enableVAC on Enable VAC (Valve Anti-cheat System at the server. Must be set off or on
serverPassword Server password. blank means no password
serverPasswordAdmin changeme Server administration password. blank means no password
serverSteamAccount Your Steam account name. blank means anonymous
serverAutoSaveInterval 15 Time between server auto saves in minutes - The minimum time is 15 minutes, the game's default is 30 and the panel writes 15
difficulty Normal Game difficulty mode for a new game. A saved game keeps the difficulty it started with. Must be set to Peaceful, Normal, Hard or HardSurvival
initType Continue New or continue a game. Must be set to New or Continue
slot 1 Slot to save the game. Must be set 1 2 3 4 or 5
showLogs on Show event log. Must be set off or on
serverContact [email protected] Contact email for server admin
veganMode off No enemies
vegetarianMode off No enemies during day time
resetHolesMode off Reset all structure holes when loading a save
treeRegrowMode off Regrow 10% of cut down trees when sleeping
allowBuildingDestruction on Allow building destruction
allowEnemiesCreativeMode off Allow enemies in creative games

Don't have a server yet? Rent a The Forest server from Survival Servers and be online in minutes.