location Console Command
Syntaxlocation [location ID]· Cheat
Updated
Remove brackets [ ] when typing the command.
- Location ID
- The ID of the location you want to spawn.
Fill in the arguments below to build a ready-to-paste location command.
Here are examples of how to use location.
This command will spawn the location Bonemass. Saving will be permanently disabled.
This command will spawn the location Bonemass. Saving will be enabled.
The location command in Valheim is somewhat akin to teleportation. When you use this console command, you're actually generating or spawning a particular instance of a game location right where your character is currently located.
However, one important thing to note is that using this command will disable the ability to save your game. This means that anything you do while in this spawned version of the location cannot be saved and carried forward to your next session.
But there is a workaround. By adding the term SAVE after the location name (for example, location FireHole SAVE), it will spawn the mentioned game location and also keep the saving function active. That way, the progress you make in that location can be carried forward to subsequent sessions or games.
- addstatusThis command will add the specified status effect.
- aggravateThis command aggravates neutral entities within a 20-meter radius.
- beardThis command permanently changes your beard. If used without an argument, it removes your beard.
- clearstatusThis command removes all active status effects, both positive and negative.
- dpsdebugThis command toggles the dps debug print on and off.
- envThis command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).
- eventThis command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).
- exploremapThis command reveals the entire game map.
- ffsmoothThis command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.
- findThis command finds and pings matching objects on the map, placing pins if required.
- flyThis command toggles flight mode.
- forcedeleteThis command removes objects within a specified radius, as well as optionally specific objects if a name is provided.
- freeflyThis command enables or disables the free camera mode.
- gcThis command displays garbage collection information.
- genlocThis command redistributes all unplaced game locations.
- ghostThis command toggles ghost mode where enemies ignore the player.
- godThis command activates god mode.
- gotoThis command teleports the player to given coordinates.
- hairThis command permanently alters your hairstyle. If used without an argument, it removes your hair.
- healThis command restores your health to maximum.
- itemsetThis command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped.
- killallThis command kills all nearby enemies and tamed creatures.
- killenemiesThis command kills all nearby enemies.
- killtameThis command eliminates all nearby tamed creatures.
- listkeysThis command lists all global keys in the game.
- modelThis command switches the player's character model from masculine to feminine.
- nextseedThis command forces the next dungeon to generate based on a new seed, disabling game saving.
- nocostThis command toggles no-cost mode.
- playersThis command modifies the game difficulty scale. Use `0` to reset the difficulty.
- posThis command displays the player's coordinates.