The Forest Console Commands
To turn on console commands for your Forest server, open the settings file from TOOLS > Server.cfg on the Game Server page, or over FTP.
- Stop your server from the Command Center.
- Log in over FTP with WinSCP, a free FTP program. Use the login in the "FTP DETAILS" section of the Game Server page in the Command Center. Set Encryption to "TLS/SSL Explicit encryption", or the login is refused.
Get WinSCP from the WinSCP download page. - Go to the folder where you want to upload or edit a file.
The file is Server.cfg, in the first folder. - Open the file in a text editor like Notepad or Notepad++.
If you're new to settings files: the server ignores any line that starts with two slashes.// This is a comment and will not be read by a file - To turn on cheats, add a new line at the bottom of the file:
allowCheats on - After you've edited, uploaded or deleted your files in the right folders, press the START button at the top of the Game Server page. (Using Save Settings & Restart overwrites your change.)
- Start The Forest on your own PC.
- At the main menu, type: developermodeon.
Note: Nothing shows that you typed it correctly. - To test if this works, press F1. 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 the Game Server page.
- When you're in the game, press F1. You'll see $> toggleworkscheduler in the upper left corner. You can now type in cheat commands.
If you don't see the input prompt when you press F1, check the Server.cfg file to see if your new line was overwritten.
Command list
| Command | Description |
|---|---|
| /help | Shows a help menu of all the known commands. |
| /save (slot number 1-5) | Saves the game on the chosen slot number. Be careful: 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. |
Rent a server for The Forest from Survival Servers with instant setup.