Looking for cheats in Sons of the Forest? You can use console commands to turn on godmode, spawn every item in the game, change the time of day or the weather, run and jump like a superhero, or even enlist an army of helpful Kelvins to get your cabin built extra quickly.
And here's more good news: It's pretty easy to access a debug console for the early access survival game that'll let you do all that and more.
How to enable cheats
How to enable Sons of the Forest cheats
To enable cheats in Sons of the Forest, you'll need a couple of mods you can find at Thunderstore, a popular mod repository for games like Valheim, Boneworks, and now Sons of the Forest. First you'll want to install the Thunderstore Mod Manager, and then use that to install BepInExPack IL2CPP and the Sons of the Forest DebugConsole mod.
Once installed, launch Sons of the Forest by choosing the "Modded" option on the top right of the Thunderstore interface. It may take a while to load if it's the first time you've launched the game this way, but after that first time it should load much more quickly.
Once Sons of the Forest has launched, start a new game or load a save. Once you're in the game, press F1 to bring up the debug console. In the top left corner of your screen, you'll see the console field to type commands. Press F1 again to close the console.
Below you'll find the commands we've tested, followed by a general list of commands discovered by the mod's creator, CallMeSlinky. We haven't tested them all and aren't sure what many of them do yet, so be sure to back up your saved games if you're worried about corrupting your save file. Your saved games should be located at: C:\User\[UserName]\AppData\LocalLow\Endnight\SonsOfTheForest\Saves
Player cheats
Player cheats
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 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 super jump |
speedyrun on | Lets you run faster |
speedyrun off | Turns off fast run |
cavelight on | Illuminates area around you |
cavelight off | Turns off illumination around you |
createlight | Adds a lightsource to the world |
settimeofday [1-24] | Changes the time of day |
settimeofday morning | Changes time to early morning |
settimeofday night | Changes time to night |
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 |
NPC/Enemy cheats
NPC/enemy cheats
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) |
Additional cheats
Other cheats
Here are the rest of the console commands you can use in the debug console mod, though we haven't tested most of them yet. Some may require a number following them to work, others may require an on/off statement following them. Be careful when using them and remember to back up your saved games.
Complete cheat list |
---|
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 |