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

Difference between revisions of "Console Commands"

From Survival Servers
Jump to navigation Jump to search
Line 4: Line 4:
 
#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.<br> Download link for WinSCP here: http://winscp.net/eng/download.php
 
#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.<br> Download link for WinSCP here: http://winscp.net/eng/download.php
 
#Navigate to the directory you wish to upload or edit a file.<br>The file is Server.cfg , which is located at the first folder.
 
#Navigate to the directory you wish to upload or edit a file.<br>The file is Server.cfg , which is located at the first folder.
#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.
+
#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
// This is a comment and will not be read by a file
 
 
#To enable cheats for your server, you will need to add a new line at the bottom of the file.
 
#To enable cheats for your server, you will need to add a new line at the bottom of the file.
 
allowCheats on
 
allowCheats on

Revision as of 09:58, 26 March 2021

To enable console commands 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.
    The file is Server.cfg , which is located at the first folder.
  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
  5. To enable cheats for your server, you will need to add a new line at the bottom of the file.

allowCheats on

  1. After editing/uploading/deleting your files in the proper directories, press the Start button at the top of your control panel. (using the green button will overwrite your change)
  2. Start up the Forest game on your own computer.
  3. Once you are at the main menu, type in the following: developermodeon

Note: You will not see any indicator that you typed this in correctly.

  1. To test if this works, press the F1 button. If you see $> toggleworkscheduler in the upper left corner, you did this correctly. Press F1 again.
  2. Find your server and connect to it.
  3. At the login screen, type in the admin password, which can be found on the control panel.
  4. When you are in the game, press F1. You will see $> toggleworkscheduler in the upper left corner. You can now type in cheat commands.

If you do not see the input prompt when you press F1, you will need to check the Server.cfg file to see if your addition was overwritten.



Share your opinion