Valheim cheats, console commands, and spawn item list

Valheim cheats
(Image credit: Iron Gate)

Valheim cheats or console commands can completely change the game and, while usually a PC treat, there's a hidden menu you can access on Xbox to enjoy the fun. Whether that's activating God Mode to walk through dangerous areas unharmed, or simply flying around Valheim to explore faster. And, as well as superpowers, you can use a spawn item list to get whatever you need instantly.

Valheim commands can even help unlock your creative visions, letting you construct huge settlements by spawning in all the wood you need. And with every crafting recipe at your disposal there's no limit to what you can build. If you want to know how to use Valheim cheats on Xbox and PC, and see a list of the available commands, then let me explain all. 

How to access Valheim cheats and console commands on Xbox

Valheim cheats and console commands on Xbox

(Image credit: Iron Gate)

To access Valheim cheats and console commands on Xbox, you need to hold down LB + RB + LT + RT and then press the Menu button (three horizontal lines). This will pull up a display showing the basic Gamepad console controls, and by tapping left on the d-pad you'll reveal a list of useful console commands to modify the world or your position. You enter commands by pressing the A button to bring up a text window and then typing them in. 

However, if you want to specifically use Valheim cheats then you need to enter Devcommands here. This will display "Dev commands: True" to confirm they're active, along with a warning that using them is at your own risk as they may have unintended consequences or even crash your game, so make sure you save before using them if you don't want to risk losing progress. 

Once dev commands are activated you can then enter pretty much any of the cheats and console commands listed below, including the classic God mode, and if you type help or tap left on the d-pad then you'll get a complete list of codes available – which you can also cycle through by repeatedly tapping right on the d-pad. The only cheat that doesn't appear to work on Xbox is debugmode, though you can recreate the same functions with other codes such as fly, killenemies, nocost, and removedrops.

Note that although the on-screen instructions say that you can click RStick + LStick to show/hide the console, you actually need to hold LB + RB + LT + RT and then press the Menu button again for this.

How to access Valheim cheats and console commands on PC

access Valheim cheats and console commands on PC

(Image credit: Iron Gate Studios)

You need to activate Valheim cheats on PC before you launch the game. To do this right click on the game name in your library and choose 'properties'. From there look for the Launch Options at the bottom of the General tab. Enter -console in the text box so it looks like this: 

(Image credit: Iron Gate)

Close down the window and start the game and you'll be in business. As before you can press F5 to open up the dev console and now enter devcommands to activate Valheim cheats. Like before you can also deactivate cheats by typing in devcommands again.

While you can freely enter Valheim cheat codes in single player mode, you can only use them during multiplayer if you are the server host or have been given access by the current server host.

Valheim cheats and console commands

Enter any of the following Valheim cheat codes to activate the stated effects:

  • god - Activate god mode for invulnerability and one-hit kills
  • ghost - Activate ghost mode where enemies ignore you
  • raiseskill [skill] [amount] - Increases the specified skill by the entered amount
  • resetskill [skill] - Reset specified skill to 0
  • resetcharacter - Reset character skills and inventory
  • heal - Full health for your character
  • puke - Reset hunger and default health and stamina for your character
  • hair - Remove your character's hair
  • beard - Remove your character's beard
  • model [nr] - Switch between male and female character, use 0 or 1
  • dpsdebug - Toggles damage per second display on/off
  • players [nr] - Scale the difficulty based on player numbers, with 1 for no scaling and 0 to reset scaling
  • fly - Toggles flying mode
  • freefly - Access the free camera
  • ffsmooth 1 - Free camera smoothing
  • ffsmooth 0 - Resets free camera smoothing
  • save - Force the game to save
  • exploremap - Clear fog and display the full map
  • resetmap - Clear exploration and reset the full map
  • pos - Display player coordinates
  • goto [x,y] or goto [x,y,z] - Transport player to coordinates entered
  • location - Set a new spawn location
  • killenemies - Kill all enemies in the area
  • killtame - Kill all tamed creatures in the area
  • killall - Kill all enemies and tamed creatures in the area
  • tame - Tame all creatures in the area
  • nocost - All crafting recipes available, no workbench or resources required
  • removedrops - Remove all dropped items in the area
  • wind [angle] [intensity] - Set the wind direction and intensity, with angle 0 for north and intensity between 0 and 1
  • resetwind - Reset the wind direction and intensity
  • tod [nr] - Set the time of day, with 0 or 1 for midnight, 0.5 for midday, and -1 to revert to natural time
  • skiptime [nr] - Skip forward the specified number of seconds
  • sleep - Skip forward one day
  • event [name] - Start the specified event
  • stopevent - Stop the current event
  • randomevent - Start a random event
  • spawn [item] [quantity] [level] - Spawn the specified item (see below)
  • debugmode - Enter Creative Mode, where you can then press:
    *    Z - Enter/exit Flying Mode
    *    K - Kill all enemies in the area
    *    L - Remove item drops in the area
    *    B - Enter/exit No Placement Cost Mode = repair tools and equipment without a Workbench and craft anything for zero cost

Valheim spawn item list

Valheim spawn item list

(Image credit: Iron Gate AB)

Using the cheat code spawn [item] [quantity] [level] in conjunction with the Valheim spawn item list will make any item in the game appear in front of you. For example, type spawn Coins 50 to get 50 coins or spawn Goblin 3 2 for three Goblins at level two. 

Here are a few Valheim spawn item codes to get you started:

  • BlackMetal
  • BowHuntsman
  • FineWood
  • Flint
  • Haldor
  • Obsidian
  • Silver
  • SledgeStagbreaker
  • TrollHide
  • CarrotSeeds
  • Coins
  • DeerHide
  • Iron

You can find a complete Valheim spawn item list of codes here, though bear in mind that some of these items could be broken, so be cautious about which ones you throw into your game.

Valheim server commands

Valheim server commands

(Image credit: Iron Gate AB)

In addition to the Valheim cheats, there are also a number of server commands you can activate to assist with admin:

  • help - Display a list of available console commands
  • ping - Ping the server to measure latency
  • lodbias [nr] - Set draw distance for the server between 1 and 5
  • info - Displays the current system info
  • kick [name/ip/userID] - Kick the specified user
  • ban [name/ip/userID] - Ban the specified user
  • unban [ip/userID] - Unban the specified user
  • banned - Display a list of banned users

© 12DOVE. Not to be reproduced without permission

Iain Wilson
Guides Editor

Iain originally joined Future in 2012 to write guides for CVG, PSM3, and Xbox World, before moving on to join GamesRadar in 2013 as Guides Editor. His words have also appeared in OPM, OXM, PC Gamer, GamesMaster, and SFX. He is better known to many as ‘Mr Trophy’, due to his slightly unhealthy obsession with amassing intangible PlayStation silverware, and he now has over 750 Platinum pots weighing down the shelves of his virtual award cabinet. He does not care for Xbox Achievements.

With contributions from
Read more
Skyrim cheats and console commands
Skyrim cheats and console commands to Godmode your way across Tamriel
Kingdom Come Deliverance 2 screenshot of Henry picking plants in a field
Kingdom Come Deliverance 2 cheats and console commands list
GTA 5 cheats
All GTA 5 cheats, codes and phone numbers for PS5, Xbox and PC
Sims 4 cheats allow families to gather happily in The Sims 4
The Sims 4 cheats and codes for money, skills, love, and more
GTA Vice City cheats
GTA Vice City cheats for health, armor, weapons, and much more
GTA 3 cheats
GTA 3 cheats for unlimited money, weapons, armor, and much more
Latest in Survival
A woman in a underwater machine waving during the cinematic teaser for Subnautica 2.
Subnautica 2: Everything we know about the new underwater survival game
A misty, forested mountainside in Prologue: Go Wayback!
PUBG creator's wilderness survival game actually draws inspiration from an unexpected place - a whole raft of zombie games like DayZ, Project Zomboid, and Left 4 Dead
Terraria art showing a short-haired blond man sitting atop a grassy field in metal armor, colorful slimes on either side of him
Terraria is forever: look no further than its go-to mod tool, which just hit an all-time Steam peak ahead of surely, for real, definitely final update 1.4.5
Solarpunk airship interior
The most popular open-world survival game in Steam Next Fest is coming straight for my JRPG-born obsession with floating islands
Cubic Odyssey
This 93% positive Steam Next Fest survival game demo wants to combine Minecraft and No Man's Sky with "RPG-style depth," and so far it's actually pulling it off
Prologue
PUBG creator's nails-hard survival game launches this summer for $20, and its new trailer shows all the ways it'll try and kill you
Latest in Guides
Assassin's Creed Shadows Claws of Awaji expansion Naoe and Yasuke in Awaji forest
Assassin's Creed Shadows roadmap, DLC and future content
A scary emoji shown in horror game REPO.
Is REPO coming to consoles?
Monster Hunter Wilds Nu Udra Palico
How to get the Monster Hunter Wilds Aqua Sac and Flame Sac
WWE 2K25
WWE 2K25 DLC guide to all Season Pass wrestlers
Monster Hunter Wilds screenshot showing a fiery octopus monster grabbing player
Monster Hunter Wilds Black Flame location and boss fight guide
Monster Hunter Wilds Aqua Sac and Flame Sac
The best Monster Hunter Wilds mods and how to install them