The Forest Server Settings: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17) |
||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
To change the difficulty or other settings for your Forest server, | {{#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 | #Stop your server from the Command Center. | ||
#Log in to FTP | #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]. | ||
# | #Go to the folder with the file you want to upload or edit.<br>The file to edit is Server.cfg. | ||
#Open | #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> | ||
==Server | ==Server settings== | ||
{| class="wikitable" | {| class="wikitable" | ||
! style="font-weight: bold;" | | ! style="font-weight: bold;" | Setting | ||
! style="font-weight: bold;" | Description | ! style="font-weight: bold;" | Description | ||
|- | |- | ||
| | | <code>serverIP 203.0.113.10</code> | ||
| Server IP address | | 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 | |Steam communication port. If you have a router, you'll need to open this port. | ||
|- | |- | ||
| | |<code>serverGamePort 10415</code> | ||
|Game | |Game communication port. If you have a router, you'll need to open this port. | ||
|- | |- | ||
| | |<code>serverQueryPort 10416</code> | ||
|Query | |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 | |Server display name | ||
|- | |- | ||
| | |<code>serverPlayers 20</code> | ||
|Maximum number of players | |Maximum number of players | ||
|- | |- | ||
| | |<code>enableVAC on</code> | ||
| | |Turns on VAC (Valve Anti-Cheat) on the server. Must be set off or on | ||
|- | |- | ||
|'''serverPassword''' | |'''serverPassword''' | ||
|Server password. | |Server password. Blank means no password | ||
|- | |- | ||
| | |<code>serverPasswordAdmin changeme</code> | ||
|Server | |Server admin password. Blank means no password | ||
|- | |- | ||
|'''serverSteamAccount''' | |'''serverSteamAccount''' | ||
|Your Steam account name. | |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. Must be set to Peaceful Normal or | |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 | |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 | |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 | |Show event log. Must be set off or on | ||
|- | |- | ||
|<code>serverContact [email protected]</code> | |||
|Contact email for server admin | |Contact email for server admin | ||
|- | |- | ||
| | |<code>veganMode off</code> | ||
|No enemies | |No enemies | ||
|- | |- | ||
| | |<code>vegetarianMode off</code> | ||
|No enemies during day time | |No enemies during day time | ||
|- | |- | ||
| | |<code>resetHolesMode off</code> | ||
|Reset all structure holes when loading a save | |Reset all structure holes when loading a save | ||
|- | |- | ||
| | |<code>treeRegrowMode off</code> | ||
|Regrow 10% of cut down trees when sleeping | |Regrow 10% of cut down trees when sleeping | ||
|- | |- | ||
| | |<code>allowBuildingDestruction on</code> | ||
|Allow building destruction | |Allow building destruction | ||
|- | |- | ||
| | |<code>allowEnemiesCreativeMode off</code> | ||
|Allow enemies in creative games | |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).
- Stop your server from the Command Center.
- 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.
- Go to the folder with the file you want to upload or edit.
The file to edit is Server.cfg. - 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.