Valheim is a new adventure game dedicated to the life and mythology of Vikings. If you've created your own server, you can manage it through the console. In this guide, we will list all the commands available to the administrator, as well as cheat codes.
What You Need to Know Before Using the Console in Valheim
Using cheats in Valheim can lead to serious in-game errors that can damage your save. Before you start entering cheats, it is recommended to perform the following actions:
- Save all existing worlds and all heroes.
- Copy the Valheim folder to a separate directory on your hard drive or in cloud storage.
- Start a new game.
Recommendations for Using Cheats
- Do not create new items while inside a house.
- Use only those cheats that you need at the moment.
Note: if you are playing on someone else's server, using cheats may lead to a ban.
How to Enable (Open) the Console in Valheim
- Open your Steam library and find Valheim.
- Right-click on the game icon and select Properties.
- Go to the General tab, then to Launch Options and enter the command -console.
- Start the game.
- Press the F5 button. To hide the user interface, press Ctrl + F3 simultaneously.
Console Commands for Valheim Server Admins — Player Bans, Ping Settings, etc.
- help — show all available commands;
- kick [player name / player ip / userID] — remove (kick) a user;
- ban [player name / player ip / userID] — ban a user;
- unban [player name / player ip / userID] — unban a user;
- banned — show the list of banned users;
- ping — send a ping to the server to increase the time between user actions and their reaction in the game;
- lodbias [number] — change the lod value. It is responsible for the rendering of high-detail objects at a distance. The default is 1.5;
- info — show system information.
General Cheats in Valheim — Immortality, Ghost Mode, Teleportation, Taming Animals, etc.
- devcommands — activate cheat mode.
- help — show the list of cheats;
- god — enable immortality (god mode);
- ghost — enable ghost mode, where enemies will ignore you;
- pos — find out the current position (coordinates) of the player;
- goto [x,z] — teleport to the specified point using coordinates;
- exploremap — reveal the entire map;
- resetmap — undo the exploration of the entire map;
- killall — kill all nearby enemies within 100 meters;
- tame — tame all nearby animals that can be domesticated, within 100 meters;
- save — save the game;
- removedrops — remove all dropped items in the area within 100 meters;
- location — set your respawn location;
- genloc — regenerate locations;
- wind [angle] [intensity] — set the direction and speed of the wind (0 — calm, 0.1-0.3 — light breeze, 0.4-0.6 — moderate wind, 0.7-1 — strong wind and storm at sea);
- resetwind — reset wind parameters;
- skiptime [seconds] — fast forward time by the specified number of seconds;
- tod [number] — set the time of day: 0 and 1 — midnight, 0.5 — noon, -1 — return to default values;
- sleep — fast forward one day;
- setkey [name] — set a new global key;
- resetkeys [name] — reset the specified global key;
- listkeys — show the list of global keys;
- dpsdebug — enable or disable the display of damage per second.
- env [name] — set the debug environment;
- reserenv — reset the debug environment;
- players [number] — adjust the difficulty scale. To lower it to the minimum, enter the number 0. If you want to increase it, enter whole numbers (1, 2, 3). The level of difficulty affects the damage and health of all creatures in the game.
How to Change (Alter) Your Character's Appearance in Valheim — Changing Gender, Adjusting Beard and Hairstyle
- model [number] — change the main character's gender, 0 — male, 1 — female;
- beard Beard [number] — change your hero's beard, numbers from 1 to 10;
- beard — remove the beard;
- hair Hair [number] — change your character's hairstyle, numbers from 1 to 14;
- hair — remove the hairstyle.
Console Commands (Cheats) for Skills in Valheim. Leveling Up, Increasing, Losing Skills. List of Skill Names
- raiseskill [skill name] [value] — change the skill level. The maximum value is 100, and you can set it to a negative value if desired.
- resetskill [skill name] — reset the selected skill's level to 0;
List of Skills
- run — running;
- jump — jumping;
- swim — swimming;
- sneak — sneaking;
- woodcutting — woodcutting;
- blocking — blocking;
- unarmed — unarmed;
- axes — axes;
- bows — bows;
- clubs — clubs;
- knives — knives;
- pickaxes — pickaxes;
- polearms — polearms;
- spears — spears;
- swords — swords.
Events in Valheim. List of Event Names in English
- event [event name] — trigger the named event;
- stopevent — stop the current event;
- randomevent — trigger a random event.
List of Events in the Game
- army_theelder — The Forest Moves;
- army_goblin — A Horde of Goblins Attacks;
- foresttrolls — The Ground is Shaking;
- army_bonemass — A Stench from the Swamp;
- army_eikthyr — Eikthyr Rallies the Creatures of the Forest;
- skeletons — Uninvited Bones;
- wolves — You Are Being Hunted;
- army_moder — A Cold Wind Blows from the Mountains;
- surtlings — The Air Smells of Sulfur.
Cheats for Spawning Items in Valheim. List of Item Names (IDs) in English
In the console, enter the command spawn, next to it write the name of the item and the required quantity (as a number).
We have divided the item names into categories.
Types of Wood
- Wood — wood;
- FineWood — fine wood;
- RoundLog — round log;
- ElderBark — elder bark.
Ores and Metals
- TinOre — tin ore;
- Tin — tin;
- CopperOre — copper ore;
- Copper — copper;
- SilverOre — silver ore;
- Silver — silver;
- Bronze — bronze;
- IronScrap — iron scrap;
- IronOre — iron ore;
- Iron — iron;
- BlackMetalScrap — black metal scrap;
- BlackMetal — black metal;
- Flametal ore — flametal ore;
- Flametal — flametal.
Various Materials
- Stone — stone;
- Coal — coal;
- Flint — flint;
- Feathers — feathers;
- LinenThread — linen thread;
- BoneFragments — bone fragments;
- Resin — resin;
- Chain — chain;
- Guck — guck;
- Chitin — chitin;
- Obsidian — obsidian;
- Ooze — ooze;
- Flint — flint;
- SurtlingCore — surtling core;
- GreydwarfEye — greydwarf eye.
Hides
- LeatherScraps — leather scraps;
- DeerHide — deer hide;
- WolfPelt — wolf pelt;
- LoxPelt — lox pelt;
- TrollHide — troll hide.
Weapons
- Bow — regular bow;
- BowDraugrFang — Draugr Fang bow;
- BowFineWood — fine wood bow;
- BowHuntsman — huntsman bow;
- KnifeFlint — flint knife;
- Club — club;
- MaceNeedle — needle mace;
- KnifeChitin — abyssal razor;
- KnifeCopper — copper knife;
- KnifeBlackMetal — black metal knife;
- MaceBronze — bronze mace;
- MaceIron — iron mace;
- Battleaxe — battleaxe;
- MaceSilver — frostner;
- SledgeStagbreaker — stagbreaker;
- SpearBronze — bronze spear;
- SpearChitin — abyssal harpoon;
- SpearElderbark — elderbark spear;
- SpearFlint — flint spear;
- SpearWolfFang — wolf fang spear;
- SwordBlackmetal — black metal sword;
- SwordBronze — bronze sword;
- SwordIron — iron sword;
- SwordIronFire — fire metal sword;
- SwordSilver — silver sword;
- SledgeIron — iron sledge;
- Torch — torch.
Armor
- ArmorBronzeChest — bronze cuirass;
- ArmorBronzeLegs — bronze greaves;
- HelmetBronze — bronze helmet;
- ArmorIronChest — scale iron armor;
- ArmorIronLegs — iron greaves;
- HelmetIron — iron helmet;
- ArmorLeatherChest — leather tunic;
- ArmorLeatherLegs — leather pants;
- HelmetLeather — leather helmet;
- ArmorPaddedCuirass — padded cuirass;
- ArmorPaddedGreaves — padded greaves;
- ArmorRagsChest — linen tunic;
- ArmorRagsLegs — linen pants;
- ArmorTrollLeatherChest — troll leather tunic;
- ArmorTrollLeatherLegs — troll leather pants;
- CapeTrollHide — troll hide cape;
- HelmetTrollLeather — troll leather helmet;
- ArmorWolfChest — wolf armor;
- ArmorWolfLegs — wolf leg protection;
- CapeDeerHide — deer hide cape;
- CapeLinen — linen cape;
- CapeLox — lox cape;
- CapeOdin — Odin's cape;
- HelmetOdin — Odin's helmet;
- HelmetDrake — drake helmet;
- CapeWolf — wolf hide cape;
- HelmetDverger — dwarven circlet;
- HelmetPadded — padded helmet;
- HelmetYule — Yule hat;
- Wishbone — wishbone.
Shields
- ShieldIronTower — Iron Tower Shield;
- AtgeirBronze — Bronze Atgeir;
- ShieldBanded — Banded Shield;
- ShieldBlackmetal — Blackmetal Reinforced Shield;
- ShieldBlackmetalTower — Blackmetal Tower Shield;
- ShieldIronSquare — Iron Square Shield;
- ShieldWood — Wooden Shield;
- ShieldKnight — Knight's Shield;
- ShieldSerpentscale — Serpent Scale Shield;
- ShieldSilver — Silver Shield;
- AtgeirIron — Iron Atgeir;
- ShieldWoodTower — Wooden Tower Shield;
- AtgeirBlackmetal — Blackmetal Atgeir;
- ShieldBronzeBuckler — Bronze Buckler.
Arrows
- ArrowWood — Wooden Arrow;
- ArrowBronze — Bronzehead Arrow;
- ArrowFrost — Frost Arrow;
- ArrowFire — Fire Arrow;
- ArrowFlint — Flint Arrow;
- ArrowPoison — Poison Arrow;
- ArrowIron — Ironhead Arrow;
- ArrowObsidian — Obsidian Arrow;
- ArrowNeedle — Needle Arrow;
- ArrowSilver — Silver Arrow.
Tools
- Hammer — Hammer;
- AxeBlackMetal — Black Metal Axe;
- AxeBronze — Bronze Axe;
- AxeFlint — Flint Axe;
- AxeIron — Iron Axe;
- AxeStone — Stone Axe;
- PickaxeAntler — Antler Pickaxe;
- PickaxeIron — Iron Pickaxe;
- PickaxeBronze — Bronze Pickaxe;
- PickaxeStone — Stone Pickaxe;
- Cultivator — Cultivator;
- Hoe — Hoe.
Food
- CookedMeat — cooked simple meat;
- CookedLoxMeat — cooked lox meat;
- SerpentMeatCooked — cooked serpent meat;
- FishCooked — cooked fish;
- NeckTailGrilled — grilled neck tail;
- Bread — bread;
- BloodPudding — blood pudding;
- Blueberries — blueberries;
- Carrot — carrot;
- CarrotSoup — carrot soup;
- Cloudberry — cloudberry;
- Sausages — sausages;
- Mushroom — mushrooms;
- MushroomBlue — blue mushrooms;
- MushroomYellow — yellow mushrooms;
- QueensJam — queen's jam;
- Raspberry — raspberry;
- SerpentStew — serpent stew;
- Turnip — turnip;
- TurnipStew — turnip stew;
- LoxPie — lox pie;
- RawMeat — raw meat;
- Honey — honey;
- QueenBee — queen bee;
- Flax — flax;
- BarleyFlour — barley flour;
- FishWraps — fish wraps.
Items available for purchase from the trader
- BeltStrength — Megingjord;
- HelmetYule — Yule hat;
- YmirRemains — Ymir flesh;
- HelmetDverger — Dverger circlet;
- FishingBait — fishing bait;
- FishingRod — fishing rod.
Cheat codes for spawning mobs in Valheim — monsters, bosses, and the trader. List of mobs
In the console, type the command spawn, next to it write the name or title of the mob and its level (except for bosses and NPCs).
We divided the names of the mobs into categories.
Bosses
- Eikthyr — Eikthyr (first boss);
- gd_king — The Elder (second boss);
- Bonemass — Bonemass (third boss);
- Dragon — Moder (fourth boss);
- GoblinKing — Yagluth (fifth boss).
Non-hostile Creatures
- Deer — deer;
- Gull (or Seagal) — seagull;
- Crow — crow;
- Fish1 (or Fish2) — fish;
- Leviathan — leviathan.
Hostile Creatures
- Boar — boar;
- Neck — neck;
- Greyling — greyling;
- Greydwarf — greydwarf;
- Greydwarf_Shaman — greydwarf shaman;
- Greydwarf_Elite — greydwarf brute;
- Troll — troll;
- Skeleton — skeleton;
- Skeleton_Poison — rotting skeleton;
- Ghost — ghost;
- Wolf — wolf;
- Fenring — fenring (werewolf);
- Serpent — serpent;
- StoneGolem — stone golem;
- Hatchling — dragon hatchling;
- BlobElite — elite blob;
- Lox — lox;
- Goblin — goblin;
- Wraith — wraith;
- GoblinArcher — goblin archer;
- GoblinShaman — goblin shaman;
- GoblinBrute — goblin brute;
- Surtling — surtling;
- Leech — leech;
- Draugr — draugr;
- Draugr_Elite — elite draugr;
- Deathsquito — deathsquito;
- Blob — blob.
NPCs
- Haldor — the trader Haldor. Note: he cannot be killed or removed from the game world.
Other Mobs
- odin — the god Odin;
- Valkyrie — Valkyrie.
Photo Mode and Free Camera in Valheim
- freefly — enable or disable free camera mode;
- ffsmooth [number] — enable or disable smooth flight for the free camera, 1 — enable, 0 — disable.
How to Enable Creative Mode in Valheim. Building Without Resources
You can activate a mode that allows building without restrictions. To do this, enter the command debugmode in the console.
Commands for Creative Mode
- The B button allows you to construct new buildings without resource costs;
- The Z button activates unlimited flight;
- The K button kills all animals and monsters in the vicinity.