As with most PC games, Valheim features an extensive list of console commands that make the game fully open to players. This means god mode, killing any nearby enemy and even spawning all items.
Naturally, players who are more interested in building or sheer exploration in Valheim want to know the full list of these console commands, also known as dev commands. Luckily, the full list is accessible to any player and can be entered in-game with no limit.
How to activate Dev Commands in Valheim
First and foremost, players need to know how to actually activate the console to enter the dev commands. Irongate Studios locked this in-game by default so players now need to manually activate it through Steam.
To do this, right-click on Valhein in your Steam Games library. Then, click “Properties” and find the “Launch Options” text box in the General tab. Here, simply type “-console” and close the box. Your console in Valheim is now unlocked and you can now enter any dev command your heart desires.
Once in-game, type “devcommands” in your text box and hit Enter. You can then enter the following commands.
Full list of Dev Commands in Valheim
(Picture: Iron Gate)
The dev commands in Valheim can be split into a few different sections, which you can see below.
General
god - Enables god mode.
freefly - Activates the free camera.
ffsmooth 1 - Adds smooth movements to free camera.
ffsmooth 0 - Resets smooth movements to normal.
killall - Kills all nearby enemies.
tame - Tames all nearby creatures.
ghost - Enemies will ignore you.
exploremap - Reveals the entire map.
resetmap - Hides entire map.
pos - Shows player coordinates.
goto [x,z] Teleports player to the specified coordinates.
location - Sets spawn location.
tod - Sets time of day. Values are between 0-1 (tod .5 is noon, tod 0 and tod 1 are midnight. tod -1 returns time of day to default.
event [name] - Starts the named event.
stopevent - Stops the current event.
randomevent - Starts a random event.
raiseskill [skill] [amount] - Raises the named skill by the value entered.
resetcharacter - Resets all of your character data.
dpsdebug - Toggles dps debug print on and off.
save - Forces the game to save the current world state.
players [nr] - Adjusts the difficulty scale. Enter 0 to reset difficulty.
removedrops - Removes all items dropped in the area.
wind [angle][intensity] - Adjusts the direction and intensity of the wind.
resetwind - Resets the wind angle and intensity
Creative Mode
debugmode - Enters creative mode.
B - Toggle for creative mode building, no workbench or resources needed.
Z - Toggle to fly. Spacebar gives you altitude, Ctrl brings you back down.
K - Tap to kill all nearby enemies and creatures within range.
Multiplayer
To activate commands on a multiplayer server, the admin needs to press F5 to open the console. The following commands can then be entered.
help - Shows all the available server commands
kick [name/ip/userID] - Kicks the named user
ban [name/ip/userID] - Bans the named user
unban [ip/userID] - Unbans the named user
banned - Shows a full list of banned users
ping - Pings the server to measure latency.
lodbias [number] - Sets the draw distance for the server. The number can be set from 1 to 5.
info - Prints the current system information.
Spawn Items
To spawn items in Valheim, you need to first type the item in question then the amount you want to spawn. It should be noted that if you want to spawn 1,000 coal but are in an enclosed space, the game won’t spawn that item. You need to be in an outdoor space most of the time.
Items
Amber
AmberPearl
AncientSeed
Barley
BarleyFlour
BarleyWine
BarleyWineBase
BeechSeeds
BlackMetal
BlackMetalScrap
Bloodbag
BoneFragments
Bronze
BronzeNails
BoneFragments
CarrotSeeds
Chitin
Coal
Coins
Copper
CopperOre
CryptKey
Crystal
Dandelion
DeerHide
DragonEgg
DragonTear
ElderBark
Entrails
Feathers
FineWood
FirCone
FishingBait
FishRaw
FishWraps
Flametal
FlametalOre
Flax
Flint
FreezeGland
GreydwarfEye
Guck
HardAntler
Iron
IronNails
IronOre
IronScrap
LeatherScraps
LinenThread
LoxMeat
LoxPelt
LoxPie
Needle
Obsidian
Ooze
PineCone
QueenBee
Ruby
SerpentScale
SharpeningStone
Silver
SilverNecklace
SilverOre
Stone
SurtlingCore
Thistle
Tin
TinOre
TrollHide
TurnipSeeds
WitheredBone
WolfFang
WolfPelt
Wood
YmirRemains
NeckTail
RawMeat
Resin
RoundLog
SerpentMeat
YagluthDrop
Armour
ArmorBronzeChest
ArmorBronzeLegs
ArmorIronChest
ArmorIronLegs
ArmorLeatherChest
ArmorLeatherLegs
ArmorPaddedCuirass
ArmorPaddedGreaves
ArmorRagsChest
ArmorRagsLegs
ArmorTrollLeatherChest
ArmorTrollLeatherLegs
ArmorWolfChest
ArmorWolfLegs
CapeDeerHide
CapeLinen
CapeLox
CapeOdin
CapeTest
CapeTrollHide
CapeWolf
HelmetBronze
HelmetDrake
HelmetDverger
HelmetIron
HelmetLeather
HelmetOdin
HelmetPadded
HelmetTrollLeather
HelmetYule
Weapons
AtgeirBlackmetal
AtgeirBronze
AtgeirIron
Battleaxe
Bow
BowDraugrFang
BowFineWood
BowHuntsman
KnifeBlackMetal
KnifeChitin
KnifeCopper
KnifeFlint
MaceBronze
MaceIron
MaceNeedle
MaceSilver
ShieldBanded
ShieldBlackmetal
ShieldBlackmetalTower
ShieldBronzeBuckler
ShieldIronSquare
ShieldIronTower
ShieldKnight
ShieldSerpentscale
ShieldSilver
ShieldWood
ShieldWoodTower
SledgeIron
SledgeStagbreaker
SpearBronze
SpearChitin
SpearElderbark
SpearFlint
SpearWolfFang
SwordBlackmetal
SwordBronze
SwordCheat
SwordIron
SwordIronFire
SwordSilver
Tankard
TankardOdin
Club
Torch
Arrows
ArrowBronze
ArrowFire
ArrowFlint
ArrowFrost
ArrowIron
ArrowNeedle
ArrowObsidian
ArrowPoison
ArrowSilver
ArrowWood
Tools
AxeBronze
AxeFlint
AxeIron
AxeStone
AxeBlackMetal
PickaxeAntler
PickaxeBronze
PickaxeIron
PickaxeStone
Cultivator
FishingRod
Hammer
Hoe
Magic Items
BeltStrength
Wishbone
HelmetDverger
Enemies
Blob
BlobElite
Boar
Boar_piggy
Crow
Deathsquito
Deer
Draugr
Draugr_Elite
Draugr_Ranged
Fenring
Ghost
Goblin
GoblinArcher
GoblinBrute
GoblinClub
GoblinHelmet
GoblinLegband
GoblinLoin
GoblinShaman
GoblinShoulders
GoblinSpear
GoblinSword
GoblinTorch
GoblinTotem
Greydwarf
Greydwarf_Elite
Greydwarf_Root
Greydwarf_Shaman
Greyling
Leech
Lox
Neck
Seagal
Serpent
Skeleton
Skeleton_Poison
StoneGolem
Surtling
Troll
Valkyrie
Wolf
Wolf_cub
Wraith
Bosses
Eikthyr
gd_king
Bonemass
Dragon
GoblinKing
Food
Bread
BloodPudding
Blueberries
Carrot
CarrotSoup
Cloudberry
CookedLoxMeat
CookedMeat
FishCooked
Honey
Mushroom
MushroomBlue
MushroomYellow
NeckTailGrilled
Raspberry
QueensJam
Sausages
SerpentMeatCooked
SerpentStew
Turnip
TurnipStew
Mead
MeadBaseFrostResist
MeadBaseHealthMedium
MeadBaseHealthMinor
MeadBasePoisonResist
MeadBaseStaminaMedium
MeadBaseStaminaMinor
MeadBaseTasty
MeadFrostResist
MeadHealthMedium
MeadHealthMinor
MeadPoisonResist
MeadStaminaMedium
MeadStaminaMinor
MeadTasty
Vehicles
Cart
Raft
Karve
VikingShip
Trailership
Vendor
Haldor
Trophies
TrophyBlob
TrophyBoar
TrophyBonemass
TrophyDeathsquito
TrophyDeer
TrophyDragonQueen
TrophyDraugr
TrophyDraugrElite
TrophyDraugrFem
TrophyEikthyr
TrophyFenring
TrophyForestTroll
TrophyFrostTroll
TrophyGoblin
TrophyGoblinBrute
TrophyGoblinKing
TrophyGoblinShaman
TrophyGreydwarf
TrophyGreydwarfBrute
TrophyGreydwarfShaman
TrophyHatchling
TrophyLeech
TrophyLox
TrophyNeck
TrophySerpent
TrophySGolem
TrophySkeleton
TrophySkeletonPoison
TrophySurtling
TrophyTheElder
TrophyWolf
TrophyWraith