Here is how to add admins to your Sons of the Forest server. In SoTF admins are able to enter commands to enable things such as godmode, superjump, item spawning and more. If you're running a community becoming an admin is a vital part of managing your server.
Setting Yourself As An Admin In SoTF
- 1Access the Game Host Bros Panel and
Stopyour server. - 2Go to
File Manager. - 3Navigate to
/serverconfig/ownerswhitelist.txt. - 4On a new line, add your SteamID64 and click save.
- 5Start your server.
Using SoTF Admin Commands
The Sons of the Forest in-game admin menu is disabled by default, here's how to enable the admin menu and use admin commands on your server.
- 1Connect to your server.
- 2Once in-game type
cheatstickto enable the developer console. - 3Press
F1to open the admin menu. - 4Enter your desired command, for example
speedyrun on.
Admin Commands
Here's a list of some common admin commands that you can currently use on your SoTF server.
Commands such as speedyrun, superjump and godmode are typically considered as fun commands, use these at your own discretion.
Not all commands available in singleplayer are compatible with dedicated servers, furthermore some commands listed in the admin menu are no longer functional in-game.
| Command | Description |
|---|---|
| addallitems | Adds all items to your inventory |
| additem [ItemID] | Adds a specific item to your inventory, you can find a list of ItemIDs here |
| buffstats | Buffs stats such as your hydration and stamina |
| cavelight on / off | Makes your character become a light source |
| godmode on / off | Toggles invincibility mode |
| spawnitem 78 [value] | Spawns x amount of logs |
| speedyrun on / off | Toggles speedyrun, pair this with godmode |
| superjump on / off | Toggles superjumping, pair this with godmode |