Valheim Setkey Command


This command adds a specified global key.

Setkey Syntax


The syntax for the setkey command is as follows:

setkey [name] Cheat

This command has the following arguments:

NameThe name of the global key you want to add. Keys:
  • defeated_bonemass - set after killing Bonemass
  • defeated_gdking - set after killing The Elder
  • defeated_goblinking - set after killing Vagluth
  • defeated_dragon - set after killing Moder
  • defeated_eikthyr - set after killing Eikthyr
  • defeated_queen - set after killing The Queen
  • KilledTroll - set after killing a Troll
  • killed_surtling - set after killing a Surtling
  • KilledBat - set after killing a Bat
  • nomap - disables the game's map for every player
  • noportals - disables portals for every player

Looking for other commands?

Search our database of 91 Valheim commands...

Okay!

Setkey Examples


Find below working examples of the setkey command.


setkey killed_surtling

This command adds the "killed_surtling" global key (unlocking the achievement for your character).

setkey defeated_bonemass

This command adds the "defeated_bonemass" global key (unlocking the achievement for your character).