Thanks for visiting our wiki! Click here to order your own game server at SurvivalServers.com

Difference between revisions of "Server Settings"

From Survival Servers
Jump to navigation Jump to search
Line 5: Line 5:
 
#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>// This is a comment and will not be read by a file
==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;" | Command
To change the difficulty of your server, change the value of difficulty to "Peaceful", "Normal", "Hard", or "HardSurvival"<br>'''Example: difficulty hard'''
+
! style="font-weight: bold;" | Description
<br><br>After editing/uploading/deleting your files in the proper directories, start your server from the control panel.
+
|-
 +
| '''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 minumum time is 15 minutes, the default time is 30
 +
|-
 +
|'''difficulty "Normal"'''
 +
|Game difficulty mode. Must be set to Peaceful Normal or Hard
 +
|-
 +
|'''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
 +
|-
 +
|}

Revision as of 12:56, 22 February 2023

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:

  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 the game server control panel. Download link for WinSCP here: http://winscp.net/eng/download.php
  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

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
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 minumum time is 15 minutes, the default time is 30
difficulty "Normal" Game difficulty mode. Must be set to Peaceful Normal or Hard
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


Share your opinion