Setting Up Admins on a Sons of the Forest Server
Learn how to add admins to your Sons of the Forest dedicated server, enable the admin console, and use commands like godmode and item spawning.
Admins on a Sons of the Forest server can enter commands to enable features such as godmode, superjump, item spawning, and more. If you are running a community server, becoming an admin is essential for managing your players.
Setting Yourself As An Admin In SoTF
Stop Your Server
Access the XGamingServer Panel and Stop your server.
Open the Whitelist File
Go to Files and navigate to /serverconfig/ownerswhitelist.txt.
Add Your Steam ID
On a new line, add your SteamID64 and click save.
Start Your Server
Start your server to apply the changes.
Using SoTF Admin Commands
The Sons of the Forest in-game admin menu is disabled by default. Here is how to enable it and use admin commands on your server.
Connect to Your Server
Join your Sons of the Forest server.
Enable the Developer Console
Once in-game, type cheatstick to enable the developer console.
Open the Admin Menu
Press F1 to open the admin menu.
Enter Commands
Enter your desired command, for example speedyrun on.
Admin Commands
Here is a list of some common admin commands you can use on your SoTF server. Commands such as speedyrun, superjump, and godmode are typically considered fun commands -- use these at your own discretion.
📝 Note: Not all commands available in singleplayer are compatible with dedicated servers. 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. Find 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 with godmode) |
| superjump on / off | Toggles superjumping (pair with godmode) |
How is this guide?

Sons of the Forest Server Documentation
Complete guides for setting up, configuring, and managing your Sons of the Forest dedicated server on XGamingServer.
Adjusting Difficulty Settings in Sons of the Forest
Change your Sons of the Forest server difficulty using gamemode presets or fully custom settings like enemy health, season length, and survival penalties.