Sons of The Forest Admin Commands

From Survival Servers
Revision as of 06:16, 21 October 2026 by Ryan (talk | contribs) ([wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description)
Jump to navigation Jump to search

To enable admin commands for your server, you will need to add your Steam ID to the owners file via FTP, or type it in the Admin UID field on your server's page and click Save Settings & Restart.

  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 your server's page, with TLS/SSL Explicit encryption on.
    Download link for WinSCP here: WinSCP download page
  3. Navigate to the directory you wish to upload or edit a file.
    The file is ownerswhitelist.txt, 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 # is ignored by the program.
    # This is a comment and will not be read by a file
  5. To make yourself an owner of your server, you will need to add a new line at the bottom of the file with your 17-digit Steam ID.
    7656119XXXXXXXXXX
  6. After editing/uploading/deleting your files in the proper directories, press the Start button at the top of your server's page.
  7. Start up Sons of the Forest on your own computer.
  8. Find your server and connect to it.
  9. When you are in the game, press Esc and open Players in the pause menu. You will see the admin options for each player. You can now kick, ban and promote players.

If you do not see the admin options on the Players page, you will need to check the ownerswhitelist.txt file to see if your Steam ID is in it.

Command List

Command Description
RESTART button on your server's page Restarts the server.
STOP button on your server's page Shuts down the server.
Ban, on the pause menu's Players page Bans the user.
Kick, on the pause menu's Players page Kicks the user.
"Gameplay.TreeRegrowth" in dedicatedserver.cfg Regrow cut down trees when sleeping. Options are true or false.
"Structure.Damage" in dedicatedserver.cfg Allow building destruction. Options are true or false.

You can host your own Sons Of The Forest server with Survival Servers with instant setup.