Sons of the Forest Cheats & Console Commands With Item IDs (May 2024)

You can spawn any items and weapon.

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.

  1. Now launch Sons of the Forest by selecting the “Modded” option located at the top right of the Thunderstore interface.
  2. Start a new game or load a saved game.
  3. Press F1 to bring up the debug console.
  4. Type in the command you wish to use in the console field located in the top left corner of your screen.
  5. 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

CommandIn-game effect
godmode onTurns on god mode
godmode offTurns off god mode
buffstatsRefills hunger, thirst, stamina
regenhealthRefills health
addallitemsGive yourself all items
removeallitemsRemoves most from inventory
additem [item name]Adds an item (ie: shovel, chainsaw)
spawnworldobject xSpawns item specified (ie: stick, rock)
instantbookbuild onBuilds anything selected from the book
instantbookbuild offTurns off instant build cheat
showhud offTurns HUD off
showhud onTurns HUD on
superjump onLets you super jump
superjump offTurns off a super jump
speedyrun onLets you run faster
speedyrun offTurns off fast run
cavelight onIlluminates the area around you
cavelight offTurns off illumination around you
createlightAdds a lightsource to the world
settimeofday [1-24]Changes in the time of day
settimeofday morningChanges time to early morning
settimeofday nightChanges time tonight
locktimeofday morningTime remains morning
forcerain heavyChanges weather to rain
forcerain sunnyChanges weather to sunny
season summerChanges season to summer
season autumnChanges season to autumn
season winterChanges season to winter
season springChanges season to spring
saveSaves your game

Cheats To Modify NPC/Enemy Behaviour

CommandIn-game effect
addcharacter robby 1Spawn an extra Kelvin
addvirginiaSpawn an extra Virginia
aigodmode onTurns on god mode for companions
aigodmode offTurns off god mode for companions
aighostplayer onEnemies ignore you
aighostplayer offEnemies see you
aipauseAI entities (including companions) freeze in place
aidisableAI entities (including companions) completely vanish
aishowthoughts onDisplay 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