The Forest Guide
• Updated May 16, 2026
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
- Open Options > Gameplay and set Allow Cheats to On.
- Return to the main menu.
- Type
developermodeon (no spaces, no Enter, the game watches the keyboard buffer). You will see a confirmation that developer mode is active.
- Start or load your game.
- 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.
- Stop the dedicated server.
- Edit your server config and set In-Game Console to On.
- Restart the server.
- On the client, follow the single-player steps above.
- 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.
| Code | Effect |
developermodeon | Enables the F1 developer console. |
meatmode | Disables all active cheat codes. |
ironforest | Buildings cannot be destroyed by cannibals or weather. Toggle off by typing again. |
rawmeatmode | Permanent death. Save is erased when you die. Toggle off by typing again. |
regrowmode | 10% of cut trees regrow while you sleep, provided the stump was not removed. |
veganmode | Enemies (cannibals and mutants) only spawn in caves. |
vegetarianmode | Enemies only spawn at night. |
woodpaste | Resets all holes cut by the hole cutter or crane. |
In-game F1 console: gameplay modifiers
| Command | What it does |
godmode on / godmode off | Invincibility. Health, stamina, hunger, thirst all maxed and locked. |
buildermode on / buildermode off | Full creative mode. Disables all enemy spawns and stat drains. |
buildhack on / buildhack off | Unlimited resources and instant building. Survival otherwise intact. |
itemhack on / itemhack off | Infinite items (consumables do not deplete). |
energyhack | Unlimited energy and stamina. |
survival on / survival off | Toggle hunger and thirst effects. |
speedyrun on / speedyrun off | Enhanced running speed. |
invisible on / invisible off | Immune to visual effects from water, mud, and blood. |
faststart on / faststart off | Skip the plane crash intro on new games. |
Spawning and teleportation
| Command | Notes |
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. |
gotoenemy | Teleport to a random enemy. |
findpassenger <passenger id> | Locate a specific plane passenger. |
Enemy and animal control
| Command | What it does |
killallenemies | Instantly kill every cannibal and mutant on the map. |
killallanimals | Kill every animal on the map. |
killclosestenemy | Kill the nearest enemy. |
killclosestanimal | Kill the nearest animal. |
killendboss | Skip the final boss fight. |
enemies on / enemies off | Toggle enemy spawning. |
animals on / animals off | Toggle animal spawning. |
birds on / birds off | Toggle birds. |
spawnregularfamily | Spawns 3 to 6 regular cannibals. |
spawnpaintedfamily | Spawns 3 to 6 painted cannibals. |
spawnskinnedfamily | Spawns 3 to 6 masked cannibals. |
spawnskinnyfamily | Spawns 2 to 3 skinny cannibals. |
spawnmutant <mutant id> | Spawn a specific mutant. |
knockdownclosetenemy | Stun the nearest enemy. |
restallenemies | Reset enemy AI state. |
astar on / astar off | Toggle enemy pathfinding. |
Environment, weather, time
| Command | What it does |
lightingtimeofdayoverride <off / lighting name> | Force a specific time-of-day lighting. |
forcerain <weather> | Change the weather to the named condition. |
advanceday | Skip one full in-game day. |
setcurrentday <number> | Set the current day counter to the number. |
checkday | Print the current day. |
timescale <multiplier> | Adjust gameplay speed. |
gametimescale <multiplier> | Adjust stat progression speed. |
cavelight on / cavelight off | Toggle cave darkness. |
Terrain and building
| Command | What it does |
cutdowntrees <amount or %> | Reduce tree count by the given amount. |
cutgrass <radius> | Clear grass within the radius. |
plantallgardens | Seed every garden you have built. |
growallgardens | Refill every mud pile. |
cancelallghosts | Remove all unbuilt blueprints. |
placeallghosts | Instantly finish every blueprint near you. |
terrainrender on / terrainrender off | Toggle terrain rendering. |
Player customization
| Command | What 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 / 1 | Change skin color. |
setplayershirtmat <material id> | Change shirt material. |
setvariationextra none / jacket | Add or remove the jacket variant. |
System and settings
| Command | What it does |
setdifficultymode <peaceful / normal / hard / hardsurvival> | Change difficulty in the current save. |
setgamemode <standard / creative / mod> | Change the game mode. |
save | Force-save. |
loadlevel <save number> | Load a specific save slot. |
clearsaveslot <mp / sp> <slot number> | Delete a save slot. |
help | List all available commands. |
clear | Clear console output. |
physics30fps on / physics30fps off | Lock physics simulation to 30 FPS (workaround for fast-physics bugs). |
gccollect | Force 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.