Applies to: Valheim on the Gravel Host Panel · Time: about 2 minutes · Difficulty: Beginner
Cheat commands make Valheim easier or let you test things out. Turn them on with devcommands in the in-game console, then use the commands below.
F5 to open the console. If it does not open, add -console to Valheim's launch options in Steam and restart the game.devcommands and press Enter. You must do this before using any of the commands below.| Command | Values | Description |
|---|---|---|
addstatus |
Any status effect | Applies a specified status effect |
clearstatus |
Clears current status effects | |
beard |
1-16 |
Changes the character's beard |
hair |
1-23 |
Changes the character's hair |
model |
0-1 |
Changes the player model |
die |
Kills the player | |
heal |
Heals the player | |
god |
Enables invincibility | |
ghost |
Invisible to mobs only | |
fly |
Enables flight | |
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 |
| Command | Values | Description |
|---|---|---|
nocost |
Building does not cost materials | |
spawn |
<item> <number> |
Spawns a specified amount of a specified item |
removedrops |
Removes all item drops in an area |
| Command | Values | Description |
|---|---|---|
nomap |
Disables the map | |
exploremap |
Discovers the entire map | |
resetmap |
Resets map exploration | |
resetsharedmap |
Removes all shared map data from the cartography table | |
resetspawn |
Resets your spawn location | |
goto |
<x,z> |
Teleports to a given set of coordinates |
recall |
[name] |
Teleports all players to you or a specified player |
noportals |
Disables portals for the server |
| Command | Values | Description |
|---|---|---|
aggravate |
Aggravates all nearby neutral enemies | |
killall |
Kills nearby creatures | |
killenemies |
Kills all nearby enemies | |
killtame |
Kills nearby tame creatures | |
tame |
Tames all nearby tameable creatures | |
removebirds |
Removes all birds | |
removefish |
Removes all fish |
Still stuck? Our team is on Discord, or open a ticket from the Billing Panel.