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

addstatus [status effect]

Cheat

This command will add the specified status effect.

Parameters 1
aggravate

aggravate

Cheat

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

Parameters 0
ban

ban [name/ip/userID]

Admin

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

Parameters 1
banned

banned

Admin

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

Parameters 0
beard

beard [beard number]

Cheat

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

Parameters 1
bind

bind [keycode] [command]

Player

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

Parameters 2
challenge

/challenge

Emote

This command triggers the challenge emotion animation for your character.

Parameters 0
cheer

/cheer

Emote

This command makes your character perform a cheering animation.

Parameters 0
clear

clear

Player

This command clears the text within the console window.

Parameters 0
clearstatus

clearstatus

Cheat

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

Parameters 0
dpsdebug

dpsdebug

Cheat

This command toggles the dps debug print on and off.

Parameters 0
env

env [env ID]

Cheat

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

Parameters 1
event

event [event ID]

Cheat

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

Parameters 1
exploremap

exploremap

Cheat

This command reveals the entire game map.

Parameters 0
ffsmooth

ffsmooth [0|1]

Cheat

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

Parameters 1
find

find [text] [pingmax]

Cheat

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

Parameters 2
fly

fly

Cheat

This command toggles flight mode.

Parameters 0
forcedelete

forcedelete [radius] [name]

Cheat

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

Parameters 2
fov

fov [number]

Player

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

Parameters 1
freefly

freefly

Cheat

This command enables or disables the free camera mode.

Parameters 0
gc

gc

Cheat

This command displays garbage collection information.

Parameters 0
genloc

genloc

Cheat

This command redistributes all unplaced game locations.

Parameters 0
ghost

ghost

Cheat

This command toggles ghost mode where enemies ignore the player.

Parameters 0
god

god

Cheat

This command activates god mode.

Parameters 0
goto

goto [x] [z]

Cheat

This command teleports the player to given coordinates.

Parameters 2
hair

hair [hair number]

Cheat

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

Parameters 1
heal

heal

Cheat

This command restores your health to maximum.

Parameters 0
help

help [page] [page count]

Player

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

Parameters 2
hidebetatext

hidebetatext

Player

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

Parameters 0
info

info

Player

This command provides details about the current system settings.

Parameters 0
itemset

itemset [set name] [keep]

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.

Parameters 2
kick

kick [name/ip/userID]

Admin

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

Parameters 1
killall

killall

Cheat

This command kills all nearby enemies and tamed creatures.

Parameters 0
killenemies

killenemies

Cheat

This command kills all nearby enemies.

Parameters 0
killtame

killtame

Cheat

This command eliminates all nearby tamed creatures.

Parameters 0
listkeys

listkeys

Cheat

This command lists all global keys in the game.

Parameters 0
location

location [location ID]

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

Parameters 1
lodbias

lodbias [number]

Player

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

Parameters 1
model

model [0-1]

Cheat

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

Parameters 1
nextseed

nextseed

Cheat

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

Parameters 0
nocost

nocost

Cheat

This command toggles no-cost mode.

Parameters 0
nomap

nomap

Player

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

Parameters 0
nonono

/nonono

Emote

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

Parameters 0
noportals

noportals

Player

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

Parameters 0
optterrain

optterrain

Player

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

Parameters 0
ping

ping

Player

This command measures the latency between you and the server.

Parameters 0
players

players [difficulty]

Cheat

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

Parameters 1
point

/point

Emote

This command triggers the point emotion animation.

Parameters 0
pos

pos

Cheat

This command displays the player's coordinates.

Parameters 0
printbinds

printbinds

Player

This command lists all custom commands currently bound to keys.

Parameters 0
printcreatures

printcreatures

Cheat

This command shows counts and levels of all active creatures.

Parameters 0
printlocations

printlocations

Cheat

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

Parameters 0
printseeds

printseeds

Player

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

Parameters 0
puke

puke

Cheat

This command resets player fullness or hunger.

Parameters 0
raiseskill

raiseskill [skill] [amount]

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

Parameters 2
randomevent

randomevent

Cheat

This command triggers a random game event.

Parameters 0
recall

recall [name]

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.

Parameters 1
removebirds

removebirds

Cheat

This command removes all active birds from the game.

Parameters 0
removedrops

removedrops

Cheat

This command eliminates all item drops in the vicinity.

Parameters 0
removefish

removefish

Cheat

This command gets rid of all active fish.

Parameters 0
removekey

removekey [global key]

Cheat

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

Parameters 1
resetbinds

resetbinds

Player

This command removes all custom key binds.

Parameters 0
resetcharacter

resetcharacter

Cheat

This command resets all character data for the player.

Parameters 0
resetenv

resetenv

Cheat

This command reverts the debug environment to its default setting.

Parameters 0
resetkeys

resetkeys

Cheat

This command removes all global keys.

Parameters 0
resetmap

resetmap

Cheat

This command hides the entire game map.

Parameters 0
resetsharedmap

resetsharedmap

Player

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

Parameters 0
resetskill

resetskill [skill]

Cheat

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

Parameters 1
resetspawn

resetspawn

Player

This command resets your character's spawn point.

Parameters 0
resetwind

resetwind

Cheat

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

Parameters 0
respawn

respawn

Player

This command instantly kills your character, causing a respawn.

Parameters 0
restartparty

restartparty

Player

This command restarts the playfab party network.

Parameters 0
s

s [message]

Player

This command lets your character shout a message in chat.

Parameters 0
save

save

Admin

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

Parameters 0
say

say [message]

Player

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

Parameters 0
setkey

setkey [global key]

Cheat

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

Parameters 1
setpower

setpower [name]

Cheat

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

Parameters 1
sit

/sit

Emote

This command instructs your character to sit down.

Parameters 0
skiptime

skiptime [seconds]

Cheat

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

Parameters 1
sleep

sleep

Cheat

This command advances the game by one day.

Parameters 0
spawn

spawn [entity name] [amount] [level] [radius] [p/e/i]

Cheat

This command spawns the specified amount of items or characters just in front of you. Entity names are case-sensitive, so spawn Neck works but spawn neck does not. End the name with a star to spawn everything whose name matches. Level only affects characters and is capped at 9; on items it sets quality instead and is capped at 4. Items spawn one at a time, so spawning thousands at once may freeze the game. You can also set values on whatever you spawn, such as a Neck that never stops jumping.

Parameters 5
stopevent

stopevent

Cheat

This command terminates the currently running game event.

Parameters 0
tame

tame

Cheat

This command tames all creatures in the nearby vicinity.

Parameters 0
test

test [value]

Cheat

This command toggles various test values in the game.

Parameters 1
thumbsup

/thumbsup

Emote

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

Parameters 0
time

time

Cheat

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

Parameters 0
timescale

timescale [target] [fade time]

Cheat

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

Parameters 2
tod

tod [0-1]

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.

Parameters 1
tutorialreset

tutorialreset

Player

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

Parameters 0
tutorialtoggle

tutorialtoggle

Player

This command toggles the display of tutorial prompts.

Parameters 0
unban

unban [name/ip/userID]

Admin

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

Parameters 1
unbind

unbind [keycode]

Player

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

Parameters 1
W

W [player name]

Player

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

Parameters 1
wave

/wave

Emote

This command triggers the wave emotion for your character.

Parameters 0
wind

wind [angle] [intensity]

Cheat

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

Parameters 2