Valheim: Complete Devcommands & Cheat List
Valheim's devcommands (formerly imacheater) unlock a powerful suite of tools for testing, creative building, and server administration. While these are disabled by default for fair play, they are essential for world-builders and server owners troubleshooting technical issues.
1. How to Enable
Press F5 to open the console and type devcommands. You must have the -console launch argument enabled in Steam to access this menu.
2. Creative Mode
Type debugmode to enable creative flight (Press B for no-cost building, Z for flight, and K to kill all nearby enemies).
3. Server Notice
Devcommands only work on Local Worlds. To use them on a dedicated server, you must be an admin and utilize a mod like Server Devcommands.
Essential Player Cheats
| Command | Effect | Notes |
|---|---|---|
god | Invincibility | Protects from all damage sources. |
ghost | Invisibility | Enemies will ignore you completely. |
heal | Restore Health | Instantly refills your health bar. |
puke | Reset Hunger | Clears all current food buffs and hunger. |
raiseskill [skill] [lvl] | Increase Skill | e.g., raiseskill run 100 |
resetcharacter | Wipe Character | Resets all skills and inventory. Caution! |
World & Environment Management
Manage the state of your world, time, and discovery:
- exploremap: Reveals the entire map and clears the fog of war.
- resetmap: Re-covers the entire map in fog.
- tod [0-1]: Sets the time of day. 0.5 is noon, 0 and 1 are midnight.
- skiptime [seconds]: Forwards the clock. Useful for bypassing nights.
- env [type]: Changes the weather (e.g.,
env Clear,env Rain,env SnowStorm). - setpower [power]: Grants a boss head power (e.g.,
setpower GP_Eikthyr).
The Spawn Command (Spawning Items & NPCs)
Usage: spawn [ItemName] [Amount] [Level]
Examples:
spawn Wood 100- Spawns 100 wood at your feet.spawn Troll 1 2- Spawns a 1-star Troll.spawn Flametal 50- Spawns 50 Ashlands ore (v1.0+).spawn SwordDyrnwyn 1- Spawns the legendary Dyrnwyn sword.
New: World Modifiers (Console Access)
Since the Hildir update, you can adjust world rules without external mods via command:
| Modifier Command | Impact |
|---|---|
worldlevel [level] | Changes global difficulty (0 = Easy, 1 = Normal, 2 = Hard). |
setdeathpenalty [0-2] | Controls item loss on death. |
setlootrate [multiplier] | Increase resource drops (e.g., 2 for double loot). |
Warning: Intensive commands like exploremap or spawning 500+ items at once can cause significant server-side lag and potential client crashes. Use sparingly on high-population servers.
Manage your world with ultimate precision. Host your Valheim server with Supercraft and enjoy automated backups, allowing you to experiment with devcommands without losing your progress.