Console Commands (Cheats, Codes) for Players and Admins in Valheim
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.
-
Resources in Velheim: How to Get Copper, Tin, Iron, Coal, Flint, Chitin, Leather, Wood and Stone
-
How to Upgrade the Workbench in Valheim to Level 5
-
Where to find the world save files in Valheim: how to transfer world files to another PC and a dedicated server
-
New Valheim trailer showcased the update featuring the Ashlands. You can check it out now
-
Where to Find Trophies and How to Hang Them on the Wall in Valheim