This is a list of all of the cheat commands for Valheim. Be sure to follow this guide on enabling cheat commands before you attempt to use them in your server. By default cheat commands will not work.
You must type devcommands
before using these commands.
Command | Values | Description |
addstatus | Any status effect | Applies a specified status effect |
beard | 1-16 | Changes the character's beard |
clearstatus | Clears current status effects | |
die | Kills the player | |
ghost | Invisible to mobs only | |
god | Enables Invincibility | |
hair | 1-23 | Changes the character's hair |
heal | Heals the player | |
model | 0-1 | Changes the player model |
nocost | Building does not cost materials | |
nomap | Disables the map | |
puke | Gets rid of all food effects | |
raiseskill | <skill> <amount> | Raises a specified skill by a specified amount |
resetskill | <skill> | Resets a skill to default |
setpower | GP_Eikthyr GP_TheElder GP_Bonemass GP_Moder GP_Yagluth GP_Queen |
Sets a specified guardian power for the full duration |
exploremap | Discovers the entire map | |
goto | <x,z> | Teleports to a given set of coordinates |
recall | [name] | Teleports all players to you or a specified player |
resetmap | Reset map exploration | |
resetsharedmap | Removes all shared map data from the cartography table | |
resetspawn | Resets your spawn location | |
removedrops | Remove all item drops in an area | |
spawn | <item> <number> | Spawns a specified amount of a specified item |
aggravate | Aggravate all nearby neutral enemies | |
killall | Kill nearby creatures | |
killenemies | Kill all nearby enemies | |
killtame | Kill nearby tame creatures | |
removebirds | Removes all birds | |
removefish | Remove all fish | |
tame | Tames all nearby tameable creatures | |
noportals | Disables portals for server | |
fly | Enables flight |