Solo Sandbox & Creative Mode

Valheim Solo devcommands Guide (Ashlands / Bog Witch): Creative Mode & Spawn Cleanup

Valheim locks its developer console behind three sequential gates: a Steam launch flag (-console), the F5 overlay key, and the keyword devcommands (which permanently replaced the old 2021 phrase imacheater). Here is the complete solo sandbox reference—including how to clean up accidental 500-entity spawn crashes.

Tested build / patch
Ashlands / The Bog Witch Update (0.219+)
Platforms verified
PC (Steam / PC Game Pass) & Local Solo Worlds
Trophy / achievement flag
Safe (Valheim Currently Has Zero Steam Achievements)
Save-file safety
Never Omit Quantity Limits When Spawning Stars/Bosses!

Three-Step Setup: Unlocking F5 & devcommands

If pressing F5 in Valheim does nothing at all, you missed Step 1—Iron Gate disabled the console by default unless explicitly passed as a command-line argument:

  1. In Steam, right-click Valheim → Properties → General, locate Launch Options, and type exactly: -console
  2. Launch Valheim and load into a local Single-Player world (developer commands are blocked by server validation on dedicated multiplayer servers unless mod-whitelisted for admins, and DailyCheatCodes strictly covers solo local worlds).
  3. Press F5, type devcommands, and hit Enter. Confirm the console prints Dev commands: True.
VALHEIM SOLO CREATIVE MODE PIPELINE (WHY "imacheater" NO LONGER WORKS) 1. Launch Argument -console Unlocks F5 key listener → 2. Enable Parser devcommands Replaced retired "imacheater" → 3. Creative Shortcuts debugmode (Z / B / K) Z=Fly, B=NoCost, K=KillAll
Figure 1: Entering debugmode after devcommands unlocks instant keyboard toggles (Z to fly, B for workbench-free building) during live gameplay.

Verified Solo Building, Exploration & Cleanup Commands

Filter Valheim Commands:
Exact Case-Sensitive Syntax In-Game Result Crucial Safety & Cleanup Notes
devcommands Unlocks developer command execution for the current session Must be re-entered each time you launch Valheim
debugmode Enables Creative Mode hotkeys outside the console: Z (Fly), B (Zero-Resource / Zero-Workbench Building & Free Repair), K (Kill Nearby Creatures) Watch your left pinky near K—pressing it near tamed Boars, Wolves, or Lox kills non-tamed/hostile mobs, though always stay careful around pens!
god Player takes zero HP damage (stamina and stagger still animate unless flying) Combine with ghost so Ashlands Charred mobs ignore you while building
ghost Enemies cannot detect or aggro your Viking Ideal for peaceful solo castle construction
nocost Alternative console command for zero-resource building & unlocked recipes without toggling full debugmode hotkeys Prevents accidental K key presses
exploremap / resetmap Reveals entire world seed fog-of-war (or hides it back to unexplored) Map pins you placed manually remain untouched
env Clear + tod 0.5 Forces sunny clear weather and locks sun to high noon (0.5) Important: Run env and tod -1 afterward to restore natural day/night and biome storms!
spawn FineWood 50 Spawns 50 Fine Wood on the ground ahead of you Prefab IDs are strictly case-sensitive (FineWood, Iron, BlackMarble, FlametalNew)!
removedrops Deletes all loose dropped items on the ground within loaded radius Does NOT delete chests or built structures—only loose floor clutter
forcedelete 10 [prefab_id] Deletes matching spawned objects/rocks within a 10-meter radius (max 50) Never omit the specific prefab name in your base, or structural walls may be cleared!
The 20-Star Creature Crash Bug (spawn Boar 1 50) In spawn [CreatureID] [Count] [Level], the third number is Star Level, NOT quantity! Each star level above 1 doubles creature loot drops exponentially ($2^{N-1}$). Accidentally typing spawn Boar 1 50 spawns a 49-star boar that tries to drop trillions of meat entities on death, instantly freezing Unity and corrupting that world chunk! Never pass a third argument higher than 3 (2-star).

Before testing spawn or forcedelete inside your main Mead Hall world, copy your local .fwl and .db world files from %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\worlds_local using our Save Backup Protocol, or return to the PC Console Commands Hub.

Frequently Asked Questions

Why did Flametal console spawns stop crafting Ashlands gear?

When the Ashlands update released, Iron Gate deprecated the old placeholder "Flametal" ore ID and introduced "FlametalNew" (and "FlametalOreNew") for all current Ashlands weapon and armor recipes!

How do I unlock Valheim devcommands on PC Game Pass (Microsoft Store)?

Open the Xbox App on Windows, click Valheim -> click the "..." Manage button -> General -> Check "Enable advanced management features" -> type -console inside the Launch parameters box.

Why is my world stuck at permanent midday after using tod 0.5?

tod locks the sun angle until explicitly cleared. Open F5 and run tod -1 (and env with no arguments if you forced weather) to hand time progression back to the simulation.