SUMMER SALE-30% OFFwithSUMMER30

Valheim Valheim Updated Jun 19, 2026

All Valheim Admin Commands

A complete reference guide to all Valheim console commands for server admins, including player management, cheats, and debugging tools.

This guide provides a complete list of all console commands available in Valheim. Commands are organized by category for easy reference.

To use console commands, you must have the console enabled and be an admin on the server. See our guides on How to Enable the Console in Valheim and How to Add an Admin to Your Valheim Server.

Player Management Commands

These commands are available to server admins for managing players.

Command Description Example
kick <player> Kicks a player from the server by name or Steam ID kick Viking123
ban <player> Bans a player from the server by name or Steam ID ban 76561198012345678
unban <steamid> Removes a player from the ban list unban 76561198012345678
banned Displays a list of all banned players banned
ping Shows your current latency to the server ping
info Displays system information info
lodbias <value> Sets the draw distance (0-5, default 1.5) lodbias 3

Cheat Commands

These commands require cheats to be enabled with devcommands first.

Cheat commands can significantly alter gameplay and may cause unintended issues. Use with caution, especially on multiplayer servers.

Command Description Example
devcommands Toggles cheat mode on/off (required for commands below) devcommands
god Toggles god mode (invincibility) god
ghost Toggles ghost mode (enemies ignore you) ghost
freefly Toggles free camera flight mode freefly
debugmode Enables creative mode (Z = fly, K = kill nearby, B = no build cost) debugmode
pos Displays your current coordinates pos
goto <x> <y> <z> Teleports to specified coordinates goto 0 100 0
exploremap Reveals the entire map exploremap
resetmap Hides the entire map (fog of war) resetmap
killall Kills all nearby enemies killall
tame Tames all nearby tameable creatures tame
heal Fully heals your character heal
puke Resets hunger and clears food buffs puke
raiseskill <skill> <amount> Increases a skill by the specified amount raiseskill run 50
resetskill <skill> Resets a specific skill to 0 resetskill run
resetcharacter Resets all character skills and inventory resetcharacter
dpsdebug Toggles DPS debug overlay dpsdebug
players <count> Sets difficulty scaling for player count (0 = actual count) players 3

Spawn Commands

These commands spawn items and creatures. Requires devcommands to be enabled.

Command Description Example
spawn <prefab> <amount> <level> Spawns an item or creature spawn Deer 1 2
location <name> Spawns a location/structure location Vendor_BlackForest
removedrops Removes all item drops in the area removedrops

Prefab names are case-sensitive. For a full list of spawn IDs, check the Valheim Wiki.

Character Customization Commands

These commands modify your character's appearance. Requires devcommands to be enabled.

Command Description Example
hair <name> Changes your hairstyle hair Hair4
beard <name> Changes your beard style beard Beard5
model <0/1> Changes character model (0 = male, 1 = female) model 1

World and Event Commands

These commands affect the world state and events. Requires devcommands to be enabled.

Command Description Example
skiptime <seconds> Fast forwards time skiptime 240
sleep Skips to the next morning sleep
event <name> Starts a specific event event army_theelder
stopevent Stops the current event stopevent
randomevent Triggers a random event randomevent
save Forces a world save save
setkey <key> Sets a global key (boss progression) setkey defeated_eikthyr
resetkeys <key> Removes a global key resetkeys defeated_eikthyr
listkeys Shows all active global keys listkeys

Environment Commands

These commands control weather and environment. Requires devcommands to be enabled.

Command Description Example
env <environment> Sets weather/environment env Clear
resetenv Resets to default weather resetenv
wind <angle> <intensity> Sets wind direction and strength wind 90 0.5
resetwind Resets wind to default resetwind
tod <value> Sets time of day (0-1, -1 = default) tod 0.5

Environment Types

Valid values for the env command:

Environment Description
Clear Clear skies
Twilight_Clear Clear twilight
Misty Misty weather
Darklands_dark Dark ashlands weather
Heath clear Clear meadows
DeepForest Mist Foggy forest
GDKing Elder boss weather
Rain Rainy weather
LightRain Light rain
ThunderStorm Thunderstorm
Eikthyr Eikthyr boss weather
GoblinKing Yagluth boss weather
nofogts No fog thunderstorm
SwampRain Swamp rain
Bonemass Bonemass boss weather
Snow Snow weather
Twilight_Snow Snowy twilight
Twilight_SnowStorm Snow storm twilight
SnowStorm Heavy snow storm
Moder Moder boss weather
Ashrain Ashlands rain
Crypt Dungeon atmosphere
SunkenCrypt Sunken crypt atmosphere

Global Keys Reference

Global keys track boss progression and world state. Use with setkey, resetkeys, and listkeys.

Key Description
defeated_eikthyr Eikthyr has been defeated
defeated_gdking The Elder has been defeated
defeated_bonemass Bonemass has been defeated
defeated_dragon Moder has been defeated
defeated_goblinking Yagluth has been defeated
defeated_queen The Queen has been defeated
KilledTroll A troll has been killed
killed_surtling A surtling has been killed

Skill Names Reference

Use these skill names with raiseskill and resetskill commands.

Skill Description
swords Sword combat
knives Knife combat
clubs Club combat
polearms Polearm combat
spears Spear combat
blocking Shield blocking
axes Axe combat and woodcutting
bows Bow combat
unarmed Unarmed combat
pickaxes Mining
woodcutting Chopping trees
crossbows Crossbow combat
jump Jumping
sneak Sneaking
run Running stamina
swim Swimming stamina
fishing Fishing
ride Riding Lox

This reference covers all major Valheim console commands. For additional commands or updates, check the official Valheim patch notes or community wiki.

Continue Learning

Browse all Valheim tutorials Explore our library of guides and tutorials
Get 10% off your first month Looking for a Valheim server? Use code HELPCENTER at checkout.
Get Server
Got Questions?

Frequently Asked Questions

Everything you need to know about our game server hosting. Can't find what you're looking for? Contact our support team.

How do I set up my game server?

Setting up your game server is simple and fast. After choosing your plan, follow our user-friendly setup guide, and your server will be up and running in minutes. We offer one-click modpack installation, automatic backups, and 24/7 support to ensure a smooth setup experience.

What kind of support do you offer?

We provide 24/7 expert support through live chat, ticket system, and knowledge base. Our knowledgeable team responds within 5 minutes on average and has 10+ years of experience managing game servers. We offer setup assistance, troubleshooting, and ongoing maintenance support.

What hardware do you use for hosting?

We offer two hardware tiers across our global datacenters. Our budget tier features AMD EPYC 7551 processors, while our performance tier uses the latest AMD Ryzen 9 7950X and 7950X3D processors. All servers feature NVMe SSD storage, DDR5 RAM, and dedicated CPU cores. Our infrastructure provides 99.9% uptime with full DDoS protection and automatic failover systems.

Can I add mods and plugins to my server?

Yes! We offer support for all popular server types including Forge, Fabric, and Paper for Minecraft, as well as mods for Rust, Valheim, and other games. You can install mods, modpacks, or plugins directly from our control panel. If you have any issues, our support team can help with installation and configuration.

Can I upgrade my server plan later?

Yes, you can upgrade or downgrade your server plan at any time with zero downtime. Our flexible scaling allows you to adjust RAM and CPU as your needs grow. Upgrades take effect immediately, and we prorate any billing changes to ensure you only pay for what you use.

What is your refund policy?

We offer a 7-day money-back guarantee on all hosting plans. If you're not completely satisfied with our service, you can request a full refund within the first week, no questions asked. We also offer prorated refunds for early cancellations after the initial period.

Do you offer DDoS protection?

Yes, all our servers include enterprise-grade DDoS protection at no extra cost. Our network can handle attacks up to 1Tbps and automatically filters malicious traffic. We use multiple layers of protection including rate limiting, traffic analysis, and real-time threat detection to keep your server running smoothly.

How fast is server setup?

Our servers are set up in under 10 minutes on average. We use automated provisioning systems and pre-configured templates to ensure instant deployment. Once your payment is confirmed, your server is automatically created, configured, and ready to play. No waiting, no manual setup required.

What locations do you offer?

We have datacenters in North America (Texas, Virginia, Canada), Europe (London, Germany, France, Finland), and more locations coming soon. All locations feature low-latency connections, high-speed internet, and redundant power systems. You can choose the location closest to your players for the best performance.

Do you offer automatic backups?

Yes, we provide automatic daily backups with 7-day retention at no extra cost. Backups are stored in separate datacenters for security and can be restored with one click. We also offer manual backup creation and custom backup schedules for all plans.

Support Team

Looking for a server?

Or talk with

Our Team