Sons of the Forest includes an admin panel and console commands that allow server administrators to spawn items, modify gameplay, and manage the server. This guide covers all available commands and how to use them.
You must be an admin to use console commands. See How to Add Admins and How to Become Admin for setup instructions.
Accessing the Admin Panel
- Ensure your SteamID64 is in the ownerswhitelist.txt file.
- Join your server.
- Press Enter to open the chat.
- Type
cheatstick(the text won't appear - this is normal). - Press Enter to confirm.
- Press F1 to open the admin panel.

Your keyboard must be set to US layout for the cheatstick command to register correctly. If it doesn't work, check your keyboard language settings.
Admin Panel Features
The admin panel provides a graphical interface to:
- Spawn items and characters
- Toggle god mode and invisibility
- Enable super jump and fast run
- Regenerate health
- Modify companion behavior (Kelvin, Virginia)
- Force-kill enemies
- Adjust various difficulty settings
Console Commands
Commands are entered in the chat window (press Enter to open). Successful commands show green confirmation text.
Player Commands
| Command | Description |
|---|---|
godmode | Toggle invincibility on/off |
invisibility | Toggle invisibility to enemies |
superjump | Toggle enhanced jumping ability |
speedyrun | Toggle enhanced run speed |
heal | Restore player health |
Item Commands
| Command | Description |
|---|---|
additem [id] | Add an item to your inventory by ID |
spawnitem [id] | Spawn an item in the world |
addallitems | Add all items to inventory |
removeallitems | Remove all items from inventory |
Item IDs range from 78 to 739. You can find complete item ID lists on the Sons of the Forest Wiki.
World Commands
| Command | Description |
|---|---|
settimeofday [time] | Set the time of day (0-24) |
setcurrentday [day] | Set the current game day |
locktimeofday [on/off] | Freeze or unfreeze time |
timescale [value] | Adjust game speed (1 = normal) |
Difficulty Commands
| Command | Description |
|---|---|
difficulty [mode] | Set difficulty (Peaceful/Normal/Hard/HardSurvival) |
veganmode [on/off] | Toggle all enemies on/off |
Enemy and NPC Commands
| Command | Description |
|---|---|
addcharacter [type] | Spawn NPCs or enemies |
killallenemies | Kill all enemies on the map |
killclosestenemy | Kill the nearest enemy |
Companion Commands
| Command | Description |
|---|---|
revivekelvin | Bring Kelvin back if dead |
revivevirginia | Bring Virginia back if dead |
Common Item IDs
| ID | Item |
|---|---|
| 78 | Katana |
| 356 | Modern Axe |
| 359 | Machete |
| 363 | Shotgun |
| 367 | Pistol |
| 381 | Crossbow |
| 503 | GPS Locator |
| 525 | Rope Gun |
Troubleshooting
Commands not working:
- Verify you're an admin (SteamID64 in ownerswhitelist.txt)
- Make sure keyboard is set to US layout
- Type commands exactly as shown (case-sensitive)
Admin panel won't open:
- Re-enter
cheatstickand press Enter - Try pressing F1 multiple times
- Rejoin the server and try again
You now have access to all admin commands on your Sons of the Forest server.

