Valheim cheats: All codes, console commands & how to enter them

valheim cheats console commands guide imageIron Gate Studio, Dexerto

Players can adjust Valheim‘s gameplay to their liking by using the game‘s cheats and console commands. Here’s what every cheat and console command does in Valheim and how to enter them.

Valheim’s Norse-inspired world is an epic Viking playground for fans of survival games where players can raid and pillage until their hearts are content. However, you may not want to engage in every aspect of Valheim’s nordic themed adventure. You may wish to spend hours building settlements, or get straight into the raiding and battling!

Article continues after ad

If you’re keen to tailor the game to your preferred style, tired of trying to find the game’s elusive Trader, or are struggling to tame enough boar to maximize your resources, cheats may be the solution to your problems.

Below, you’ll find all of Valheim’s cheats and console commands, as well as how to input them so you can let your imagination run wild.


Contents


valheim winter fightingIron Gate Studio
The vast wildernesses of Valheim may not be everyone’s cup of tea, but cheats can make it much more so.

How to enter cheats in Valheim

In order to start adding cheats to your game, you’ll need to know how to open the command console. Importantly, cheats only work in a single-player setting, and cannot be activated on a multiplayer server.

Article continues after ad

In order to activate cheats in Valheim:

  1. Ensure that the cheat console is activated on Steam.
    • Right-click Valheim, then ‘Properties,’ go to ‘General‘, ‘Launch Options‘ and type ‘-console.’
  2. Launch Valheim and enter the world you plan to apply cheats on.
  3. Click ‘F5‘ on your keyboard.
  4. Type “devcommands” into the box to activate cheats.
  5. Start adding your cheat codes!

All Valheim cheats & codes

All of Valheim’s known cheats are listed below, which have been broken down into sections for characters, and gameplay codes.

Valheim character cheats

Cheat Code Effect
god Enables God mode, making you invincible to damage.
ghost Enables Ghost, makes you invisible to enemies.
heal Fully heals your character.
puke Resets hunger, restores default health and stamina.
pos Print your current position.
hair Permanently removes hair.
beard Permanently removes beard.
model [0/1] Switches your character between masculine and feminine bodies.
reset character Resets your character’s data.
raise skill [skill] [amount] Raises a specific skill’s level.
reset skill [skill] Resets a specific skill to 0.

Gameplay cheats

Cheat Code Effect
freefly Freefly Photo Mode.
ffsmooth Freefly smoothness.
location Spawn location.
goto [x,z] Teleport to entered coordinates.
exploremap Explore entire map.
resetmap Reset map exploration.
tod [0-1] Sets time of day. Both 0 and 1 will give you midnight, whereas 0.5 gives you noon.
tod -1 Resets time of day to default.
skiptime [seconds] Skips forward in time, allowing you to change the day number and time of day.
wind [angle 0-360] [intensity 0-1] Sets wind to a specific angle and intensity.
resetwind Resets wind angle and intensity.
sleep Skips forward one day.
removedrops Remove all item drops in area.
players [num] Sets difficulty scaling based on the number of players (0 = Reset).
tame Tames all nearby tamable animals.
killall Kills all nearby enemies.
event [name] Starts the named event.
stopevent Stops the current event.
setkey [name] Sets a new global key.
resetkeys [name] Resets the specified key.
listkeys Lists all the global keys.
env [env] Sets debug environment.
resetenv Resets the debug environment.
dpsdebug Toggles the damage-per-second debug overlay on/off.
debugmode Turns on Creative Mode:
  • Press Z to fly.
  • Press K to kill all enemies in the area.
  • Press B to repair any items without a workbench, as well as place items wherever you like.

Item & spawn cheats

In order to start spawning items or bosses, you’ll need to use the code spawn [item] [quantity] [level]. Importantly, using these can cause in-game issues, so use them at your own risk.

A list of all the spawnable items has been compiled by Reddit user Demogrim, but the most important thing to note here is about spawning Haldor, the Trader.

Article continues after ad

If cheats are used to spawn the mysterious little gnome, he will not be able to be removed, meaning his location is no longer randomized. He also floats a little bit above the ground, so there’s that, too.

valheim trader haldor sitting at a fireIron Gate Studio
Once you spawn this cheeky little dude, it’s pretty hard to get rid of him!

Valheim console commands

In addition to the vast array of cheat codes you can add to your Valheim game, there’s a series of console commands that will come in handy for those who want to see if their servers run smoothly.

Article continues after ad

Valheim’s console commands are:

Console Command Effect
help Lists all commands.
info Prints the system’s information.
save Forces a world save.
ping Shows your ping, or connection stability.
kick [name/ip/userID] Kicks a specific player from the server.
ban [name/ip/userID] Bans a specific player from the server.
unban [name/ip/userID] Unbans a banned player.
banned Shows the current ban list.
lodbias [0-5] Sets draw difference for the server.

So that’s everything you need to know about Valheim’s cheats and console command codes! Looking to carve your name into history, here’s a list of our Valheim guides to help you out:

Best Valheim mods to download | How to repair tools and weapons in Valheim | All Valheim bosses & how to summon them | How to get Valheim pickaxesHow to tame a wolf in Valheim | How to fish in Vahleim | Valheim items list: Valheim Guck, Wishbone, trader seed, more

Article continues after ad

Related Topics