Are you looking for ways to modify your Sons of the Forest gameplay? There are cheat codes and console commands available that can help you achieve that. As of writing this guide, there was no official cheat code still you can spawn any item you want using the Sons of the Forest item IDs
Here we have compiled a list of all available Sons Of The Forest Console commands with their item IDs for your convenience. With these SOTF commands, you can activate god mode, manipulate the weather and time of day, and even summon a team of helpful Kelvins to assist you.
How to Enable Sons of the Forest Console Commands?
To use these cheat codes and console commands first you need to install the Thunderstore Mod Manager, and then use that manager to install BepInExPack IL2CPP and the Sons of the Forest DebugConsole mod.
- Now launch Sons of the Forest by selecting the “Modded” option located at the top right of the Thunderstore interface.
- Start a new game or load a saved game.
- Press F1 to bring up the debug console.
- Type in the command you wish to use in the console field located in the top left corner of your screen.
- Press F1 again to close the console.
Note: You are advised to backup your saved games that you can find later at: C:\User[UserName]\AppData\LocalLow\Endnight\SonsOfTheForest\Saves
Sons of the Forest Console Commands
1. Cheats To Modify Player Attributes
Command | In-game effect |
---|---|
godmode on | Turns on god mode |
godmode off | Turns off god mode |
buffstats | Refills hunger, thirst, stamina |
regenhealth | Refills health |
addallitems | Give yourself all items |
removeallitems | Removes most from inventory |
additem [item name] | Adds an item (ie: shovel, chainsaw) |
spawnworldobject x | Spawns item specified (ie: stick, rock) |
instantbookbuild on | Builds anything selected from the book |
instantbookbuild off | Turns off instant build cheat |
showhud off | Turns HUD off |
showhud on | Turns HUD on |
superjump on | Lets you super jump |
superjump off | Turns off a super jump |
speedyrun on | Lets you run faster |
speedyrun off | Turns off fast run |
cavelight on | Illuminates the area around you |
cavelight off | Turns off illumination around you |
createlight | Adds a lightsource to the world |
settimeofday [1-24] | Changes in the time of day |
settimeofday morning | Changes time to early morning |
settimeofday night | Changes time tonight |
locktimeofday morning | Time remains morning |
forcerain heavy | Changes weather to rain |
forcerain sunny | Changes weather to sunny |
season summer | Changes season to summer |
season autumn | Changes season to autumn |
season winter | Changes season to winter |
season spring | Changes season to spring |
save | Saves your game |
Cheats To Modify NPC/Enemy Behaviour
Command | In-game effect |
---|---|
addcharacter robby 1 | Spawn an extra Kelvin |
addvirginia | Spawn an extra Virginia |
aigodmode on | Turns on god mode for companions |
aigodmode off | Turns off god mode for companions |
aighostplayer on | Enemies ignore you |
aighostplayer off | Enemies see you |
aipause | AI entities (including companions) freeze in place |
aidisable | AI entities (including companions) completely vanish |
aishowthoughts on | Display AI paths/thoughts |
killradius [number] | Kills everything within chosen range (ie, 10) |
Other Cheats & Console Commands
- addallbookpages
- addallitems
- addallstoryitems
- addcharacter
- additem
- additemswithtag
- addmemory
- addprefab
- addvirginia
- aiangerlevel
- aianimspeed
- aiarmorlevel
- aiarmortier
- aidisable
- aidodgetest
- aidummy
- aiforcestrafe
- aighostplayer
- aigodmode
- aijumpdebug
- aiknockdowndisable
- aimemoryadjust
- aipause
- aipoolstats
- airadar
- airunworldevent
- aishowanims
- aishowdebug
- aishowdebugcamera
- aishoweventmemory
- aishowhealth
- aishownavgraph
- aishowpaths
- aishowplayerinfluences
- aishowstats
- aishowsurvivalstats
- aishowthoughts
- aistatadjust
- aistructurelog
- aitestsleep
- aithought
- aithoughtnocooldown
- aivailstats
- aiverboselog
- aivillageclosest
- aiworldeventstats
- aiworldstats
- aizonestats
- allowasync
- ammohack
- animallimitmult
- animalsenabled
- animstatesgui
- anisoenabled
- Anisominmax
- applydefaultmaterials
- areashadow
- astar
- audio2dtest
- audiodebug
- audiodebugstates
- audiodescription
- audioparameter
- audioplayevent
- billboardenabled
- billboardignorechanges
- blockplayerfinaldeath
- breakobjects
- buffstats
- buildermode
- buildhack
- cameradiss
- camerafov
- capsulemode
- cavelight
- characterlods
- checkattachedentities
- checkexitmenu
- checkfrozenentities
- clear
- clearallsettings
- clearaudioparameters
- clearbushradius
- clearmidactionflag
- cloudenable cloudfactor
- cloudshadowsenable
- combatteststart
- count
- countgowithlayer
- countlinkedstructures
- counttag
- createlight
- creepyvillage
- damagedebug
- damagefreeformstructure
- deathcount
- debugplayerhitlog
- debugplayermelee
- demomode
- destroy
- destroyfreeformstructure
- destroyragdoll
- destroywildcard
- diagrenderers
- diggingclear
- disablecomponent
- disablegameobjecttester
- disablego
- disablegowildcard
- disablescene
- disconnectplayer
- disconnectplayers
- dismemberradius
- dumplobbyinfo
- duplicateobject
- dynamicresolutioncycletest
- dynamicresolutionoverride
- dynamicresolutiontarget
- enablecheats
- enablecollisionbasedkillbox
- enablecomponent
- enablego
- enablescene
- enablestructureghosts
- energyhack
- exportlinkedstructurestojson
- exposuresetspeed
- filteraudio
- findobjectswithshader
- firstlookforce
- follow
- followstop
- footstepdebug
- forcecloud
- forcecloudprofile
- forceplayerexpression
- forcerain
- forceremovetrees
- freecamera
- gainstrength
- gameoverdelaytime
- gamepaddeadzone
- gamepadxsensitivity
- gamepadysensitivity
- gccollect
- getgamemode
- getlayerculldistance
- godmode goto
- gotocoords
- gotoforce
- gototag
- gotozone
- grabsgeneratebuilt
- gravity
- greebledrockscollision
- heallocalplayer
- help
- hideworldposfor
- hitlocalplayer
- igniteradius
- importlinkedstructuresfromfile
- inspectgo
- instantbookbuild
- instantrespawnhere
- invertlook
- invisible
- joinsteamlobby
- jumptimeofday
- kickplayers
- killlocalplayer
- killradius
- knockdownlocalplayer
- lightninghittreechance
- lightninghittreemustbeinfrontplayer
- lightninginterval
- listactiveentities
- listdeathmarkers
- listgowithlayer
- listitems
- listitemswithtags
- listobjects
- loaddebugconsolemod
- loadmacros
- loadplayer
- loadscene
- loadscenesingle
- locktimeofday
- loddebugbillboards
- loddebugmaterials
- loddebugranges
- lodforce2ddistance
- lodforce3ddistance
- logging
- loghack
- logshowerrors
- logshowinfo
- logshownone
- logshowwarnings
- logtextures
- logvirtual
- mipmapstreaming
- mipmapstreamingbudget
- mipmapstreamingdiscard
- mousexsensitivity
- mouseysensitivity
- navgraphforceupdate
- netanimator
- netskinnedbones
- netspawnplayer
- openmacrosfolder outputsnappointstofile
- physicsupdatetime
- playcutscene
- playdeathcutscene
- playdeathmarker
- playdeathmarkerindex
- playeranimparams
- playerdebugcamera
- playerinterruptkeys
- playernetanimator
- playervisibility
- playgameover
- postprocessingcomponent
- profilersample
- profilersnapshot
- qualitytexture
- radiodebug
- refillcontainers
- refreshentities
- regenhealth
- removeallitems
- removeallstoryitems
- removedead
- removeitem
- removeliving
- removeshader
- renderspheres
- replaceshader
- Reporterrors
- reportlogsnow
- reportwarningsnow
- resetinputaxes
- resetsettings
- revivelocalplayer
- robbycarry
- robbyincutscenes
- rumbletest
- save
- saveplayer
- season
- sendmessageto
- setcurrentday
- setdifficultymode
- setexitedendgame
- setgamemode
- setgamesetupsetting
- setgametimespeed
- setinventorypercent
- setlayerculldistance
- setlookrotation
- setopeningcrash
- setplayerrace
- setproperty
- setsetting
- setspeakermode
- setstat
- setstrengthlevel
- settimeofday
- setwindintensity
- setworldobjectstaterange
- showactivelights
- showbutterfly info
- showcollisionobjectnames
- showdebugzones
- showfps
- showhud
- showinworldui
- showmeshmaterialnames
- showmeshobjectnames
- showmeshtrianglecounts
- showobjectlocation
- showprojectiletrails
- showstimuli
- showtriggercollision
- showui
- showworldobjects
- showworldposfor
- slapchop
- spawnedobjectstats
- spawnfallingtree
- spawnitem
- spawnpickup
- spawnrenderspheres
- spawnworldobject
- speedyrun
- sprinttoggle
- superjump
- survival
- targetframerate
- terrainparallax
- terrainpixelerror
- terrainrender
- terrainrendersimple
- terraintess
- terraintessdist
- testeventmask
- testingsamplefps
- timeofday
- timeofdayconnectiondebug
- timescale
- togglebeamdebug
- togglefiredebug
- togglefpsdisplay
- togglego
- togglegrabberdebug
- togglegrabsfacedebug
- toggleocclusionculling
- toggleoverlay
- toggleplayerstats
- togglestructureresistancedebug
- togglesuperstructurerooms
- togglevsync
- toggleworkscheduler
- trailer3
- treecutsimulatebolt
- treefallcontactinfo
- treeocclusionbonus
- treeradius treescutall
- unloadscene
- unloadunusedassets
- unlockseason
- visualdebug