The Forest Server Settings: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Luke (talk | contribs)
No edit summary
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(12 intermediate revisions by 3 users not shown)
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, open the settings file from '''TOOLS''' > '''Server.cfg''' on the Game Server page, or over FTP (File Transfer Protocol).


#Stop your server from the panel.
#Stop your server from the Command Center.
#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
#Log in to FTP with WinSCP (a free FTP program) using the details in "FTP DETAILS" on the Game Server page in the Command Center. Set Encryption to "TLS/SSL Explicit encryption", or the login is refused. Download WinSCP: [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.
#Go to the folder with the file you want to upload or edit.<br>The file to edit is Server.cfg.
#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 the file in a text editor like Notepad or Notepad++.<br>The server ignores any line that starts with two slashes.<br><code>// This is a comment and will not be read by a file</code>
===Tree Regrowth===
==Server settings==
#To enable / disable tree regrowth mode, change the value of treeRegrowMode from "off" to "on" or "on" to "off".<br>'''Example: treeRegrowMode on'''  
{| class="wikitable"
===Difficulty===
! style="font-weight: bold;" | Setting
#To change the difficulty of your server, change the value of difficulty from "normal" to "hard"<br>'''Example: difficulty hard'''
! style="font-weight: bold;" | Description
<br>After editing/uploading/deleting your files in the proper directories, start your server from the panel.
|-
| <code>serverIP 203.0.113.10</code>
| Server IP address. If you have a router, this is the internal address, and you need to set up port forwarding
|-
|<code>serverSteamPort 10417</code>
|Steam communication port. If you have a router, you'll need to open this port.
|-
|<code>serverGamePort 10415</code>
|Game communication port. If you have a router, you'll need to open this port.
|-
|<code>serverQueryPort 10416</code>
|Query communication port. If you have a router, you'll need to open this port.
|-
|<code>serverName Dev Test by SurvivalServers.com</code>
|Server display name
|-
|<code>serverPlayers 20</code>
|Maximum number of players
|-
|<code>enableVAC on</code>
|Turns on VAC (Valve Anti-Cheat) on the server. Must be set off or on
|-
|'''serverPassword'''
|Server password. Blank means no password
|-
|<code>serverPasswordAdmin changeme</code>
|Server admin password. Blank means no password
|-
|'''serverSteamAccount'''
|Your Steam account name. Blank means anonymous
|-
|<code>serverAutoSaveInterval 15</code>
|Minutes between autosaves. The minimum is 15, the game's default is 30 and the Command Center sets 15
|-
|<code>difficulty Normal</code>
|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>
|New or continue a game. Must be set to New or Continue
|-
|<code>slot 1</code>
|Slot to save the game. Must be set 1 2 3 4 or 5
|-
|<code>showLogs on</code>
|Show event log. Must be set off or on
|-
|<code>serverContact [email protected]</code>
|Contact email for server admin
|-
|<code>veganMode off</code>
|No enemies
|-
|<code>vegetarianMode off</code>
|No enemies during day time
|-
|<code>resetHolesMode off</code>
|Reset all structure holes when loading a save
|-
|<code>treeRegrowMode off</code>
|Regrow 10% of cut down trees when sleeping
|-
|<code>allowBuildingDestruction on</code>
|Allow building destruction
|-
|<code>allowEnemiesCreativeMode off</code>
|Allow enemies in creative games
|-
|}
 
[https://www.survivalservers.com/services/game_servers/the_forest/ Rent a server for The Forest] from Survival Servers and be online in minutes.

Latest revision as of 09:07, 17 November 2026

To change the difficulty or other settings for your Forest server, open the settings file from TOOLS > Server.cfg on the Game Server page, or over FTP (File Transfer Protocol).

  1. Stop your server from the Command Center.
  2. Log in to FTP with WinSCP (a free FTP program) using the details in "FTP DETAILS" on the Game Server page in the Command Center. Set Encryption to "TLS/SSL Explicit encryption", or the login is refused. Download WinSCP: WinSCP download page.
  3. Go to the folder with the file you want to upload or edit.
    The file to edit is Server.cfg.
  4. Open the file in a text editor like Notepad or Notepad++.
    The server ignores any line that starts with two slashes.
    // This is a comment and will not be read by a file

Server settings

Setting Description
serverIP 203.0.113.10 Server IP address. If you have a router, this is the internal address, and you need to set up port forwarding
serverSteamPort 10417 Steam communication port. If you have a router, you'll need to open this port.
serverGamePort 10415 Game communication port. If you have a router, you'll need to open this port.
serverQueryPort 10416 Query communication port. If you have a router, you'll need to open this port.
serverName Dev Test by SurvivalServers.com Server display name
serverPlayers 20 Maximum number of players
enableVAC on Turns on VAC (Valve Anti-Cheat) on the server. Must be set off or on
serverPassword Server password. Blank means no password
serverPasswordAdmin changeme Server admin password. Blank means no password
serverSteamAccount Your Steam account name. Blank means anonymous
serverAutoSaveInterval 15 Minutes between autosaves. The minimum is 15, the game's default is 30 and the Command Center sets 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

Rent a server for The Forest from Survival Servers and be online in minutes.