Skip to content

Valheim Console Commands

95 commands

The complete reference for Valheim console commands — every cheat, debug, and admin command with what it does and how to use it.

Press F5 to open the console, type devcommands to enable cheats, then run any command — for example god for godmode or fly to toggle flight. Search the full list below.

addstatus
Cheat

This command will add the specified status effect.

aggravate
Cheat

This command aggravates neutral entities within a 20-meter radius.

ban
Admin

This command bans the specified user based on their name, IP address, or userID.

banned
Admin

This command displays a comprehensive list of all users who have been banned.

beard
Cheat

This command permanently changes your beard. If used without an argument, it removes your beard.

bind
Player

This command allows you to assign a specific action or command to a particular key.

challenge
Emote

This command triggers the challenge emotion animation for your character.

cheer
Emote

This command makes your character perform a cheering animation.

clear
Player

This command clears the text within the console window.

clearstatus
Cheat

This command removes all active status effects, both positive and negative.

dpsdebug
Cheat

This command toggles the dps debug print on and off.

env
Cheat

This command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).

event
Cheat

This command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).

exploremap
Cheat

This command reveals the entire game map.

ffsmooth
Cheat

This command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.

find
Cheat

This command finds and pings matching objects on the map, placing pins if required.

fly
Cheat

This command toggles flight mode.

forcedelete
Cheat

This command removes objects within a specified radius, as well as optionally specific objects if a name is provided.

fov
Player

Adjusts the field of view in the game to the specified number.

freefly
Cheat

This command enables or disables the free camera mode.

gc
Cheat

This command displays garbage collection information.

genloc
Cheat

This command redistributes all unplaced game locations.

ghost
Cheat

This command toggles ghost mode where enemies ignore the player.

god
Cheat

This command activates god mode.

goto
Cheat

This command teleports the player to given coordinates.

hair
Cheat

This command permanently alters your hairstyle. If used without an argument, it removes your hair.

heal
Cheat

This command restores your health to maximum.

help
Player

This command displays available commands, with optional parameters to specify which portion to view.

hidebetatext
Player

This command toggles the visibility of any beta-related text in the game.

info
Player

This command provides details about the current system settings.

itemset
Cheat

This 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.

kick
Admin

This command kicks out the specified user based on their name, IP address, or userID.

killall
Cheat

This command kills all nearby enemies and tamed creatures.

killenemies
Cheat

This command kills all nearby enemies.

killtame
Cheat

This command eliminates all nearby tamed creatures.

listkeys
Cheat

This command lists all global keys in the game.

location
Cheat

This command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).

lodbias
Player

This command adjusts the server's draw distance with values between 1 and 5.

model
Cheat

This command switches the player's character model from masculine to feminine.

nextseed
Cheat

This command forces the next dungeon to generate based on a new seed, disabling game saving.

nocost
Cheat

This command toggles no-cost mode.

nomap
Player

This command toggles the map's visibility. If applied on the server, it also toggles the global key.

nonono
Emote

This command triggers the "nonono" emotion animation for your character.

noportals
Player

This command, when used on a server, toggles the global key related to portal usage.

optterrain
Player

This command converts older terrain modifications in the vicinity to the updated system.

ping
Player

This command measures the latency between you and the server.

players
Cheat

This command modifies the game difficulty scale. Use `0` to reset the difficulty.

point
Emote

This command triggers the point emotion animation.

pos
Cheat

This command displays the player's coordinates.

printbinds
Player

This command lists all custom commands currently bound to keys.

printcreatures
Cheat

This command shows counts and levels of all active creatures.

printlocations
Cheat

This command lists all loaded game locations and their distance from the player.

printseeds
Player

This command shows the seeds and positions of dungeons in the vicinity.

puke
Cheat

This command resets player fullness or hunger.

raiseskill
Cheat

This command raises or lowers a specified skill by the amount entered. A negative number will lower the skill level. The maximum level for each skill is `100`. View all skill IDs here: [valheimcheats.com/skill](/skill).

randomevent
Cheat

This command triggers a random game event.

recall
Cheat

This command teleports all players matching the specified name to your position. If the name is not specified, then all players will be teleported to your location.

removebirds
Cheat

This command removes all active birds from the game.

removedrops
Cheat

This command eliminates all item drops in the vicinity.

removefish
Cheat

This command gets rid of all active fish.

removekey
Cheat

This command removes the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).

resetbinds
Player

This command removes all custom key binds.

resetcharacter
Cheat

This command resets all character data for the player.

resetenv
Cheat

This command reverts the debug environment to its default setting.

resetkeys
Cheat

This command removes all global keys.

resetmap
Cheat

This command hides the entire game map.

resetsharedmap
Player

This command clears the shared map data from the cartography table.

resetskill
Cheat

This command resets a specified skill level to zero. View all skill IDs here: [valheimcheats.com/skill](/skill).

resetspawn
Player

This command resets your character's spawn point.

resetwind
Cheat

This command resets the game's wind direction and intensity.

respawn
Player

This command instantly kills your character, causing a respawn.

restartparty
Player

This command restarts the playfab party network.

s
Player

This command lets your character shout a message in chat.

save
Admin

This command forces the game to immediately save any current progress.

say
Player

This command makes your character say a message in the chat.

setkey
Cheat

This command adds the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).

setpower
Cheat

This command sets a specified Forsaken power for the player and resets its cooldown.

sit
Emote

This command instructs your character to sit down.

skiptime
Cheat

This command skips forward in time, changing the game's day and time.

sleep
Cheat

This command advances the game by one day.

spawn
Cheat

This command will spawn the specified amount of items or characters. See our [item IDs](/item) and [character IDs](/character) lists for entity IDs. Level only affects characters. High level characters, with a level of `10` or greater, may crash the game. Items will be spawned one at a time. Spawning thousands of items may freeze the game.

stopevent
Cheat

This command terminates the currently running game event.

tame
Cheat

This command tames all creatures in the nearby vicinity.

test
Cheat

This command toggles various test values in the game.

thumbsup
Emote

This command triggers a thumbs-up emotion for your character.

time
Cheat

This command shows the current in-game time and indicates if sleeping is currently possible.

timescale
Cheat

This command adjusts the speed of in-game time, allowing for up to 3x acceleration. The fade time determines the transition duration.

tod
Cheat

This command sets the in-game time of day, with `0` and `1` representing midnight, and `0.5` signifying noon. Using `-1` will revert the time to its default setting.

tutorialreset
Player

This command resets all viewed tutorial messages, allowing them to be viewed again.

tutorialtoggle
Player

This command toggles the display of tutorial prompts.

unban
Admin

This command removes the ban on the specified user, allowing them to access the game again.

unbind
Player

This command removes any custom commands bound to a specified key.

W
Player

This command sends a whispered message to a specified player in the game.

wave
Emote

This command triggers the wave emotion for your character.

wind
Cheat

This command modifies the game's wind direction and strength based on provided parameters.