Sons of the Forest Console Commands
Last verified June 2026, against the current Sons of the Forest build.
Sons of the Forest has a hidden developer console you unlock with a code word. Once it is on, you can toggle godmode, add items, spawn companions and enemies, change the season, and control time. This is the full, verified command list plus how console access works on a dedicated server.
How to enable the console (cheatstick)
- While in a loaded game, simply type
cheatstick— nothing appears on screen as you type, that is normal. - Press Enter, then press F1 to open the console panel.
- Type a command and press Enter. Note: a few build/blueprint commands must be entered twice to take effect.
Keyboard note: the cheatstick trigger only registers on a US keyboard layout. On other layouts, add a US/English (US) keyboard in Windows language settings and switch to it first.
Player & survival commands
| Command | Effect |
| godmode on/off | Makes the player immune to all damage. |
| invisible on/off | Enemies no longer see you. |
| setstrengthlevel [number] | Raises health pool and melee damage. |
| setstat health/stamina/rest/fullness/hydration [value] | Sets an individual survival stat (e.g. setstat health 100). |
| setstat temperature [value] | Sets body temperature. |
| energyhack on/off | Stops stats from draining. |
| speedyrun on/off | Greatly increased movement speed. |
| superjump on/off | Much higher jumps. |
| cavelight on/off | Adds a bright personal light for caves. |
Item & building commands
| Command | Effect |
| addallitems | Adds every item to your inventory. |
| additem [name/ID] | Adds a specific item to your inventory. |
| spawnitem [name/ID] | Spawns an item in the world. |
| removeitem [name/ID] | Removes an item from your inventory. |
| buildermode | Tops up build resources for free building. |
| loghack on/off | Infinite logs. |
| stonehack on/off | Infinite stones. |
| instantbookbuild | Completes blueprint structures instantly. |
| addprefab [golfcart/LogSled/PropaneBurner/...] | Spawns a specific object/prefab. |
Time & world commands
| Command | Effect |
| settimeofday [0-23] | Sets the time of day (24-hour). |
| setcurrentday [number] | Jumps to a specific day. |
| locktimeofday on/off | Freezes the clock. |
| timescale [0-10+] | Game speed (0 = pause, 1 = normal, 2 = double). |
| season [summer/autumn/winter/spring] | Changes the season. |
Enemy, AI & character commands
| Command | Effect |
| killradius [number] | Kills all enemies within the given radius. |
| aidisable on/off | Disables all enemy AI. |
| aigodmode on/off | Makes enemies invincible. |
| aighostplayer on/off | Enemies ignore the player. |
| animalsenabled on/off | Toggles animals on or off. |
| addcharacter robby | Adds the companion Kelvin. |
| addcharacter virginia | Adds the companion Virginia. |
| addcharacter cannibal [count] | Spawns cannibals (count optional). |
| creepyvillage | Spawns mutants in the cannibal villages. |
Multiplayer & game-setup commands
In co-op, the console is locked until cheats are explicitly enabled for the session:
| Command | Effect |
| setgamesetupsetting GameSetting.Multiplayer.Cheats true | Enables console/cheats in multiplayer. |
| setgamesetupsetting GameSetting.Survival.CreativeMode true/false | Toggles creative mode. |
| setgamesetupsetting GameSetting.Survival.PlayersImmortalMode true/false | Players cannot die. |
Console & admin on a dedicated server
Sons of the Forest does not support RCON. There is no RconPassword / RconPort setting and no remote console protocol — if a guide tells you to set one up, it is wrong. Server administration works through the dedicated-server config file and the in-game owner/admin account instead:
- Set who is an admin/owner in the dedicated server's configuration (the owner list), so that account can open the console in-game.
- Enable multiplayer cheats for the session with
setgamesetupsetting GameSetting.Multiplayer.Cheats true, then usecheatstick+ F1 as above. - Player moderation (kick/ban, password, whitelist) and limits like max players are set in the server configuration, not via in-game console commands.
Looking for managed Sons of the Forest server hosting? Supercraft runs Sons of the Forest dedicated servers with daily backups, instant setup, and 5 region options. Plans from $5.99/mo.