Menu
 

The Forest Cheats & Console Commands (2026): Full List + Setup

The Forest: Cheats & Console Commands (2026)

The Forest ships a hidden developer console packed with cheats. Once you flip the right switches you can spawn items, toggle god mode, control weather, skip days, spawn cannibal families on demand, and teleport to any location on the peninsula. The full setup takes 30 seconds. This page lists every code that works in 2026, organized so you can find the one you need without scrolling.

Setup: enable cheats and the console

Single player or self-hosted

  1. Open Options > Gameplay and set Allow Cheats to On.
  2. Return to the main menu.
  3. Type developermodeon (no spaces, no Enter, the game watches the keyboard buffer). You will see a confirmation that developer mode is active.
  4. Start or load your game.
  5. Press F1 in-game to open the console.

Dedicated server

Dedicated servers default the In-Game Console flag to OFF. Even with developer mode enabled on your client, F1 will not bind in-game until the server allows it.

  1. Stop the dedicated server.
  2. Edit your server config and set In-Game Console to On.
  3. Restart the server.
  4. On the client, follow the single-player steps above.
  5. Connect and press F1 in-game.

The #1 "console not working on my server" fix: the In-Game Console server flag was OFF. The console appears on the main menu but disappears once you connect. Edit config, restart, fixed.

Main-menu cheat codes

Type these on the main menu, not in-game. They take effect from the moment they are typed and persist into any save you start or load.

CodeEffect
developermodeonEnables the F1 developer console.
meatmodeDisables all active cheat codes.
ironforestBuildings cannot be destroyed by cannibals or weather. Toggle off by typing again.
rawmeatmodePermanent death. Save is erased when you die. Toggle off by typing again.
regrowmode10% of cut trees regrow while you sleep, provided the stump was not removed.
veganmodeEnemies (cannibals and mutants) only spawn in caves.
vegetarianmodeEnemies only spawn at night.
woodpasteResets all holes cut by the hole cutter or crane.

In-game F1 console: gameplay modifiers

CommandWhat it does
godmode on / godmode offInvincibility. Health, stamina, hunger, thirst all maxed and locked.
buildermode on / buildermode offFull creative mode. Disables all enemy spawns and stat drains.
buildhack on / buildhack offUnlimited resources and instant building. Survival otherwise intact.
itemhack on / itemhack offInfinite items (consumables do not deplete).
energyhackUnlimited energy and stamina.
survival on / survival offToggle hunger and thirst effects.
speedyrun on / speedyrun offEnhanced running speed.
invisible on / invisible offImmune to visual effects from water, mud, and blood.
faststart on / faststart offSkip the plane crash intro on new games.

Spawning and teleportation

CommandNotes
additem <item id>Adds the item directly to your inventory.
spawnitem <item id>Spawns the item in the world in front of you.
spawnanimal <animal>Spawn an animal at your reticle. Accepted: rabbit, deer, lizard, turtle, tortoise, raccoon, squirrel, boar, crocodile. Add --6 for quantity, e.g. spawnanimal lizard --6.
placebuiltobjects <object id> <qty>Place finished built objects (shelters, fires, etc.).
goto <name or coords>Teleport to a named location or coordinate pair.
gototag <tag>Teleport to a tagged location.
gotoenemyTeleport to a random enemy.
findpassenger <passenger id>Locate a specific plane passenger.

Enemy and animal control

CommandWhat it does
killallenemiesInstantly kill every cannibal and mutant on the map.
killallanimalsKill every animal on the map.
killclosestenemyKill the nearest enemy.
killclosestanimalKill the nearest animal.
killendbossSkip the final boss fight.
enemies on / enemies offToggle enemy spawning.
animals on / animals offToggle animal spawning.
birds on / birds offToggle birds.
spawnregularfamilySpawns 3 to 6 regular cannibals.
spawnpaintedfamilySpawns 3 to 6 painted cannibals.
spawnskinnedfamilySpawns 3 to 6 masked cannibals.
spawnskinnyfamilySpawns 2 to 3 skinny cannibals.
spawnmutant <mutant id>Spawn a specific mutant.
knockdownclosetenemyStun the nearest enemy.
restallenemiesReset enemy AI state.
astar on / astar offToggle enemy pathfinding.

Environment, weather, time

CommandWhat it does
lightingtimeofdayoverride <off / lighting name>Force a specific time-of-day lighting.
forcerain <weather>Change the weather to the named condition.
advancedaySkip one full in-game day.
setcurrentday <number>Set the current day counter to the number.
checkdayPrint the current day.
timescale <multiplier>Adjust gameplay speed.
gametimescale <multiplier>Adjust stat progression speed.
cavelight on / cavelight offToggle cave darkness.

Terrain and building

CommandWhat it does
cutdowntrees <amount or %>Reduce tree count by the given amount.
cutgrass <radius>Clear grass within the radius.
plantallgardensSeed every garden you have built.
growallgardensRefill every mud pile.
cancelallghostsRemove all unbuilt blueprints.
placeallghostsInstantly finish every blueprint near you.
terrainrender on / terrainrender offToggle terrain rendering.

Player customization

CommandWhat it does
setstat <stat> <value>Set a specific player stat (health, energy, fullness, etc.).
setskill <skill> <value>Set a skill level.
addclothingid <clothing id>Add a clothing item.
setplayervariation 0 / 1Change skin color.
setplayershirtmat <material id>Change shirt material.
setvariationextra none / jacketAdd or remove the jacket variant.

System and settings

CommandWhat it does
setdifficultymode <peaceful / normal / hard / hardsurvival>Change difficulty in the current save.
setgamemode <standard / creative / mod>Change the game mode.
saveForce-save.
loadlevel <save number>Load a specific save slot.
clearsaveslot <mp / sp> <slot number>Delete a save slot.
helpList all available commands.
clearClear console output.
physics30fps on / physics30fps offLock physics simulation to 30 FPS (workaround for fast-physics bugs).
gccollectForce garbage collection. Frees memory.

Common mistakes that look like bugs

  • "developermodeon does nothing." You forgot to flip Allow Cheats to On in the gameplay options first. The main-menu code only takes effect after that flag is set.
  • "F1 opens the menu instead of the console." You typed developermodeon but never actually started a game. The console only binds in-game, not on the main menu.
  • "Console works in single player but not on my dedicated server." Server's In-Game Console flag is OFF. Edit config, restart server.
  • "Cheats are disabled on this save." Once a save is created with the no-cheats flag, you cannot retroactively enable cheats on it. Start a new save with cheats allowed.
  • "buildhack lasts only one session." Toggle commands need to be re-issued every time you load the save. Use the main-menu codes (ironforest, regrowmode) for cheats that persist.

Where item IDs and animal names come from

The Forest does not ship an in-game item ID browser. The community-maintained reference at commands.gg/theforest lists every item ID you can pass to additem and spawnitem. spawnanimal accepts the nine animal names listed above (rabbit, deer, lizard, turtle, tortoise, raccoon, squirrel, boar, crocodile).

For full server configuration options, see Dedicated Server Setup.

The Forest hosting with the console flag right

Build, cheat, and survive without the dedicated-server console flag fight. Host a The Forest server with Supercraft and the In-Game Console flag is exposed in the panel, so enabling cheats is one toggle and a restart, not an SSH session.

Tired of fighting this issue every patch?

Run a managed The Forest server with us — we handle the patches, mod-version pinning, save backups, and DDoS protection. Set up in 3 minutes, 5 datacenter regions, no contract.

See The Forest hosting plans →
Top