NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com
Difference between revisions of "Sons of The Forest Admin Commands"
Jump to navigation
Jump to search
Share your opinion
(Created page with "To enable console commands for your Forest server, you will need to access the configuration file via FTP to do so. To edit/upload/save/delete files via FTP, us...") |
|||
Line 1: | Line 1: | ||
− | To enable console commands for your | + | To enable console commands for your server, you will need to access the configuration file via [[FTP Access|FTP]] to do so. To edit/upload/save/delete files via FTP, use the following method: |
#Stop your server from the panel. | #Stop your server from the panel. |
Latest revision as of 10:37, 26 January 2023
To enable console commands for your server, you will need to access the configuration file via FTP to do so. To edit/upload/save/delete files via FTP, use the following method:
- 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 the game server control panel.
Download link for WinSCP here: http://winscp.net/eng/download.php - 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 control panel. (using the green button 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 can be found on the control panel.
- 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 allowEnemiesCreativeMode on or allowEnemiesCreativeMode off. |
Share your opinion