Skip to content
The Forest
Free, no sign-up, in your browser

The Forest Cheats: Codes & Console Commands

The Forest cheats at a glance: all 6 title-screen cheat codes, from veganmode to developermodeon, and 77 console commands such as godmode, additem, buildhack, and goto in a searchable list with examples you can copy. For each command, see whether it works for you, only for the host, or for admins on a dedicated server. Plus a command builder for items, enemies, animals, and teleporting. Free, no sign-up required, in your browser.

Built by Florian Galz

Cheats in co-op? Set the rules with your own server.

Cheat codes for the title screen

Just type them on the main menu; there’s no input field. What each code does is listed below under “Cheat Codes”.

Searches command names, explanations, syntax, and notes. All search words must match.

Frequently searched:

77 of 77 commands

As of The Forest build 3488796

godmode

PlayersConsole, local

Makes you invulnerable. When enabled, it restores health, energy, stamina, and fullness, disables hunger, thirst, and cold, and keeps energy and stamina full.

Syntax
godmode <on|off|toggle>
Example
godmode on
Good to know: godmode off also resets survival and energyhack.
See also:

energyhack

PlayersConsole, local

Keeps energy and stamina at 100. Health and hunger remain normal.

Syntax
energyhack <on|off>
Example
energyhack on
See also:

survival

PlayersConsole, local

survival off disables survival mechanics: hunger, thirst, cold, and lack of air underwater no longer harm you. survival on enables them again.

Syntax
survival <on|off>
Example
survival off
See also:

setstat

PlayersConsole, local

Sets a character stat. setstat full restores health, energy, stamina, and fullness and sets thirst to 0.

Syntax
setstat full | setstat <Health|Stamina|Energy|Fullness|BatteryCharge|sanity|strength|weight> <Wert>
Example
setstat sanity 100

Sets your sanity to 100.

Good to know: Health, Stamina, Energy, Fullness and BatteryCharge are case-sensitive.
See also:

invisible

PlayersConsole, local

Enemies can no longer see you. invisible off makes you visible again.

Syntax
invisible <on|off>
Example
invisible on
See also:

speedyrun

PlayersConsole, local

Run and swim very fast. The game changes running speed from 9 to 60 and swimming speed from 3 to 20.

Syntax
speedyrun <on|off>
Example
speedyrun on
See also:

unlimitedhairspray

PlayersConsole, local

Hairspray for the flamethrower no longer runs out.

Syntax
unlimitedhairspray <on|off>
Example
unlimitedhairspray on
See also:

hitlocalplayer

PlayersConsole, local

Damages you, taking armor into account. Useful for testing armor or healing.

Syntax
hitlocalplayer <Schaden>
Example
hitlocalplayer 20
See also:

killlocalplayer

PlayersConsole, local

Kills your character instantly, ignoring armor.

Syntax
killlocalplayer
Example
killlocalplayer
Good to know: In permadeath mode (rawmeatmode), dying deletes the save.
See also:

revivelocalplayer

PlayersConsole, local

Revives your character while the game considers them dead. If you're still alive, the game reports that there's nothing to revive.

Syntax
revivelocalplayer
Example
revivelocalplayer
See also:

infection

PlayersConsole, local

Infects you with blood poisoning (on) or cures it (off).

Syntax
infection <on|off>
Example
infection off
See also:

poison

PlayersConsole, local

Poisons your character, for example to test antidote plants.

Syntax
poison
Example
poison
See also:

save

PlayersConsole, local

Saves the game immediately without a shelter or tent.

Syntax
save
Example
save
See also:

additem

Items & InventoryConsole, local

Adds an item directly to your inventory, as many as will fit. Find its name or ID with listitems or in the item list.

Syntax
additem <Name|ID>
Example
additem 143

Gives you the Rebreather (ID 143).

Good to know: Names with spaces, such as Axe Climbing, also work, but the ID is more precise.
See also:

removeitem

Items & InventoryConsole, local

Removes an item completely from your inventory.

Syntax
removeitem <Name|ID>
Example
removeitem 78

Removes all logs (Log, ID 78).

See also:

listitems

Items & InventoryConsole, local

Prints all item names and IDs to the console in alphabetical order.

Syntax
listitems
Example
listitems
See also:

addallitems

Items & InventoryConsole, local

Fills your inventory with all items except story items.

Syntax
addallitems
Example
addallitems
See also:

removeallitems

Items & InventoryConsole, local

Empties your inventory except for story items.

Syntax
removeallitems
Example
removeallitems
See also:

addallstoryitems

Items & InventoryConsole, local

Gives you all story items, such as photos, letters, and keycards.

Syntax
addallstoryitems
Example
addallstoryitems
Good to know: Story items control story progression. It's best to test this in a separate save.
See also:

removeallstoryitems

Items & InventoryConsole, local

Removes all story items from your inventory.

Syntax
removeallstoryitems
Example
removeallstoryitems
See also:

spawnitem

Items & InventoryConsole, local

Places an item on the ground two meters in front of you instead of adding it to your inventory.

Syntax
spawnitem <Name|ID>
Example
spawnitem 53 --10

Places ten rocks (Rock, ID 53) in front of you.

See also:

spawnpickup

Items & InventoryConsole, local

Drops an item as though you threw it from your inventory, even if you don't have it.

Syntax
spawnpickup <Name|ID>
Example
spawnpickup 54
See also:

itemhack

Items & InventoryConsole, local

The inventory treats every item as present and unlimited. Crafting and using items no longer consumes anything.

Syntax
itemhack <on|off>
Example
itemhack on
See also:

loghack

Items & InventoryConsole, local

Carry unlimited logs. If you have no log, the game adds one to your inventory.

Syntax
loghack <on|off>
Example
loghack on
See also:

spawnenemy

Enemies & AnimalsConsole, host only

Spawns an enemy four meters in front of you, from a regular cannibal to Armsy, Virginia, or the Worm.

Syntax
spawnenemy <male|female|male_skinny|female_skinny|skinny_pale|pale|fireman|dynamiteman|armsy|vags|baby|fat|girl|worm>
Example
spawnenemy armsy
See also:

killallenemies

Enemies & AnimalsConsole, host only

Kills all active cannibals and mutants and removes Worm nests.

Syntax
killallenemies
Example
killallenemies
See also:

killclosestenemy

Enemies & AnimalsConsole, local

Kills the nearest enemy.

Syntax
killclosestenemy
Example
killclosestenemy
See also:

knockdownclosestenemy

Enemies & AnimalsConsole, local

Knocks down the nearest enemy without killing them.

Syntax
knockdownclosestenemy
Example
knockdownclosestenemy
See also:

resetallenemies

Enemies & AnimalsConsole, host only

Resets and respawns all enemies in numbers appropriate for the current day.

Syntax
resetallenemies
Example
resetallenemies
See also:

enemies

Enemies & AnimalsConsole, local

enemies off removes all enemies and keeps them away until you enter enemies on.

Syntax
enemies <on|off|toggle>
Example
enemies off
Good to know: To play permanently without enemies, use veganmode on the title screen or veganMode in the server's config.cfg.
See also:

veganmode

Enemies & AnimalsConsole, local

Toggles Vegan Mode during gameplay. According to the in-game message, it only takes effect after you reload the save.

Syntax
veganmode <on|off>
Example
veganmode on
See also:

killendboss

Enemies & AnimalsConsole, local

Kills the final boss if it is loaded nearby. Otherwise, the game reports that no boss is present.

Syntax
killendboss
Example
killendboss
See also:

killallworms

Enemies & AnimalsConsole, host only

Kills all Worms that emerge from Worm nests.

Syntax
killallworms
Example
killallworms
See also:

spawnanimal

Enemies & AnimalsConsole, local

Spawns an animal two meters in front of you.

Syntax
spawnanimal <rabbit|lizard|deer|turtle|tortoise|raccoon|squirrel|boar|crocodile>
Example
spawnanimal deer --3

Three deer in front of you.

See also:

spawnanimalquiet

Enemies & AnimalsConsole, local

Like spawnanimal, but the animal is trapped immediately and cannot run away.

Syntax
spawnanimalquiet <rabbit|lizard|deer|turtle|tortoise|raccoon|squirrel|boar|crocodile>
Example
spawnanimalquiet rabbit
See also:

killclosestanimal

Enemies & AnimalsConsole, local

Kills the nearest animal.

Syntax
killclosestanimal
Example
killclosestanimal
See also:

killallanimals

Enemies & AnimalsConsole, local

Kills all active animals.

Syntax
killallanimals
Example
killallanimals
See also:

animals

Enemies & AnimalsConsole, local

animals off removes all animals, including geese, and prevents new ones from spawning; animals on brings them back.

Syntax
animals <on|off|toggle>
Example
animals off
See also:

birds

Enemies & AnimalsConsole, local

Turns birds off (off) or back on (on).

Syntax
birds <on|off>
Example
birds off
See also:

goto

World, time & weatherConsole, local

Teleports you to a position or a named object in the game world. y is the height. If the position is more than 6 meters below the terrain, the game switches to cave mode.

Syntax
goto <x> <y> <z> | goto <Objektname>
Example
goto 326 120 1231

Teleports you to x 326, height 120, z 1231.

Good to know: The Forest Map shows the X and Z coordinates and terrain height of every location. Use the terrain height plus 2 for y to land on the ground.
See also:

gotoenemy

World, time & weatherConsole, local

Teleports you to the first active enemy.

Syntax
gotoenemy
Example
gotoenemy
See also:

setcurrentday

World, time & weatherConsole, host only

Sets the day counter to a specific day. This affects how many enemies appear and which types.

Syntax
setcurrentday <Tag>
Example
setcurrentday 50
See also:

advanceday

World, time & weatherConsole, local

Skips from day to night or from night to morning.

Syntax
advanceday
Example
advanceday
See also:

forcerain

World, time & weatherConsole, local

Forces light, medium, or heavy rain, clouds, or sunshine. If omitted, the game chooses a random rain intensity.

Syntax
forcerain <light|medium|heavy|cloud|sunny>
Example
forcerain heavy
See also:

lightingtimeofdayoverride

World, time & weatherConsole, local

Freezes the lighting at a time of day while the in-game clock keeps running. off reverses this.

Syntax
lightingtimeofdayoverride <morning|noon|sunset|night|HH:MM|off>
Example
lightingtimeofdayoverride 12:00
Good to know: Useful for screenshots or building at night.
See also:

timescale

World, time & weatherConsole, local

Changes the speed of the entire game: 0.5 is slow motion, 2 is twice as fast, and 1 is normal.

Syntax
timescale <Faktor>
Example
timescale 0.5
See also:

gametimescale

World, time & weatherConsole, local

Only changes how quickly in-game time passes, not movement speed.

Syntax
gametimescale <Faktor>
Example
gametimescale 2
See also:

revealcavemap

World, time & weatherConsole, local

Fully reveals the cave map in-game. Nothing happens if the map is not currently loaded.

Syntax
revealcavemap
Example
revealcavemap
See also:

cutdowntrees

World, time & weatherConsole, host only

Cuts down trees across the entire island. A number cuts down that many trees; a percentage cuts down that share of all trees. A negative number regrows felled trees. count only shows the current count.

Syntax
cutdowntrees <count|Anzahl|Prozent%|-Anzahl>
Example
cutdowntrees 10%
Good to know: As a fellow player, you can only use count.
See also:

cutgrass

World, time & weatherConsole, local

Cuts the grass around you. The default radius is 1.

Syntax
cutgrass <Radius>
Example
cutgrass 10
See also:

buildhack

Building & GardeningConsole, local

Build without materials: You can complete blueprints without having the resources. Hold down the build button to place the pieces in rapid succession.

Syntax
buildhack <on|off|toggle>
Example
buildhack on
See also:

buildermode

Building & GardeningConsole, local

All creative building cheats in one: buildhack, no enemies, godmode, survival off, and all items at once.

Syntax
buildermode <on|off>
Example
buildermode on
Good to know: buildermode off resets buildhack, enemies, godmode and survival; items remain in your inventory.
See also:

buildallghosts

Building & GardeningConsole, local

Completes all placed blueprints; the game supplies any missing materials.

Syntax
buildallghosts
Example
buildallghosts
See also:

cancelallghosts

Building & GardeningConsole, local

Cancels all unfinished blueprints at once.

Syntax
cancelallghosts
Example
cancelallghosts
See also:

plantallgardens

Building & GardeningConsole, local

Plants in every empty plot in all gardens.

Syntax
plantallgardens
Example
plantallgardens
See also:

growalldirtpiles

Building & GardeningConsole, local

Advances the growth of plants in all garden plots by one stage.

Syntax
growalldirtpiles
Example
growalldirtpiles
See also:

/help

Server adminAdmin chat on server

Shows the dedicated server admin commands in chat.

Syntax
/help
Example
/help
See also:

/kick

Server adminAdmin chat on server

Kicks a player from the server. They can rejoin afterward.

Syntax
/kick <SteamID|Name>
Example
/kick 76561197986247731
See also:

/ban

Server adminAdmin chat on server

Permanently bans a player from the server.

Syntax
/ban <SteamID|Name>
Example
/ban 76561197986247731
See also:

/unban

Server adminAdmin chat on server

Lifts a ban.

Syntax
/unban <SteamID|Name>
Example
/unban 76561197986247731
See also:

/kickbycid

Server adminAdmin chat on server

Kicks a player from the server using their connection ID if their name or SteamID does not work.

Syntax
/kickbycid <Verbindungs-ID>
Example
/kickbycid 2
See also:

/banbycid

Server adminAdmin chat on server

Bans a player by their connection ID.

Syntax
/banbycid <Verbindungs-ID>
Example
/banbycid 2
See also:

/save

Server adminAdmin chat on server

Saves the game on the server. Add a number from 1 to 5 to save to that slot.

Syntax
/save [Slot]
Example
/save
See also:

/restart

Server adminAdmin chat on server

Restarts the server. All players are disconnected and must reconnect.

Syntax
/restart
Example
/restart
See also:

/shutdown

Server adminAdmin chat on server

Shuts down the server without restarting it.

Syntax
/shutdown
Example
/shutdown
See also:

/openlogs

Server adminAdmin chat on server

Opens or closes the log window in the server console. Equivalent to showLogs in config.cfg.

Syntax
/openlogs | /closelogs
Example
/openlogs

/allowcheats

Server adminAdmin chat on server

Allows players to use the developer console (on) or blocks it (off) until the server restarts. /allowdebugconsole does the same thing.

Syntax
/allowcheats <on|off>
Example
/allowcheats on
Good to know: To set this permanently, use allowCheats in config.cfg.
See also:

/treeregrowmode

Server adminAdmin chat on server

Turns tree regrowth during sleep on or off until the server restarts.

Syntax
/treeregrowmode <on|off>
Example
/treeregrowmode on
Good to know: To set this permanently, use treeRegrowMode in config.cfg.
See also:

/allowbuildingdestruction

Server adminAdmin chat on server

Sets whether buildings can be destroyed. off makes them indestructible until the server restarts.

Syntax
/allowbuildingdestruction <on|off>
Example
/allowbuildingdestruction off
Good to know: To set this permanently, use allowBuildingDestruction in config.cfg.
See also:

/allowenemiescreative

Server adminAdmin chat on server

Sets whether enemies spawn in Creative Mode until the server restarts.

Syntax
/allowenemiescreative <on|off>
Example
/allowenemiescreative on
Good to know: To set this permanently, use allowEnemiesCreativeMode in config.cfg.
See also:

help

Game mode & consoleConsole, local

Lists all developer console commands, including developer-only tools.

Syntax
help
Example
help
See also:

clear

Game mode & consoleConsole, local

Clears the console output.

Syntax
clear
Example
clear
See also:

setdifficultymode

Game mode & consoleConsole, local

Changes the difficulty in the game setup: Peaceful, Normal, Hard, or Hard Survival.

Syntax
setdifficultymode <peaceful|normal|hard|hardsurvival>
Example
setdifficultymode hard
See also:

setgamemode

Game mode & consoleConsole, local

Sets the game mode for the next launch: Standard or Creative. getgamemode shows the current mode.

Syntax
setgamemode <standard|creative|mod>
Example
setgamemode creative
See also:

faststart

Game mode & consoleConsole, local

Skips the intro sequence when you start a new game.

Syntax
faststart <on|off>
Example
faststart on
See also:

toggleoverlay

Game mode & consoleConsole, local

Shows or hides the developer overlay. Key: F2.

Syntax
toggleoverlay
Example
toggleoverlay
See also:

toggleplayerstats

Game mode & consoleConsole, local

Shows or hides your character's stats. Key: F3.

Syntax
toggleplayerstats
Example
toggleplayerstats
See also:

Cheat codes

All title-screen cheat codes

Just type these codes on your keyboard in The Forest's main menu. There's no input field; the game detects the keystrokes. If you make a typo, start again from the first letter.

The Forest cheat codes and their effects
CodeModeWhat it doesHow to turn it offOn the server (config.cfg)
veganmodeVegan ModeNo enemies: the game no longer spawns cannibals or mutants; enemy spawners stay off.Enter meatmode to return to normal mode.veganMode
vegetarianmodeVegetarian ModeEnemies only at night: no cannibals appear during the day; at night, they appear as usual.Enter meatmode to return to normal mode.vegetarianMode
rawmeatmodePerma DeathPermadeath: if you die, the game deletes your save.Enter meatmode to return to normal mode.–
meatmodeNormal ModeReturn to normal mode: disables Vegan Mode, Vegetarian Mode, and Perma Death.Nothing needed; this is the default.–
woodpasteWood PasteRemoves holes from player-built floors and roofs the next time a save is loaded. Only works if you host the game or play alone.Automatically turns off when you return to the main menu.resetHolesMode
developermodeonDeveloper ModeEnables the developer console. You can then open it in-game with F1.Remains active until you restart the game.allowCheats

How to tell it worked

With veganmode, vegetarianmode, rawmeatmode, and meatmode, the main menu title changes to the new mode. The mode remains saved even after restarting the game. woodpaste and developermodeon show no confirmation.

regrowmode and ironforest

Older guides also mention regrowmode, ironforest. The current version (Build 3488796) no longer recognizes these title-screen codes: set regrowing trees and indestructible buildings in the game options, or on a server using treeRegrowMode, allowBuildingDestruction in config.cfg.

PC and PS4

These codes and commands come from the PC version's game files. The game reads them from the keyboard. We couldn't verify them against the PS4 version's game files, so we can't say whether they work there.

Developer console

How to enable the console in The Forest

Console commands require Developer Mode. Four steps to your first command:

  1. Step 1

    Type developermodeon on the title screen

    In the main menu, before loading a game. No notification appears.

  2. Step 2

    Start or load a game

    Whether you're playing solo, hosting or joining another player. If you're joining, the host or server must allow cheats.

  3. Step 3

    Open the console with F1

    F1 opens and closes the command line. F2 shows the developer overlay, and F3 shows your character's stats.

  4. Step 4

    Enter the command and press Enter

    Commands are case-insensitive, but type on and off in lowercase. Add --5 at the end to run a command five times.

Multiplayer & servers

Cheats in multiplayer and on a dedicated server

A dedicated server has no developer console. Set game modes such as Vegan or Vegetarian in config.cfg, and manage players with admin commands in chat.

Console, local

Runs in the developer console (F1) in your game. If you're another player, it only works when the host or Dedicated Server allows cheats.

Console, host only

Changes the shared world. If you're another player, the game sends the command to the host, who can only run it with their own console open. That's why it has no effect on a Dedicated Server.

Admin chat on server

Enter it in chat with / on a Dedicated Server. This only works if you entered the server's admin password when joining.

config.cfg settings that replace cheats
config.cfgValueEffectInstead of a code or command
veganModeonNo enemies on the server.veganmode
vegetarianModeonEnemies appear only at night.vegetarianmode
difficultyPeaceful | Normal | HardDifficulty for a new save.setdifficultymode
treeRegrowModeonWhen you sleep, 10% of felled trees regrow.regrowmode
allowBuildingDestructionoffBuildings cannot be destroyed.ironforest
resetHolesModeonReset holes in floors and roofs on load.woodpaste
allowEnemiesCreativeModeonEnemies appear even in Creative Mode.–
allowCheatsonOther players can use the developer console.developermodeon

You can set all these options without editing anything manually in the The Forest Server Config Generator, which creates a ready-to-use config.cfg for you. To use admin commands in chat, enter the admin password (serverPasswordAdmin) when you join.

Expected result

What the The Forest command list shows you

For each command, you'll see its syntax, an explanation, an example you can copy, and where it works. Three examples:

Example 1: Look up a command

Input:

godmode
Syntax
godmode <on|off|toggle>
What it does
Makes you invulnerable. When enabled, it restores health, energy, stamina, and fullness, disables hunger, thirst, and cold, and keeps energy and stamina full.
Example to copy
godmode on
Where?
Console, local

Example 2: Build a command

Input: select additem, item Rebreather (ID 143)

Output:

additem 143

Example 3: Admin commands for the server

Input: filter “Server admin chat”

Results: 14 commands, including

/help, /kick, /ban, /unban, /kickbycid, /banbycid, /save, /restart, /shutdown, /openlogs, /allowcheats, /treeregrowmode, /allowbuildingdestruction, /allowenemiescreative

How it works

How to use the cheat list

Four steps from code to console command, no download needed.

Step 1

Type a cheat code

For Vegan Mode, Vegetarian Mode, or Perma Death, type the code on the title screen. To enable the console, type developermodeon there.

Step 2

Open the console with F1

F1 opens the developer console in-game. As a player, you can only use it if the host or server allows cheats.

Step 3

Find a command

Search the list for a command or keyword such as teleport or rain, then filter by category and where it works.

Step 4

Copy or build

Copy the example or assemble the command in the builder, paste it into the console, and press Enter.

Overview

All The Forest console commands at a glance

77 commands, sorted by category. You'll find explanations and examples above in the list.

Players

  • godmode <on|off|toggle>
  • energyhack <on|off>
  • survival <on|off>
  • setstat full | setstat <Health|Stamina|Energy|Fullness|BatteryCharge|sanity|strength|weight> <Wert>
  • invisible <on|off>
  • speedyrun <on|off>
  • unlimitedhairspray <on|off>
  • hitlocalplayer <Schaden>
  • killlocalplayer
  • revivelocalplayer
  • infection <on|off>
  • poison
  • save

Items & Inventory

  • additem <Name|ID>
  • removeitem <Name|ID>
  • listitems
  • addallitems
  • removeallitems
  • addallstoryitems
  • removeallstoryitems
  • spawnitem <Name|ID>
  • spawnpickup <Name|ID>
  • itemhack <on|off>
  • loghack <on|off>

Enemies & Animals

  • spawnenemy <male|female|male_skinny|female_skinny|skinny_pale|pale|fireman|dynamiteman|armsy|vags|baby|fat|girl|worm>
  • killallenemies
  • killclosestenemy
  • knockdownclosestenemy
  • resetallenemies
  • enemies <on|off|toggle>
  • veganmode <on|off>
  • killendboss
  • killallworms
  • spawnanimal <rabbit|lizard|deer|turtle|tortoise|raccoon|squirrel|boar|crocodile>
  • spawnanimalquiet <rabbit|lizard|deer|turtle|tortoise|raccoon|squirrel|boar|crocodile>
  • killclosestanimal
  • killallanimals
  • animals <on|off|toggle>
  • birds <on|off>

World, time & weather

  • goto <x> <y> <z> | goto <Objektname>
  • gotoenemy
  • setcurrentday <Tag>
  • advanceday
  • forcerain <light|medium|heavy|cloud|sunny>
  • lightingtimeofdayoverride <morning|noon|sunset|night|HH:MM|off>
  • timescale <Faktor>
  • gametimescale <Faktor>
  • revealcavemap
  • cutdowntrees <count|Anzahl|Prozent%|-Anzahl>
  • cutgrass <Radius>

Building & Gardening

  • buildhack <on|off|toggle>
  • buildermode <on|off>
  • buildallghosts
  • cancelallghosts
  • plantallgardens
  • growalldirtpiles

Server admin

  • /help
  • /kick <SteamID|Name>
  • /ban <SteamID|Name>
  • /unban <SteamID|Name>
  • /kickbycid <Verbindungs-ID>
  • /banbycid <Verbindungs-ID>
  • /save [Slot]
  • /restart
  • /shutdown
  • /openlogs | /closelogs
  • /allowcheats <on|off>
  • /treeregrowmode <on|off>
  • /allowbuildingdestruction <on|off>
  • /allowenemiescreative <on|off>

Game mode & console

  • help
  • clear
  • setdifficultymode <peaceful|normal|hard|hardsurvival>
  • setgamemode <standard|creative|mod>
  • faststart <on|off>
  • toggleoverlay
  • toggleplayerstats

Discover more

More tools

Give Command Generator

Choose an item, name, lore, and enchantments—a ready-to-use /give command with the correct syntax for each Java version.

Built by Rugile Rutkauskaite

Valheim Console Commands

A searchable list of Valheim console commands and cheats, most with examples you can copy, plus admin setup, launch parameters, and a command generator for spawn, event, and goto.

Built by Dimitri Heissler

Sons of the Forest Map

Interactive island map: caves, bunkers, villages, and locations of the Rebreather, Katana, Rope Gun, and more, with coordinates and markers.

Built by Dimitri Heissler

The Forest Map

Interactive map of The Forest island: cave entrances, cave interiors, cannibal villages, landmarks, and items such as the rebreather, modern axe, and modern bow, with coordinates and distance from your location.

Built by Dimitri Heissler

Server Configuration Generator

Describe config.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your The Forest server.

Built by Florian Galz

Was this tool helpful?

Your feedback helps us prioritize and improve content.

FAQ

FAQs about The Forest Cheats

Quick answers about cheat codes, the console, items, God Mode, and server cheats.

How do I enter cheats in The Forest?

There are two types. You type cheat codes such as veganmode on the title screen using your keyboard, without an input field. You enter console commands such as godmode in the developer console during the game. Enable it with developermodeon on the title screen, then open it with F1.

Which cheat codes work on the title screen?

The current version recognizes six codes: veganmode (no enemies), vegetarianmode (enemies only at night), rawmeatmode (Perma Death), meatmode (return to normal mode), woodpaste (resets holes in floors and roofs on load), and developermodeon (enables the console). regrowmode and ironforest from older guides are now game options.

How do I open the console in The Forest?

Type developermodeon on the title screen, then start your game and press F1. No confirmation appears. F2 shows the developer overlay, and F3 shows your character's stats. Developer mode stays enabled until you restart the game.

How do I get items using cheats?

Use additem with the item ID or name, such as additem 143 for the Rebreather or additem 261 for the Chainsaw. As many as will fit go into your inventory. The game's database contains 231 items; listitems displays them all with their IDs in the console. addallitems fills your inventory with everything except story items.

Is there a God Mode in The Forest?

Yes: enter godmode on in the console. You'll be invulnerable, your energy and stamina will stay full, and hunger, thirst, and cold will be disabled. godmode off restores everything. For full energy and stamina without invulnerability, use energyhack on.

Do cheats work in multiplayer and on a dedicated server?

As a player, you can only use the console if the host or server allows cheats (allowCheats on in config.cfg). Only a host with the console open can run commands that change the shared world, such as spawnenemy or killallenemies. A dedicated server has no console: set modes in config.cfg and use admin commands such as /kick or /save in chat.

How do I set Vegan Mode on my server?

On a dedicated server, no one types in codes. Set veganMode on in config.cfg for no enemies, or vegetarianMode on for enemies only at night. treeRegrowMode, allowBuildingDestruction, and difficulty are in the same file. Our Server Config Generator creates it for you.

How do I teleport in The Forest?

Use goto followed by three numbers: X, height Y, and Z, such as goto 326 120 1231. You can find coordinates and terrain heights on our The Forest Map, or select places such as the Yacht, cannibal villages, or cave entrances directly in the command builder. Use the terrain height plus 2 for Y to land on the ground.

Still have questions?

Contact Support
Your island, your rules

Rent your own server for The Forest in 60 seconds

Set Vegan Mode, Vegetarian Mode, difficulty, and cheats in config.cfg. DDoS protection included.

4.6/5 Google32,000+ Active serversSince 2010

No setup. No risk. Online in 60 seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Codes, commands, and item IDs: The Forest Build 3488796. Looking for more tools? View all The Forest tools