The Forest includes a developer console with various cheat commands. This guide covers how to enable the console and all available commands.
The server must have Allow Cheats enabled for players to use console commands. See How to Enable or Disable Cheats for setup instructions.
Enabling the Developer Console
- On The Forest main menu, type
developermodeon(no spaces). - You'll see a message confirming developer mode is active.
- Join your server.
- Press F1 to open the console.
Main Menu Cheat Codes
These codes are typed on the main menu (not in the console) and take effect when you start or join a game:
| Code | Effect |
|---|---|
ironforest | Buildings are indestructible |
veganmode | Enemies only spawn in caves |
vegetarianmode | Enemies only spawn at night |
regrowmode | 10% of trees regrow when sleeping |
woodpaste | Resets all terrain holes on load |
meatmode | Disables all cheat codes |
Type meatmode to disable all active cheat codes and return to normal gameplay.
Player Commands
| Command | Description |
|---|---|
godmode on | Enable invincibility |
godmode off | Disable invincibility |
energyhack on | Unlimited stamina |
energyhack off | Normal stamina |
invisible on | Enemies cannot see you |
invisible off | Normal visibility |
speedyrun on | Increased movement speed |
speedyrun off | Normal movement speed |
athletic on | Permanent athletic bonus |
athletic off | Normal athletics |
Building Commands
| Command | Description |
|---|---|
buildhack on | Build without resources |
buildhack off | Normal building costs |
buildermode on | Combine buildhack with god mode and fast building |
buildermode off | Disable builder mode |
cancelallghosts | Remove all unfinished building blueprints |
buildallghosts | Instantly complete all blueprints |
Item Commands
| Command | Description |
|---|---|
addallitems | Add all items to your inventory |
addallstoryitems | Add all story-related items |
itemhack on | Items don't deplete when used |
itemhack off | Normal item consumption |
giveitem [id] | Spawn a specific item by ID |
World Commands
| Command | Description |
|---|---|
killallenemies | Kill all enemies currently spawned |
killclosestenemy | Kill the nearest enemy |
killallanimals | Kill all animals |
enemies on | Enable enemy spawning |
enemies off | Disable enemy spawning |
addclothingall | Unlock all clothing |
revealcavemap | Reveal the entire cave map |
unlimitedHairspray on | Hairspray never runs out |
unlimitedHairspray off | Normal hairspray usage |
Camera and Visual Commands
| Command | Description |
|---|---|
cavelight on | Brighten all caves |
cavelight off | Normal cave lighting |
lightingtimeofdayoverride [time] | Set time of day (0-24) |
lightingtimeofdayoverride off | Resume normal day/night cycle |
cutdowntrees [number] | Cut down nearest trees |
cutgrass [radius] | Remove grass in radius |
Game Commands
| Command | Description |
|---|---|
save | Save the game |
setvariationextra | Change player appearance |
checkalivedead | Show living/dead enemy count |
spawnregular | Spawn a regular enemy |
spawnpale | Spawn a pale enemy |
spawnskinny | Spawn a skinny enemy |
spawncow | Spawn a cow |
Useful Command Combinations
Complete Builder Mode:
developermodeon (on main menu)
buildermode on
Peaceful Exploration:
godmode on
enemies off
cavelight on
Resource Gathering:
itemhack on
addallitems
You now have complete knowledge of The Forest's console commands and cheats.

