The Forest Console Commands: Difference between revisions
Jump to navigation
Jump to search
[wiki:ss-claude-11372] Cut filler: notes about the page itself, repeated lines, empty phrases and decorative pictures (Ryan 2026-10-15) |
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17) |
||
| Line 3: | Line 3: | ||
|description=The Forest console commands for dedicated servers: allow cheats in Server.cfg, open the F1 console, and use admin commands such as /kick, /ban and /save. | |description=The Forest console commands for dedicated servers: allow cheats in Server.cfg, open the F1 console, and use admin commands such as /kick, /ban and /save. | ||
}} | }} | ||
To | 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 Access|FTP]]. | ||
#Stop your server from the | #Stop your server from the Command Center. | ||
#Log in | #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.<br> Get WinSCP from the [https://winscp.net/eng/download.php WinSCP download page]. | ||
# | #Go to the folder where you want to upload or edit a file.<br>The file is Server.cfg, in the first folder. | ||
#Open | #Open the file in a text editor like Notepad or Notepad++.<br>If you're new to settings files: 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> | ||
#To | #To turn on cheats, add a new line at the bottom of the file:<br>'''allowCheats on''' | ||
#After | #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 | #Start The Forest on your own PC. | ||
# | #At the main menu, type: developermodeon.<br>Note: Nothing shows that you typed it correctly. | ||
#To test if this works, press | #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. | #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 | #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 | #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 | 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 | ==Command list== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Command !! Description | ! Command !! Description | ||
|- | |- | ||
| '''/help''' || | | '''/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 | | '''/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. | | '''/restart''' || Restarts the server. | ||
| Line 41: | Line 41: | ||
|} | |} | ||
[https://www.survivalservers.com/services/game_servers/the_forest/ Rent a server for The Forest] from Survival Servers with instant setup. | |||
Latest revision as of 09:07, 17 November 2026
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.