Valheim is a challenging game in which danger lurks around every corner and death can come unexpectedly. If you find yourself struggling as you set off Valheim’s Console Commands and Cheats can help turn things in your favor.
While Valheim Console Commands also offer server owners extra tools to manage who can join their server, cheats can only be used in single-player mode. The latter provide additional powers that may take longer to acquire through normal gameplay or are not part of the player’s arsenal at all. At the same time, it’s important to note that using cheats may have unexpected effects on the game, so backing up your game data is recommended before activating them.
Valheim Console Commands
As of Update 0.148.6 enabling console commands requires you to to right-click on Valheim in your Steam library, left-click on Properties, then add -console in the Launch Options box.
This activates the in-game console, which you can then bring up by pressing F5 while in-game. Simply doing this doesn’t activate cheats, only granting access to the server commands below. Remember to not include the square brackets when typing them in.
Console Command | Effect |
---|---|
ping | Shows server latency. |
kick [name/ip/userID] | Kicks specified user |
ban [name/ip/userID] | Bans specified user |
unban [ip/userID] | Unbans specified user |
banned | Shows a full list of banned users |
lodbias [number] | Sets draw distance to specified value |
help | Shows available server commands (not including cheats) |
debugmode | Enables the following options: B - free building; Z - flying; K - kills nearby enemies |
optterrain | Converts existing heavily modified terrain to new system introduced in update 0.150.3 |
Valheim Cheats
As mentioned before, Valheim’s cheats only work in single-player. Activating them also requires an additional step. After you’ve brought up the console using F5, type in “devcommands” without quotation marks. You should get a message reading “Cheats: True”, at which point you’re free to use any of the ones below. Like with the above commands, remove the brackets when typing them in.
Cheat | Effect |
---|---|
god | Enables god mode |
ghost | Enemies ignore you |
heal | Heals you |
killall | Kills all nearby targets |
killtame | Kills nearby tamed creatures |
killenemies | Kills nearby enemies |
goto [x,z] | Teleport to entered coordinates |
raiseskill [skillName] [amount] | Raises named skill by set amount |
resetskill [skillName] | Sets skill back to 0 |
puke | Resets hunger, changes health and stamina to default values |
tame | Tames eligible nearby animals |
resetcharacter | Resets character and inventory |
exploremap | Removes fog of war |
resetmap | Adds fog of war |
freefly | Activates free camera |
wind [angle] [intensity] | Sets wind angle and intensity |
resetwind | Resets wind angle and intensity |
randomevent | Starts a random event |
spawn [item name] [amount] | Spawns specified amount of named item |
help | Shows available server commands (including cheats) |
sleep | Skips to the next day |
pos | Shows player coordinates |
time | Shows time of day |
nocost | Enables or disables nocost mode |
hair [hair#] | Changes hair to specified style or removes it if none is specified |
With Valheim’s console commands and cheats covered, be sure to also check out our guides covering mining and obtaining the swamp key.
Keep updated on the latest Gaming News by following GameWatcher on X, checking out our videos on YouTube, or by giving us a like on Facebook.