Console Commands
Complete list of all Valheim console commands — player, admin, dev, world modifier, and emote commands for dedicated servers.
This is the complete reference for every Valheim console command. Commands are case-sensitive — type them exactly as shown.
Open the Console
Add -console to your Steam launch options, then press F5 in-game to open the console.
📝 Note: Admin commands require your SteamID64 in the server's
adminlist.txt. See Adding Admins. Dev commands require the Server Devcommands mod on dedicated servers — see Enable Dev Commands.
Player Commands
Available to all players, no permissions required.
| Command | Syntax | Description |
|---|---|---|
help | help [page] | Show available commands |
ping | ping | Display your latency to the server |
info | info | Show system and world information |
die | die | Kill your character |
respawn | respawn | Kill your character (same as die) |
fov | fov [number] | Adjust field of view |
lodbias | lodbias [1-5] | Set draw distance (1 = lowest, 5 = highest) |
maxfps | maxfps [number] | Set frame rate limit |
say | say [message] | Send a local chat message |
s | s [message] | Shout a server-wide message |
W | W [player] [message] | Whisper a message to a specific player |
clear | clear | Clear the console window |
bind | bind [keycode] [command] | Bind a command to a key |
unbind | unbind [keycode] | Clear a key binding |
printbinds | printbinds | Show current key bindings |
resetbinds | resetbinds | Remove all custom key bindings |
nomap | nomap | Toggle map visibility |
noportals | noportals | Toggle portal functionality |
resetspawn | resetspawn | Reset your spawn location to default |
resetknownitems | resetknownitems | Reset known items and recipes |
resetsharedmap | resetsharedmap | Remove cartography table shared data |
optterrain | optterrain | Optimize old terrain modifications (reduces lag) |
sortcraft | sortcraft [type] | Sort crafting list (name, type, weight, count) |
filtercraft | filtercraft [text] | Filter crafting list by text |
printseeds | printseeds | Show nearby dungeon seeds |
cr | cr | Force unload unused assets |
exclusivefullscreen | exclusivefullscreen | Toggle fullscreen mode |
tutorialreset | tutorialreset | Reset viewed tutorials |
tutorialtoggle | tutorialtoggle | Toggle tutorial popups |
Press F2 to show connected players, network stats, and instance counts.
Emote Commands
Type these in the chat window (press Enter), not the console.
| Command | Animation |
|---|---|
/sit | Sit down (enables resting near campfires) |
/wave | Wave |
/dance | Dance |
/cheer | Cheer |
/thumbsup | Thumbs up |
/bow | Bow |
/point | Point |
/laugh | Laugh |
/flex | Flex muscles |
/challenge | Challenge |
/cry | Cry |
/despair | Despair |
/roar | Roar |
/shrug | Shrug |
/blowkiss | Blow kiss |
/comehere | Beckoning gesture |
/cower | Cower |
/headbang | Headbang |
/kneel | Kneel |
/nonono | Finger wag |
/relax | Lean back |
/toast | Raise a drink |
/rest | Comfortable sitting |
/vibe | Vibe |
Admin Commands
Require your SteamID64 in the server's adminlist.txt.
| Command | Syntax | Description |
|---|---|---|
kick | kick [name/ip/userID] | Kick a player from the server |
ban | ban [name/ip/userID] | Ban a player from the server |
unban | unban [name/ip/userID] | Remove a player's ban |
banned | banned | List all banned players |
save | save | Force save the world |
World Modifier Commands
Admin-level commands to change world settings.
| Command | Syntax | Description |
|---|---|---|
setworldmodifier | setworldmodifier [name] [value] | Change a world modifier |
setworldpreset | setworldpreset [name] | Apply a difficulty preset |
resetworldkeys | resetworldkeys [name] | Reset world modifiers to default |
setkey | setkey [name] | Enable a global key |
removekey | removekey [name] | Remove a global key |
listkeys | listkeys | Show all active global keys |
resetkeys | resetkeys | Remove all global keys |
Modifier Names and Values
| Modifier | Values |
|---|---|
Combat | veryeasy, easy, hard, veryhard |
DeathPenalty | casual, veryeasy, easy, hard, hardcore |
Resources | muchless, less, more, muchmore, most |
Raids | none, muchless, less, more, muchmore |
Portals | casual, hard, veryhard |
Preset Names
Normal, Casual, Easy, Hard, Hardcore, Immersive, Hammer
Global Keys
| Key | Effect |
|---|---|
NoBuildCost | Free building and crafting |
NoCraftCost | Free crafting |
NoMap | Disable the map |
NoPortals | Disable portals |
NoBossPortals | Disable boss sacrifice portals |
NoWorkbench | Build without workbenches |
PassiveMobs | Creatures don't attack unless provoked |
PlayerEvents | Events only trigger near players |
Fire | Enable fire spreading |
DeathDeleteItems | Delete all items on death |
DeathDeleteUnequipped | Delete unequipped items on death |
DeathKeepEquip | Keep equipped items on death |
DeathSkillsReset | Reset skills on death |
DungeonBuild | Allow building in dungeons |
TeleportAll | Allow all items through portals |
AllPiecesUnlocked | Unlock all building pieces |
AllRecipesUnlocked | Unlock all crafting recipes |
💡 Tip: Type
saveafter changing modifiers to save immediately.
Dev Commands
Require the Server Devcommands mod on dedicated servers. Type devcommands in the console to enable, then debugmode to activate keyboard shortcuts.
Debug Mode Keyboard Shortcuts
| Key | Action |
|---|---|
| Z | Toggle flight (Space = up, Ctrl = down) |
| B | Toggle creative mode (no build cost) |
| K | Kill nearby enemies |
| L | Remove nearby item drops |
| Ctrl + Middle Mouse (on map) | Teleport to cursor location |
Movement and Teleportation
| Command | Syntax | Description |
|---|---|---|
god | god | Toggle invincibility |
ghost | ghost | Enemies ignore you |
fly | fly | Toggle flight mode |
freefly | freefly | Detached free camera |
goto | goto [x] [z] | Teleport to coordinates |
pos | pos | Show your current position |
recall | recall [name] | Teleport players to you (omit name for all) |
findtp | findtp [text] | Teleport to nearest matching object |
Spawning and Items
| Command | Syntax | Description |
|---|---|---|
spawn | spawn [name] [amount] [level] | Spawn items or creatures |
nocost | nocost | Toggle free crafting |
itemset | itemset [name] | Spawn a premade loadout |
Itemset names: Meadows, BlackForest, Swamps, Mountains, Plains, PlainsBoss, Mistlands, MistlandsGear, MistlandsMage, MistlandsWarrior, Fisherman
Combat and Creatures
| Command | Syntax | Description |
|---|---|---|
heal | heal | Restore full health, stamina, and eitr |
puke | puke | Reset hunger, return to default HP/stamina |
killall | killall | Kill all nearby creatures (including tamed) |
killenemies | killenemies | Kill only hostile creatures nearby |
killtame | killtame | Kill only tamed creatures nearby |
tame | tame | Tame all nearby tameable creatures |
aggravate | aggravate | Aggravate neutral creatures within 20m |
players | players [number] | Set difficulty scaling (0 = reset) |
removedrops | removedrops | Remove nearby item drops |
removebirds | removebirds | Remove all birds |
removefish | removefish | Remove all fish |
Skills and Status
| Command | Syntax | Description |
|---|---|---|
raiseskill | raiseskill [skill] [amount] | Increase a skill level (use "All" for all skills) |
resetskill | resetskill [skill] | Reset a skill to 0 (use "All" for all) |
resetcharacter | resetcharacter | Reset all character data |
addstatus | addstatus [name] | Add a status effect |
clearstatus | clearstatus | Remove all status effects |
setpower | setpower [name] | Set Forsaken power and reset cooldown |
Forsaken power names: GP_Eikthyr, GP_TheElder, GP_Bonemass, GP_Moder, GP_Yagluth, GP_Queen, GP_Fader
Time and Weather
| Command | Syntax | Description |
|---|---|---|
tod | tod [0-1] | Set time of day (0/1 = midnight, 0.5 = noon, -1 = revert) |
skiptime | skiptime [seconds] | Skip forward in time (default 240) |
sleep | sleep | Advance one full game day |
timescale | timescale [speed] | Set time speed (max 5, 0 = pause) |
env | env [name] | Set weather/environment |
resetenv | resetenv | Reset weather to default |
wind | wind [angle] [intensity] | Set wind (angle 0-360, intensity 0-1) |
resetwind | resetwind | Reset wind to default |
Weather names: Clear, LightRain, Rain, ThunderStorm, Snow, SnowStorm, SwampRain, Misty, Ashrain, Darklands_dark, DeepForest Mist
Events
| Command | Syntax | Description |
|---|---|---|
event | event [name] | Start a named event |
randomevent | randomevent | Start a random event |
stopevent | stopevent | Stop the current event |
Event names:
| Event ID | Message |
|---|---|
army_eikthyr | "Eikthyr rallies the creatures of the forest" |
army_theelder | "The forest is moving..." |
army_bonemass | "A foul smell from the swamp" |
army_moder | "A cold wind blows from the mountains" |
army_goblin | "The horde is attacking" |
army_gjall | "What's up, Gjall!?" |
army_seekers | "They sought you out" |
foresttrolls | "The ground is shaking" |
blobs | "A foul smell from the swamp" |
skeletons | "Skeleton Surprise" |
surtlings | "There's a smell of sulfur in the air" |
wolves | "You are being hunted" |
bats | "You stirred the cauldron" |
World and Map
| Command | Syntax | Description |
|---|---|---|
exploremap | exploremap | Reveal the entire map |
resetmap | resetmap | Re-cover the map with fog |
find | find [text] | Find and pin matching objects on map |
genloc | genloc | Regenerate unplaced world locations |
forcedelete | forcedelete [radius] | Remove objects within radius (max 50m) |
Appearance
| Command | Syntax | Description |
|---|---|---|
beard | beard [number] | Change beard (omit number to remove) |
hair | hair [number] | Change hair (omit number to remove) |
model | model [0/1] | Switch body type (0 = masculine, 1 = feminine) |
Related Guides
See also: Adding Admins | Enable Dev Commands | Spawn Items | Ban and Kick Players | World Modifiers
If you need help, join our Discord.
How is this guide?

How to Connect to Your Valheim Server
Learn how to find your server IP and connect to your Valheim dedicated server using the in-game browser or Steam.
How to Enable Crossplay on Your Valheim Server
Learn how to enable crossplay on your Valheim server to allow Xbox, Game Pass, and Epic Games players to join.