MARCH SALE-10% OFFwithWELCOME10

Valheim Valheim Updated Dec 8, 2025

How to Use Dev Commands on Your Valheim Server

Learn how to enable cheat and developer commands on your Valheim dedicated server using the Server Devcommands mod.

By default, Valheim's developer commands (cheats) only work in singleplayer or when hosting a world locally. To use commands like god, ghost, spawn, and fly on a dedicated server, you need to install the Server Devcommands mod.

Requirements

To enable dev commands on your server, you'll need:

Installing the Server Devcommands Mod

  1. Open r2modman on your PC and select your Valheim profile.
  2. Click the Online tab in the left sidebar. Navigating to the online tab in r2modman
  3. Search for Server_devcommands by JereKuusela. Searching for Server Devcommands mod in r2modman
  4. Click Download and then Download with dependencies. Downloading the Server Devcommands mod in r2modman
  5. Upload the mod to your server following our guide on How to Install BepInEx Mods on Your Valheim Server.

The mod must be installed on both your client and the server for full functionality. Some commands like event and stopevent require server-side installation.

Using Dev Commands

Once the mod is installed and you're logged in as an admin, dev commands are automatically enabled. Press F5 to open the console and enter any command.

Unlike vanilla Valheim, you don't need to type devcommands first, the mod enables them automatically when it detects admin privileges.

Available Dev Commands

Movement and Survival

CommandDescription
godToggles invincibility, removes stamina drain and knockback
ghostMakes you invisible to enemies and other players
flyEnables free flight (Spacebar to rise, Ctrl to descend)
nocostBuild and craft without resources or workbenches
healFully restores health, stamina, and eitr
pukeResets hunger and removes food buffs

Teleportation

CommandDescription
goto [x] [z]Teleports to world coordinates
goto [player]Teleports to another player
posDisplays your current coordinates
exploremapReveals the entire map
resetmapHides the entire map

Spawning

CommandDescription
spawn [item] [amount] [level]Spawns items or creatures
itemset [name]Spawns a preconfigured gear loadout
location [name]Spawns a structure or point of interest
removedropsRemoves all dropped items nearby

World and Events

CommandDescription
event [name]Starts a specific raid event
stopeventStops the current event
randomeventTriggers a random event
skiptime [seconds]Fast forwards time
sleepSkips to the next morning
env [type]Sets the weather
resetenvResets weather to default

Combat and Creatures

CommandDescription
killallKills all nearby enemies
tameTames all nearby creatures
players [count]Sets difficulty scaling (0 = actual player count)

Character Skills

CommandDescription
raiseskill [skill] [amount]Increases a skill level
resetskill [skill]Resets a skill to 0
resetcharacterResets all skills and clears inventory

Dev commands can significantly alter gameplay and cause unintended issues. Use them responsibly, especially on servers with other players.

Additional Features

The Server Devcommands mod includes several enhancements over vanilla commands:

  • Autocomplete - Commands autocomplete in the console and chat
  • Multiple commands - Run several commands at once by separating them with semicolons
  • Enhanced modes - God mode removes stamina usage and knockback, ghost mode hides you from other players
  • Auto-enable options - Configure modes to activate automatically when you log in

For a complete command reference including spawn IDs and event names, see our guide on All Valheim Admin Commands.

You can now use dev commands on your Valheim dedicated server. The Server Devcommands mod gives admins powerful tools for testing, building, and managing the game world.

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