NEW YEARSALE-10% OFFwithNEWYEAR

Valheim Valheim Updated Dec 7, 2025

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.

CommandDescriptionExample
kick <player>Kicks a player from the server by name or Steam IDkick Viking123
ban <player>Bans a player from the server by name or Steam IDban 76561198012345678
unban <steamid>Removes a player from the ban listunban 76561198012345678
bannedDisplays a list of all banned playersbanned
pingShows your current latency to the serverping
infoDisplays system informationinfo
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.

CommandDescriptionExample
devcommandsToggles cheat mode on/off (required for commands below)devcommands
godToggles god mode (invincibility)god
ghostToggles ghost mode (enemies ignore you)ghost
freeflyToggles free camera flight modefreefly
debugmodeEnables creative mode (Z = fly, K = kill nearby, B = no build cost)debugmode
posDisplays your current coordinatespos
goto <x> <y> <z>Teleports to specified coordinatesgoto 0 100 0
exploremapReveals the entire mapexploremap
resetmapHides the entire map (fog of war)resetmap
killallKills all nearby enemieskillall
tameTames all nearby tameable creaturestame
healFully heals your characterheal
pukeResets hunger and clears food buffspuke
raiseskill <skill> <amount>Increases a skill by the specified amountraiseskill run 50
resetskill <skill>Resets a specific skill to 0resetskill run
resetcharacterResets all character skills and inventoryresetcharacter
dpsdebugToggles DPS debug overlaydpsdebug
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.

CommandDescriptionExample
spawn <prefab> <amount> <level>Spawns an item or creaturespawn Deer 1 2
location <name>Spawns a location/structurelocation Vendor_BlackForest
removedropsRemoves all item drops in the arearemovedrops

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.

CommandDescriptionExample
hair <name>Changes your hairstylehair Hair4
beard <name>Changes your beard stylebeard 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.

CommandDescriptionExample
skiptime <seconds>Fast forwards timeskiptime 240
sleepSkips to the next morningsleep
event <name>Starts a specific eventevent army_theelder
stopeventStops the current eventstopevent
randomeventTriggers a random eventrandomevent
saveForces a world savesave
setkey <key>Sets a global key (boss progression)setkey defeated_eikthyr
resetkeys <key>Removes a global keyresetkeys defeated_eikthyr
listkeysShows all active global keyslistkeys

Environment Commands

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

CommandDescriptionExample
env <environment>Sets weather/environmentenv Clear
resetenvResets to default weatherresetenv
wind <angle> <intensity>Sets wind direction and strengthwind 90 0.5
resetwindResets wind to defaultresetwind
tod <value>Sets time of day (0-1, -1 = default)tod 0.5

Environment Types

Valid values for the env command:

EnvironmentDescription
ClearClear skies
Twilight_ClearClear twilight
MistyMisty weather
Darklands_darkDark ashlands weather
Heath clearClear meadows
DeepForest MistFoggy forest
GDKingElder boss weather
RainRainy weather
LightRainLight rain
ThunderStormThunderstorm
EikthyrEikthyr boss weather
GoblinKingYagluth boss weather
nofogtsNo fog thunderstorm
SwampRainSwamp rain
BonemassBonemass boss weather
SnowSnow weather
Twilight_SnowSnowy twilight
Twilight_SnowStormSnow storm twilight
SnowStormHeavy snow storm
ModerModer boss weather
AshrainAshlands rain
CryptDungeon atmosphere
SunkenCryptSunken crypt atmosphere

Global Keys Reference

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

KeyDescription
defeated_eikthyrEikthyr has been defeated
defeated_gdkingThe Elder has been defeated
defeated_bonemassBonemass has been defeated
defeated_dragonModer has been defeated
defeated_goblinkingYagluth has been defeated
defeated_queenThe Queen has been defeated
KilledTrollA troll has been killed
killed_surtlingA surtling has been killed

Skill Names Reference

Use these skill names with raiseskill and resetskill commands.

SkillDescription
swordsSword combat
knivesKnife combat
clubsClub combat
polearmsPolearm combat
spearsSpear combat
blockingShield blocking
axesAxe combat and woodcutting
bowsBow combat
unarmedUnarmed combat
pickaxesMining
woodcuttingChopping trees
crossbowsCrossbow combat
jumpJumping
sneakSneaking
runRunning stamina
swimSwimming stamina
fishingFishing
rideRiding 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