Skip to main content

Valheim Admin Commands

This guide covers all essential admin commands for managing your Valheim server, including player management, world control, and debugging tools.

Enabling Admin Mode

Before using admin commands, you must enable admin mode on your server.
  1. Open the console by pressing F5 in-game
  2. Type imacheater and press Enter to enable admin/debug mode
  3. You’ll see “Cheats: True” appear on screen confirming admin mode is active
Note: Admin privileges are automatically granted to the server host. For other players, you’ll need to add them to the admin list in your server files.

Player Management Commands

Basic Player Commands

Player Information

World Control Commands

Time and Weather

World Management

Item and Resource Commands

Spawning Items

Common Item Names

Resources:
  • Wood, Stone, FineWood, CoreWood, IronScrap, Silver, BlackMetal
  • LeatherScraps, DeerHide, TrollHide, WolfPelt, LinenThread
Food:
  • Honey, Mushroom, Carrot, Turnip, Barley, Flax
  • CookedMeat, Sausages, FishCooked, Bread
Tools and Weapons:
  • Hammer, Axe, Pickaxe, Hoe, Cultivator
  • SwordIron, SpearFlint, BowHuntsman, ShieldWood

Creature and NPC Commands

Spawning Creatures

Common Creature Names

Enemies:
  • Greyling, Greydwarf, GreydwarfBrute, GreydwarfShaman
  • Skeleton, Draugr, DraugrElite, Blob, Oozer
  • Troll, Surtling, Wraith, StoneGolem
Tameable Animals:
  • Boar, Wolf, Lox

Building and Creative Commands

Construction Tools

Building Management

Server Management Commands

Performance and Debugging

Network Commands

Common Use Cases and Examples

Setting Up a New Player

Hosting Events

Server Maintenance

Troubleshooting Player Issues

Troubleshooting Common Issues

Issue: Admin mode not enabled or incorrect command syntax
  • Solution: Ensure you’ve typed imacheater first to enable admin mode
  • Check: Verify “Cheats: True” appears on screen after enabling admin mode
  • Syntax: Double-check command spelling and parameter format
Issue: Insufficient admin privileges or incorrect player name
  • Solution: Ensure you’re the server host or added to admin list
  • Player names: Use exact player names (case-sensitive) or Steam IDs
  • Check: Use players command to see correct player names
Issue: Invalid item name or quantity too high
  • Solution: Check item name spelling and use reasonable quantities
  • Location: Ensure you have space in inventory or items will drop on ground
  • Limits: Some items have maximum stack limits
Issue: Incorrect weather name or time format
  • Solution: Use exact weather names from the list above
  • Time format: Use decimal values (0.0-1.0) for time of day
  • Persistence: Weather changes may take a moment to apply
Issue: Creative mode conflicts with normal gameplay
  • Solution: Use debugmode to toggle creative building on/off
  • Resources: Remember that debugmode removes resource requirements
  • Multiplayer: Creative mode affects all players on the server
Issue: Too many spawned entities or items affecting server performance
  • Solution: Use killall and removedrops to clean up excess entities
  • Moderation: Avoid spawning excessive quantities of creatures or items
  • Restart: Consider server restart if performance issues persist
Need help with server management? Join our Discord community or contact support for assistance.