Sons of the Forest can be an extremely challenging survival game, especially if you’re playing on a high difficulty level. However, those frustrations - sometimes bugged-driven - can be eased with the use of console commands. Console commands are effectively cheat codes, allowing you to revive fallen companions or add new weapons to your arsenal.
In fact, you can do pretty much anything you want with a single console command. However, bringing up the console command prompt requires some specific actions and some of the commands need some explaining, as they can be pretty vague.
Below, you can see a list of every console command and item ID in Sons of the Forest and how to use them.
How to use console commands in Sons of the Forest
For starters, you need to know how to bring up the console command prompt and how to use it before you can begin cheating in Sons of the Forest. Follow the steps below to start entering console commands:
- Enter a new game or play an existing save file in Sons of the Forest
- Type the word “cheatstick” while in-game (remove the quotations)
- You can type the word while standing still; you don’t have to unpause the game or do anything else
- Once you’re done typing cheatstick, press the F1 key. This should bring up the console command list on your screen
- In the top-left of the screen, you will see a blinking line, which is where you enter your command
- After you type in a command, make sure it’s spelled and spaced correctly, and then press “enter.” If done correctly, your command should work in-game
It’s that simple to use the console command feature in Sons of the Forest. You just have to make sure you’re spelling the word cheatstick and your commands correctly.
Best console commands in Sons of the Forest
Not every console command is useful in Sons of the Forest, so we compiled a list of the best ones you can use in-game. These commands range from spawning items to enabling god mode to keeping the day at a specific time.
Command name | Description |
---|---|
addallitems | Adds a stack of every item in the game into your inventory |
additem [item name] | Adds a specific item to your inventory |
addallstoryitems | Adds all story items to your inventory |
godmode on | Turns on god mode |
godmode off | Turns off god mode |
regenhealth | Regens your entire health bar |
buffstats | Regens your hunger, stamina, and thirst bars |
superjump on/off | Grants the superjump ability (jump higher) |
speedyrun on/off | Grants the speedyrun ability (run faster) |
Cavelight on/off | Lights up your surroundings |
Aighostplayer on/off | Enemies ignore you completely |
Aipause on/off | All AI NPCs pause in place |
Aidisable on/off | All AI NPCs disappear |
Killradius [number] | Kills all specified enemies in a particular area |
Settimeofday [1-24] | Sets the clock to the specified time |
Settimeofday morning/night | Changes the day to morning or night |
Showhud on/off | Enables or disables your HUD |
Instantbookbuild on/off | Builds all selected items from your guidebook |
Addcharacter robby [number] | Spawns a certain number of Kelvins |
Addvirginia | Spawns an extra Virginia |
Aiarmorlevel [number] | Changes the armor level of AI enemies |
Treescutall on/off | Cuts all the trees around you |
Showfps on/off | Displays your current frames per second |
Showui on/off | Enables or disables the UI |
All Sons of the Forest console command
For an entire look at every single console command in Sons of the Forest, you can view the table below:
- addallitems
- 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
All Sons of the Forest item IDs
If you’re looking to spawn a specific item in Sons of the Forest, there are two ways to do so. You can use the console command: additem [item name]. You need to choose whatever item you want and type it directly after “additem,” removing the brackets and not using any spaces either. Then, press enter, and your specified item will be in your inventory.
In addition to that method, you can also add an item through its ID number. Every single item in Sons of the Forest has a specific ID number, which you can use to spawn that item by altering the source code of a save file. To do that, follow the steps below:
- Press the Windows key + R
- Type in Appdata
- Click on the LocalLow folder
- Click on Endnight and then Sons of the Forest
- Find the Saves folder
- Open the folder that has 17 digits in its name
- Open the singleplayer or multiplayer folder, depending on what save file you’re trying to change
- Open the folder that contains your most recent save
- Click on the PlayerInventorySaveData folder and open it using Notepad
- Enter this command: {\"ItemId\":X,\"TotalCount\":XX,\"UniqueItems\":[]},
- You want to replace the first X with the item ID you’re trying to spawn and then replace the XX with the desired number of the item you want
- Save the file and then open up Sons of the Forest using the save file you just altered
- If done correctly, your new item will be in your inventory
Below, you can see a list of every item ID number in Sons of the Forest:
- Alcohol: 414
- Aloe Vera: 451
- Air Canister: 469
- Backpack: 402
- Battery: 527
- Blueprint Book: 52
- Bone Armor: 494
- Buckshot: 364
- Canned Food: 434
- Cash: 496
- Chainsaw: 394
- Cloth: 415
- Cooking Pot: 517
- Crafted Spear: 474
- Creepy Armor: 593
- Cross: 468
- Crossbow: 365
- Crossbow Bolt: 368
- Duct Tape: 419
- Emergency Pack: 483
- Energy Drink: 439
- Energy Bar: 441
- Energy Mix: 461
- Energy Mix+: 462
- Feather: 479
- Fish: 436
- Flare: 440
- Flashlight: 471
- Flask: 426
- Food Tray: 512
- Frag Grenade: 381
- Golden Armor: 572
- GPS Locator: 529
- GPS Tracker: 412
- Grab Bag: 351
- Grappling Hook: 560
- Guest Keycard: 526
- Guide Book: 589
- Health Mix: 455
- Health Mix+: 456
- Hide Armor: 519
- Knife: 380
- Leaf: 484
- Leaf Armor: 473
- Loot Pouch: 508
- Log: 78
- Maintenance Keycard: 566
- Medium Rock: 506
- Modern Arrow: 373
- Molotovs: 388
- MRE Snack Rations: 438
- Noodles: 421
- Pistol: 355
- Pistol Ammo: 362
- Pistol Silencer: 374
- Plasma Lighter: 413
- Printer Arrow: 618
- Printer Resin: 390
- Radio: 590
- Raw Meat: 433
- Rebreather: 444
- Revolver: 386
- Rock: 393
- Rope: 403
- Rope Gun: 522
- Severed Arm: 480
- Severed Leg: 481
- Shotgun: 358
- Skin Pouch: 508
- Skull: 430
- Sled: 428
- Slug: 363
- Small Rock: 476
- Stick: 392
- Stone Arrow: 507
- Stun Gun: 353
- Stun Gun Ammo: 369
- Swimsuit: 619
- Tactical Axe: 379
- Tarp: 504
- Tech Armor: 554
- Tech Mesh: 553
- Torch: 503
- Turtle Shell: 506
- VIP Keycard: 568
- Walkie Talkie: 486
- Wristwatch: 410
- Zipline Rope: 523
With that, you can officially spawn any item you want in Sons of the Forest and perform just about any action with the simple click of a button. Console commands should ideally be used sparingly in Sons of the Forest, though, especially if you’re a newer player. You want to try and experience the game in its purest form first and then go into console commands once you have your bearings.