Sons of The Forest Admin Commands

From Survival Servers
Revision as of 09:06, 17 November 2026 by Ryan (talk | contribs) ([wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To turn on admin commands, add your Steam ID to the owners file over FTP. Or type it in the Admin UID field on the Game Server page and click Save Settings & Restart.

  1. Stop your server from the Game Server page.
  2. Log in over FTP with WinSCP, a free FTP program. Use the login details in the "FTP Details" section of the Game Server page, with TLS/SSL Explicit encryption on.
    Download WinSCP: WinSCP download page
  3. Find the file ownerswhitelist.txt in the first folder.
  4. Open the file in a text editor like Notepad or Notepad++.
    The server ignores any line that starts with #, like this one:
    # This is a comment and will not be read by a file
  5. To make yourself an owner, add a new line at the bottom of the file with your 17-digit Steam ID.
    7656119XXXXXXXXXX
  6. Save the file, upload it, and click the Start button at the top of the Game Server page.
  7. Start up Sons of the Forest on your own computer.
  8. Find your server and connect to it.
  9. In the game, press Esc and open Players in the pause menu. Each player has admin options, so you can kick, ban and promote players.

If you don't see the admin options on the Players page, check that your Steam ID is in the ownerswhitelist.txt file.

Command list

Command Description
RESTART button on the Game Server page Restarts the server.
STOP button on the Game Server 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.

Rent a Sons of the Forest server from Survival Servers with instant setup.