Valheim: Codes

save — Save the world
ffsmooth — Free flight
event [name] — Start an event
stopevent — Stop the current event
location — Spawn location
resetmap — Reset map exploration
freefly — Photo mode
raiseskill [skill] [amount] — Raise skill level
killall — Kill nearby enemies
resetcharacter — Reset character data
removedrops — Remove all dropped items in an area
resetwind — Reset wind
players [nr] — Difficulty scale
tame — Tame all nearby creatures
god — God mode
goto [x, z] — Teleport
pos — Write current position on the map
exploremap — Explore the entire map

How to use cheats and console commands

Using cheats in Valheim can cause serious in-game errors that can corrupt your save.

To use cheats and other common console commands, press F5 to open the console command window.

Make sure cheats are enabled by typing ” devcommands .” However, it’s worth noting that cheats can only be used in single-player and will not work on multiplayer servers.

  1. Open your Steam library and find Valheim.
  2. Right-click on the game icon and select ” Properties “.
  3. Go to General, then Launch Options and enter the command ” -console “.
  4. Launch the game.
  5. Press F5. To hide the user interface, press Ctrl + F3 simultaneously.

Please note: If you are playing on someone else’s server, using cheats may result in a ban .

How to enter creative mode (debug mode)

Alternatively, if you’re looking for something more like Creative Mode, activate the ” debugmode ” command. While in debug mode, you can press the following keys to enable features like ” Fly ,” ” Unlimited Items ,” and more.

Z – Pressing Z in Creative Mode will allow you to enter Flight Mode.

K – Pressing K in Creative Mode kills all enemies in the area.

B – Pressing B in Creative Mode will allow you to repair any item without a workbench, as well as place any item for free.

Console commands for admin

  • 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 people;
  • ping  — send a ping to the server to increase the time between user actions and the reaction to them in the game itself;
  • lodbias [number] — change the lod value. It controls the display of highly detailed objects at a distance. Default: 1.5;
  • info  — show information about the system.

General cheats

  • devcommands  — activate cheat mode.
  • help  — show the list of cheats;
  • god  — enable immortality (god mode);
  • ghost  – enable ghost mode, which will make your enemies ignore you;
  • pos  — find out the current position (coordinates) of the player;
  • goto [x, z] — teleport to the specified point by coordinates;
  • exploremap  — open the entire map;
  • resetmap  — cancel exploration of the entire map;
  • killall  — kill all nearby enemies within 100 meters;
  • tame  – tame all animals in the area that can be made into pets, within a distance of 100 meters;
  • save  — save the game;
  • removedrops  — remove all dropped items in an area within 100 meters;
  • location  – set your resurrection location;
  • genloc  — generate locations again;
  • wind [angle] [intensity] — set the direction and speed of the wind (0 — calm, 0.1-0.3 — light wind, 0.4-0.6 — moderate wind, 0.7-1 — strong wind and storm at sea);
  • resetwind  — reset wind parameters;
  • skiptime [seconds] – skip 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  – skip 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 display of damage per second.
  • env [name] – set the debugging environment;
  • reserenv  — reset the debug environment;
  • players [number] — adjusts the difficulty scale. To reduce it to the minimum, enter 0. To increase it, enter whole numbers (1, 2, 3). The difficulty level affects the damage and health of all creatures in the game.

Cheat codes for changing appearance

  • model [number] — change the gender of the main character, 0 — male, 1 — female;
  • beard Beard [number] – change your hero’s beard, numbers from 1 to 10;
  • beard  — to remove the beard;
  • hair Hair [number] – change your character’s hairstyle, numbers from 1 to 14;
  • hair  — remove a hairstyle.

Cheat codes / skill commands

  • raiseskill [skill name] [value] — Change the skill’s parameter. The maximum value is 100, but you can set it to a negative value if desired.
  • resetskill [skill name] – reset the selected skill to 0;
  • Axes
  • Blocking
  • Bows
  • Clubs — batons
  • Jump
  • Knives
  • Pickaxes
  • Run
  • Polearms are polearms.
  • Sneak
  • Spears
  • Swim
  • Swords
  • Unarmed — a fight without weapons
  • Wood Cutting

Cheat codes for events

  • event [event name] – run the named event;
  • stopevent  — stop the current event;
  • randomevent  — trigger a random event.

army_theelder  — “The forest is moving”
army_goblin  — “The goblin horde is attacking”
foresttrolls  — “The earth is shaking “
army_bonemass  — “The stench from the swamp”
army_eikthyr  — “Eikthyr unites the creatures of the forest”
skeletons  — “Uninvited bones”
wolves  — “You are being hunted”
army_moder  — “A cold wind blows from the mountains”
surtlings  — “The smell of sulfur hangs in the air”

Cheat codes for crafting items

In the console, enter the spawn command , next to it write the name of the item and the required quantity (in numbers).

Example: You want to get 100 coins. Enter the code ” spawn Coins 100 ,” but without the quotation marks. So, we’ve entered the ” spawn ” command, specified what ” Coins ” we want, and how many ” 100. ” All item spawn cheats work on the same principle. Simply change the quantity and item name to match your needs

Cheat codes for mob spawns

In the console, enter the spawn command , next to it write the name or title of the mob and its level (except bosses and NPCs).

List of bosses

  • \Eikthyr  — Eikthyr (first boss);
  • gd_king  — Ancient (second boss);
  • Bonemass  – Bone Mass (third boss);
  • Dragon  – Mowder (fourth boss);

Leave a Comment

Scroll to Top