Quick Links
Cheats and command codes can help make a game more interesting. Many games have a way to activate cheats, making it easy to tweak a game to your liking. This holds true for Valheim as well. In this Viking-themed survival cr🔜afting game, you can access a variety of commands and cheats.
In this guide, we are going to go over every cheat and command that you can use in Valheim. Additionally, we will take a look at how to enable the ability to use them. The words 'Cheat' and 'Command' can be interchanged; overall, they are both strings of text that you enter into the game to get a desired outcome.
Updated April 29, 2023: We've added a video guide to this article that teaches you how to use cheats in Valheim.
The Command Console
Before you can use cheats, you will need to activate the command console. This is where you will type in the cheats that affect the 🉐game.
Depending on where you are playing, the steps to activate the cons👍ole are different.
Activating The Command Console On Steam
On Steam, it's relatively easy to activate the command console. From your game library, right-click on Valheim. This will open a menu; select "Properties..." at the very bottom.
Now, you will be on a new, pop-up window. From the General tab, type the following into the 'Launch Options' bar.
- -console
You can now exit this menu and start the game! To use the console, press F5 and type in the following.
- devcommands
Now, you can use cheats in Valheim, which we will take a look ꦬat later𓃲.
Activating The Command Console On Xbox
To a🅺ctivate the command console on Xbox, you wiꦆll need to hold down the following buttons.
- LB
- RB
- LT
- RT
Keeping all four buttons down, you will now want to press the Menu button. This will open up the console. Like with Steam, you will need to first type in the f🔯ol𓆉lowing before you can use cheats.
- devcommands
Activating The Command Console On Game Pass
Lastly, let's take a look at how you can activate the command console on Game Pass. To do so, follow the steps listed below.
- From Valheim's folder in your file explorer, find the 'Content' folder.
- In the folder, find 'Valheim.exe'.
- Right-click 'Valheim.exe' and click 'Create shortcut', with your desktop as the intended location.
- Once the shortcut has been created, right-click on it and select "Properties".
- In the Properties menu, head to the "Shortcut" tab, and find the "Target:" box.
-
At the end of the box, type the following.
- -console
- Apply, and then you can exit from the Properties menu.
After doing this, you can now start the game! To use the console, press F5 while in a game. Remember, you will still need to type in the following before you can u๊se the cheats.
- devcommands
Complete List Of Commands & Cheats
Now that you know how to activate the command consoles, let's take a look at the actual commands and cheats that you can use.
Informational Commands
Command |
What It Does |
---|---|
help |
Displays all possible commands |
info |
Displays system information |
ping |
Displays ping |
save |
Force saves the game |
ban [name/IP/userID] |
Bans a player |
unban [name/IP/userID] |
Unbans a player |
banned |
Displays all banned players |
kick [name/IP/userID] |
Kicks a player from the server |
lodbias [1-5] |
Sets draw distance
|
restartparty |
Resets network on crossplay |
maxfps [FPS] |
Sets maximum possible FPS |
tutorialtoggle |
Toggles hints from Hugin |
fov [any number] |
Adjusts field of view |
dpsdebug |
Displays DPS |
pos |
Displays coordinates |
exploremap |
Reveals all of map |
resetmap |
Resets map to no exploration |
Debug Mode
Debug mode is essentially a creative mode. To activate it, ꦉtype the 𒊎following into the console.
- debugmode
In this mode, you can use the following commands
Key |
What It Does |
---|---|
B |
Toggle no resource mode |
K |
Kills all enemies |
L |
Removes all dropped items |
Z |
Fly
|
On Xbox, you can use theꩵ following commands to get similar effects.
- nocost
- killenemies/killtamed
- removedrops
- freefly
All Other Cheats & Commands
Using Commands To Spawn In Items
Lastly, let's go over the command used to spawn new items. The command format remains the same for all spawns, which you can check out below.
- spawn [item] [quantity] [level]
This can be used to spawn in certain items and mobs. If you are trying to spawn in an item, then you don't have to enter a level, as this is only used for mobs.
There are a lot of possible spawns, so we recommend for a complete list of every possible command. This has an updated list, filled with hundred of possible commands. If you have spawned in too many items by accident, don't forget to use 'removedrops' to get rid of all items laying around.