Cheats and Console Commands let you fly, enter god mode, and spawn any creature or item in Valheim. This page has a full list of console commands and a table of items with both their in-game name and spawn ID.
This page includes all console commands and their description. We’ve organized the commands into relevant categories and embedded our spreadsheet with the details on all entities in Valheim.
How to Activate Cheats and Use Them
To activate cheats in Valheim, you will need to open the console and enable cheats. Afterward, you can use any of the below commands to spawn items or trigger other actions. The console can be used to perform administrative tasks for server admins and other non-cheating purposes as well.
Enabling the Console:
- Right-click on Valheim in Steam
- Add “-console” to the Launch Options
- Restart Valheim
Activate Cheats:
- Press F5 to open the Console
- Type “devcommands” (“
imacheater” outdated) - Type the command
Commands must be entered exactly as specified and all names and commands are cAsE-SeNSiTivE. You will also find the Internal IDs for many creatures and items don’t match their in-game names. We included the in-game name in our spreadsheet below to make it easier to find what you’re looking for.
How to Enter Debug/Creative Mode?
Valheim has a creative mode in the works but it’s not in the game yet. Players looking for something similar to Minecraft Creative Mode will need to use a few console commands to give themselves flying, god mode, and infinite inventory.
Spawning items will require the spawn command until there is a creative mode UI or mods that fill the need. We’ll update this section as new mods are released.
Activate Creative Mode:
- Press F5 to open the Console
- Type “devcommands“
- Type “debugmode“
- Press Z to toggle Flying Mode
- Press K to Kill all Enemies in the area
- Press B to toggle Build Mode (repair and build freely)
How to Spawn Items and Creatures?
In Valheim there is one command that spawns all items, creatures, and anything else. You must provide the name of the entity, and have the option to provide a quantity and level (if spawning creatures).
Here is the formula for spawning anything in Valheim:
Console Command to Spawn Items and Creatures
# Console Command
spawn <ItemName> <quantity> <level>
# Examples
spawn FineWood 50
spawn BeltStrength
spawn Greydwarf 10 2
Table of All Items and Creatures in Valheim
We have put together a table of every entity that can be spawned in Valheim. To try and make it a little easier, we included the in-game names of everything (in English), a status for items that are special content or still being developed, and some relevant notes.
Scroll all the way to the right to find a link to the knowledge base page for each item.
Table of All Player-Oriented Console Commands
These console commands will modify the player’s character or how the player interacts with the game. Here’s where you will find commands like god mode, healing, and teleporting
Console Command | Description |
---|---|
god | Take no damage |
ghost | Invisible to monsters |
addstatus | Adds a status effect (ex rested, burning, wet, etc.) |
clearstatus | Clear status modifiers |
heal | Heal to full health |
puke | Reset hunger, health, and stamina |
pos | Prints current position |
goto <x, y> or <x, y, z> | Teleport to the position given |
challenge | Emote challenge |
cheer | Emote cheer |
nonono | Emote nonono |
point | Emote point |
thumbsup | Emote thumbs up |
wave | Emote wave |
sit | Makes your character sit |
hair <0 / 1> | Removes hair permanently |
beard <0 / 1> | Removes beard permanently |
model <0 / 1> | Change between character body types |
resetcharacter | Reset all character data |
raiseskill <skill> <amount> | Raise skill level by the amount given |
resetskill <skill> | Reset skill level to zero |
Table of All Server Console Commands
Server administrators have a select few commands they can use to figure out information about the server and the most basic player moderation commands.
help | List all commands |
ping | Ping the server and print results |
info | Print system information |
kick <name / ip / id> | Kick the given player |
ban <name / ip / id> | Ban the given player |
unban <ip / id> | Unban the given player (cannot use name) |
banned | Print the banned player list |
lodbias <1 – 5> | Set the draw distance for the server |
save | Force save the server |
By default, only the creator of the server is an admin. You will need to modify the adminlist.txt
in your server directory to add more administrators to a dedicated server. Note: the adminlist is only loaded on server startup and you will need to restart the server for your changes to take effect.
Table of All Console Commands
Below is the full list of console commands that impact gameplay in Valheim. You can control the dynamic elements of your world, such as wind and time. You can also modify your character, fly, enter god mode, and pretty much anything else you could want.
Console Command | Description |
---|---|
devcommands | Enable cheats |
addstatus | Adds a status effect (ex rested, burning, wet, etc.) |
beard <0 / 1> | Removes beard permanently |
bind <keycode> <command> | Bind a key to a console command (may cause conflicts with game controls) |
challenge | Emote challenge |
cheer | Emote cheer |
clear | Clear console window |
clearstatus | Clear status modifiers |
debugmode | Toggle debug mode. Z = Flying Mode, K = Kill all enemies (killall), B = Build Mode |
dpsdebug | Toggle DPS information overlay |
env <env id> | Set the debug environment |
event <name> | Start the given event |
exploremap | Explore the entire map, removing fog |
ffsmooth <0 / 1> | Set camera smoothing for free-flying camera |
fly | Fly mode |
fov | Changes camera field of view |
freefly | Toggle free-flying camera |
gc | Shows garbage collector information |
genloc | regenerates all locations |
ghost | Invisible to monsters |
god | Take no damage |
goto <x, z> or <x, y, z> | Teleport to the position given |
hair <0 / 1> | Removes hair permanently |
heal | Heal to full health |
help | Show list of console commands (use “page up” and “page down” to navigate) |
info | Print system info |
kick <name / ip / id> | Kick the given player |
killall | Kill all nearby enemies |
listkeys | Lists all global keys |
location | Set a new spawn location |
lodbias <1 – 5> | Set the draw distance for the server |
model <0 / 1> | Change between character body types |
nocost | No build cost |
nonono | Emote nonono |
optterrain | Optimize old terrain modifications |
ping | Ping server |
players <number> | Set player difficulty scaling to use a given number |
point | Emote point |
pos | Print current position |
printbinds | Print current binds |
puke | Reset hunger, health, and stamina |
raiseskill <skill><amount> | Raise skill level by the amount given |
randomevent | Start a random event |
removedrops | Remove all nearby dropped items |
resetbinds | Resets all custom binds to default dev commands |
resetcharacter | Reset all character data |
resetenv | Reset the debug environment |
resetkeys <id> | Resets a given key |
resetmap | Reset map exploration, completely fogs |
resetskill <skill> | Reset skill level to zero |
resetspawn | Resets spawn location |
resetwind | Reset wind to normal |
respawn | Respawn character (doesn’t seem to do much) |
s <text> | Chat a message in all caps and with yellow highlight (shouting) |
save | Force save the server |
say <text> | Chat a message |
setkey <id> | Sets a new global key |
setpower <power code> | Sets your current guardian power and resets cooldown GP_Eikthyr: Gives you Eikthyr’s power GP_TheElder: Gives you the Elder’s power GP_Bonemass: Gives you Bonemass’s power GP_Moder: Gives you Moder’s power GP_Yagluth: Gives you Yagluth’s power |
sit | Makes your character sit |
skiptime <seconds> | Skip forward given number of seconds |
sleep | Skip forward one day |
spawn <entity> <quantity> <level> | Spawn the given entity |
stopevent | Stop the current event |
tame | Tame all nearby tamable creatures |
thumbsup | Emote thumbs up |
time | Shows current time |
tod <0.0 – 1.0> | 0.0 = midnight, 0.5 = noon, 1.0 = midnight |
tod -1 | Reset time to normal |
tutorialreset | Reset tutorial data |
tutorialtoggle | Toggles tutorial hints |
unban <ip / id> | Unban the given player (cannot use name) |
unbind <keycode> | Clears all binds connected to keycode |
w <playername> | Whisper a private message to a player |
wave | Emote wave |
wind <angle 0 – 360> <intensity 0.0 – 1.0> | Set the wind with a given angle and intensity. 0 = north, 180 = south |
Isn’t working 🙁 I’m in console mode I type imacheater . No message, I type help. I get the commands. I tried both with quotation marks and without. I’m typing in the console message bar.
James,
Try “devcommands”
how do i get infinite stamina?
Currently, there isn’t a way to get infinite stamina. You can either use the dev/debug mode or spawn Lox Meat Pie, Fish Wraps, and Serpent Stew.