The Forest Console Commands
To enable console commands for your Forest server, you will need to access the configuration file from TOOLS > Server.cfg on your server's page or via FTP to do so.
- 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 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 - Navigate to the directory you wish to upload or edit a file.
The file is Server.cfg , which is located at the first folder. - 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 - To enable cheats for your server, you will need to add a new line at the bottom of the file.
allowCheats on - After editing/uploading/deleting your files in the proper directories, press the START button at the top of your server's page. (using Save Settings & Restart will overwrite your change)
- Start up the Forest game on your own computer.
- 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. - 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.
- Find your server and connect to it.
- At the login screen, type in the admin password, which is the Admin Pass in the settings form on your server's page.
- 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.
Command List
| Command | Description |
|---|---|
| /help | Provides you with a help menu of all the known commands. |
| /save (slot number 1-5) | Saves the game on the chosen slot number. Be careful as it may save over another game in your dedicated server save folder. |
| /restart | Restarts the server. |
| /shutdown | Shuts down the server. |
| /ban (steam id) | Bans the user. |
| /kick (steam id) | Kicks the user. |
| /treeregrowmode | Regrow cut down trees when sleeping. Options are /treeregrowmode on or /treeregrowmode off. |
| /allowbuildingdestruction | Allow building destruction. Options are /allowbuildingdestruction on or /allowbuildingdestruction off. |
| /allowenemiescreative | Allow enemies in creative games. Options are /allowenemiescreative on or /allowenemiescreative off. |
You can host your own The Forest server with Survival Servers with instant setup.