The Forest

[smartslider3 slider=“5″]

[smartslider3 slider=“6″]

Popular Commands

These commands are the most common and used by players. They are easy to use and straight forward (they can also be found in their categories below):

CodeDescription
terrainrender on
terrainrender off
Turns on terrain
Turns off terrain, can still be walked on
survival on
survival off
No need to eat, drink etc
speedyrun on
speedyrun off
Fast run, Be careful not to kill yourself, you get a lot of air time. This can be buggy, if turned off you may not be able to run. Try crouching, sprinting, jumping etc to reset it.
saveSaves the game, no matter where you are in the world
lightingtimeofdayoverride noonSets game lighting to noon until turned off
killallenemiesKills all cannibals and mutants in the game, they will respawn though
itemhack on
itemhack off
Never run out of items, must have the item in the first place
invisible on
invisible off
Makes it so you can walk/run underwater like its air, disables swimming effects water lighting texture effects and washing of blood, paint & mud. (has no effect on rain it still washes you as normal)
godmode on
godmode off
No damage, unlimited stamina, fullness, water, energy etc. You cannot die
forcerain sunnyChanges weather to sunny, useful for stopping bad weather
forcerain heavyChanges weather to heavy rain, useful for filling up water collectors
faststart on
faststart off
Skips the plane crash
enemies on
enemies off
Turns enemies on or off, cannibals and mutants
cutgrass 10Cut grass in a 10 radius around player, choose any number. Can take a long time to load if large sizes are chosen
cutdowntrees 100%100% will cut down all trees, choose any percentage
cutdowntrees 1010 will cut down 10 trees, choose any number
cavelight on
cavelight off
Increases the light while in a cave. Basically daylight inside the caves.
cancelallghostsREMOVES every blueprints that has been placed, will be very loud if you have a lot!
buildhack on
buildhack off
Allows building like Creative Mode. Unlimited resources and building super fast
buildermode on
buildermode off
on – Turns on buildhack, turns on godmode, turns off survival mode, adds all items (not story items), and turns enemies off.
buildallghostsBUILDS every blueprints that has been placed, will be very loud if you have a lot!
additem 77Adds a live rabbit to the players hand. Can be placed inside a rabbit cage
addallstoryitemsAdds all story items, such as keycards
addallitemsAdd all items, except story items. Use twice to fill inventory storage bags such as stick bags etc

Indicators

These commands indicate information to the player that they may find useful:

CodeDescription
findpassengerSee passengers on how to use this
devicedebuginformation on
devicedebuginformation off
Shows you statistics about your device.
toggleCullingGrid on
toggleCullingGrid off
toggleCullingGrid toggle
Still investigating.
runMacro <macro name>Still investigating.
helpLists all commands. Can be difficult to locate them, use the ~ key or F2
clearClears the console, helps clean it up so you can see what its doing
showgamestatsShows stats of your current game, these include all of the following: Days, trees cut down, enemies killed, rabbits killed, deer killed, turtles killed, birds killed, cooked food, burnt food, cancelled structures, built structures, destroyed structures, repaired structures, edible items used, items crafted, upgrades added, arrows fired, lit arrows, lit weapons, burnt enemies, exploded enemies, opened suitcase, passengers found, story elements, and infections
toggleplaystats
achievementloglevel none
achievementloglevel log
achievementloglevel error
achievementloglevel all
none – By default it is set as off/none
log – Logs achievement progression, won’t list errors
error – Lists errors, not progression
all – Logs achievement progress plus lists errors
pmactivestatelabels on
pmactivestatelabels off
Shows current behavior of enemies and animals on each one, this may cause major performance issues. Not recommended on 4K resolution as the writing is too difficult to read plus the performance drop is too severe
loaddebugconsolemodCan be used to add commands to the debug console through a compiled C# dll following a specific scheme (possibly useful for modders)

Difficulty

These commands change the difficulty and game modes.
If you wish to change a creative game into a normal one you will need to type in setgamemode standard, then you will need to select a difficulty.

CodeDescription
setdifficultymode peacefulChange difficulty to Peaceful Mode
setdifficultymode normalChange difficulty to Normal Mode
setdifficultymode hardChange difficulty to Hard Mode
setdifficultymode hardsurvivalChange difficulty to Hard Survival Mode
setgamemode standardChanges game mode to standard
setgamemode creativeChanges game mode to creative
setgamemode modChanges game mode to mod

Time and Lighting

These commands affect the time of day, speed of the game, changing the day, changing the lighting of the day, etc:

CodeDescription
checkdayChecks time of day, can be useful for multiplayer if joining
advancedaySkips one day ahead, not much use
setcurrentday 100Will change day to 100, any number can be used
timescale (number)Changes the speed of the game, 0 pauses, 1 is normal, 2 is faster, etc. DON’T GO TOO HIGH, STAY BELOW 20 then work your way up
gametimescale #Change # to a number. Changes the speed of day/night cycle, hunger, energy, thirst etc. Much safer than time scale
timescale 0This will pause the game, press ESC twice to unpause
lightingtimeofdayoverride offTurns off this command if it is turned on
lightingtimeofdayoverride HR:MMCan be used to set anytime you wish, for example, 10:00 will make it 10 in the morning
lightingtimeofdayoverride morningSets game lighting to morning until turned off
lightingtimeofdayoverride noonSets game lighting to noon until turned off
lightingtimeofdayoverride sunsetSets game lighting to sunrise until turned off
lightingtimeofdayoverride nightSets game lighting to night until turned off

Environment

These commands will change weather, terrain, grow gardens, cut down trees, remove grass, etc:

CodeDescription
allowsunshine
allowsunshine on
allowsunshine off
Can be toggled on and off without typing on or off at the end. Turns sunshine/fog on or off. When this is off, it can greatly increase view distance, though some textures look a bit funny.
terrainrender on
terrainrender off
Turns on terrain
Turns off terrain, can still be walked on
plantallgardensPlants all gardens, also returns the amount of gardens
growalldirtpilesRefill dirt piles used for camouflage
cutdowntrees 1010 will cut down 10 trees, choose any number
cutdowntrees 100%100% will cut down all trees, choose any percentage
cutgrass 10Cut grass in a 10 radius around player, choose any number. Can take a long time to load if large sizes are chosen
forcerain light
forcerain 2
Changes weather to light rain
forcerain medium
forcerain 3
Changes weather to moderate rain
forcerain heavy
forcerain 4
Changes weather to heavy rain
forcerain cloud
forcerain 5
Changes weather to cloudy
forcerain sunny
forcerain 6
Changes weather to sunny
setrainbonus 4Using number 4 helps with filling Water Collectors, requires more testing beyond this

Player

These commands will change stats, appearance and other attributes of the player:

CodeDescription
revealcavemapReveals the entire map, for above ground and below ground.
unlimitedHairspray on
unlimitedHairspray off
Never run out of Hairspray fuel.
saveSaves the game, no matter where you are in the world
itemhack on
itemhack off
Never run out of items, must have the item in the first place.
energyhack on
energyhack off
Unlimited energy and stamina
godmode on
godmode off
No damage, unlimited stamina, fullness, water, energy etc
survival on
survival off
No need to eat, drink etc
killlocalplayerKills player, depending on game state. In multiplayer, you will drop down
killmefastPermanent Suicide, will require reload
revivelocalplayerRevives player, might only work in multiplayer
fakehitplayerFake hits the player, player is stunted causing the player to ‚flinch‘
speedyrun on
speedyrun off
Fast run, Be careful not to kill yourself, you get a lot of air time
invisible on
invisible off
Makes it so you can walk/run underwater like its air, disables swimming effects water lighting texture effects and washing of blood, paint & mud. (has no effect on rain it still washes you as normal). This also allows you to move through invisible barricades within the game. For example, at the cliffs at the top end of the map and the edges of the map. Note that you can fall out of the map with this on.
setvariationextra NoneRemoves jacket if the player was wearing one
setvariationextra JacketAdds jacket if the player wasn’t wearing one
decaynextmeatChanges one meat, example: fresh>edible or edible>spoiled
poisonPoison is same as being hit by a poison arrow or a poison upgraded weapon, it causes infection which requires aloe to heal.
hitlocalplayer 50Player will take 50 damage to 100, 0 – 100 can be used
setstat fullChanges all stats to full, such as health, energy, stamina, etc
setstat Health 100Changes health amount to 100, 0 – 100 can be used
setstat Stamina 100Changes stamina amount to 100, 0 – 100 can be used
setstat Energy 100Changes energy amount to 100, 0 – 100 can be used
setstat Sanity 100Changes sanity amount to 100,0 – 100 can be used
setstat Fullness 100Changes fullness amount to 100, 0 – 100 can be used
setstat BatteryCharge 100Changes flashlight batteries charge to 100, 0 – 100 can be used. Most likely also affects weapons with flashlights attached
setSkill runTime 100Sets sprint/run time to 100, this should max out athleticism
setSkill lungTime 100Sets swim underwater time to 100, this should max out athleticism
setSkill ath 100Sets athleticism to 99, which is the max
stewcomboverbose on
stewcomboverbose off
Indicates when a successful stew recipe/combination was consumed.

Clothing

These commands change the players outfit: The console command listclothing will provide a list of all the clothing types in game when you press F2 and hover the mouse over the command.

CodeTypeDescriptionImage
addClothingById 1HeadBeanie 1
addClothingById 2HeadBeanie 2
addClothingById 3HeadBeanie 3
addClothingById 4PantsDefault
addClothingById 5PantsBlack
addClothingById 6PantsCamo
addClothingById 7PantsKhaki
addClothingById 8PantsBeige
addClothingById 9Full OutfitBlack Suit
addClothingById 10Full HandsDarkgrey
addClothingById 11Full HandsGrey
addClothingById 12Full HandsGreen
addClothingById 12Full HandsShirt Closed
addClothingById 14Partial HandsJacket Low
addClothingById 15Partial HandsLeather-Jacket
addClothingById 17Partial HandsShirt Open
addClothingById 18Partial ArmsVest: Darkblue
addClothingById 19Partial ArmsVest: Dark Green
addClothingById 20Partial ArmsVest: Colorful
addClothingById 21ShirtDefault
addClothingById 22ShirtCamo
addClothingById 23ShirtWolf
addClothingById 24ShirtGrey
addClothingById 25Full ArmsBotton Up: Blue
addClothingById 26Full ArmsBotton Up: White
addClothingById 27Full ArmsLong Shirt: Grey
addClothingById 28Full ArmsV-Neck: Black
addClothingById 29Full OutfitStewardess Dress
addClothingById 30Full ArmsBathrobe
addClothingById 31PantsBathrobe Pants
addClothingById 32Full ArmsTennis Outfit
addClothingById 33Full ArmsPilot Uniform

Animals

These commands are related to animals.

For ’spawn‘ commands, you are able to specify the quantity using the suffix --x (where x is the desired quantity). e.g. spawnanimal lizard --6 will spawn 6 lizards.

CodeDescription
killallanimalsKills all the animals in the game, they will respawn though
killclosestanimalKills closest animal to you
animals on
animals off
Turns animals on or off
birds on
birds off
Turns birds on or off
spawnanimalquietSpawns a trapped animal if a Animal Trap is near by
spawnanimal rabbitSpawn a rabbit
spawnanimal lizardSpawn a lizard
spawnanimal deerSpawn a deer
spawnanimal turtleSpawn a turtle
spawnanimal tortoiseSpawn a tortoise
spawnanimal raccoonSpawn a raccoon
spawnanimal squirrelSpawn a squirrel
spawnanimal boarSpawn a boar
spawnanimal crocodileSpawns a crocodile

Enemies

These commands are related to enemies, which include cannibals and mutants. spawnenemy and spawnmutant usually do the same thing, however sometimes one won’t work, where as the other will. Try both if it isn’t working. Keep in mind, if you are in creative mode or peaceful, you will need to change the game mode aswell as the difficulty to be able to spawn enemies.

For ’spawn‘ commands, you are able to specify the quantity using the suffix --x (where x is the desired quantity). e.g. spawnmutant male --6 will spawn 6 cannibals.

CodeDescription
veganmode on
veganmode off
Enemies will only appear in caves.
resetallenemiesResets AI, Kill all enemies
enemies on
enemies off
Turns enemies on or off, cannibals and mutants
knockdownclosestenemyKnock down closest cannibal, may not work on mutants
killclosestenemyKills closest enemy to you, cannibal or mutant
killallenemiesKills all cannibals and mutants in the game, they will respawn though. This does not work on worms, you must use killallworms for them instead
killallwormsKills all worms in the game. They cannot be killed by using killallenemies command
killendbossKills End Boss
astar on
astar off
Turns on or off path finding for enemies, they will walk into water, walls, cliffs etc
gotoenemyTeleports player to a random cannibal, this is used by devs for testing enemy AI
spawnregularfamilySpawns 3-6 Regular Cannibals
spawnpaintedfamilySpawns 3-6 Painted Cannibals
spawnskinnedfamilySpawns 3-6 Masked Cannibals
spawnskinnyfamilySpawns 2-3 Skinny Cannibals
spawnmutant male_skinnyMale Skinny Cannibal
spawnmutant female_skinnyFemale Skinny Cannibal
spawnmutant skinny_paleSkinny Pale Cannibal
spawnmutant maleMale Regular Cannibal
spawnmutant femaleFemale Regular Cannibal
spawnmutant firemanFire Thrower Cannibal
spawnmutant palePale Cannibal
spawnmutant armsyArmsy
spawnmutant vagsVirginia
spawnmutant babyMutant Baby
spawnmutant fatCowman
spawnmutant wormWorm
spawnmutant girlEnd Boss
spawnenemy male_skinnyMale Skinny Cannibal
spawnenemy female_skinnyFemale Skinny Cannibal
spawnenemy skinny_paleSkinny Pale Cannibal
spawnenemy maleMale Regular Cannibal
spawnenemy femaleFemale Regular Cannibal
spawnenemy firemanFire Thrower Cannibal
spawnenemy palePale Cannibal
spawnenemy armsyArmsy
spawnenemy vagsVirginia
spawnenemy babyMutant Baby
spawnenemy fatCowman
spawnenemy wormWorm
spawnenemy girlEnd Boss