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.- Open the console by pressing F5 in-game
- Type
imacheaterand press Enter to enable admin/debug mode - You’ll see “Cheats: True” appear on screen confirming admin mode is active
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,BlackMetalLeatherScraps,DeerHide,TrollHide,WolfPelt,LinenThread
Honey,Mushroom,Carrot,Turnip,Barley,FlaxCookedMeat,Sausages,FishCooked,Bread
Hammer,Axe,Pickaxe,Hoe,CultivatorSwordIron,SpearFlint,BowHuntsman,ShieldWood
Creature and NPC Commands
Spawning Creatures
Common Creature Names
Enemies:Greyling,Greydwarf,GreydwarfBrute,GreydwarfShamanSkeleton,Draugr,DraugrElite,Blob,OozerTroll,Surtling,Wraith,StoneGolem
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
Commands not working or 'Unknown command' error
Commands not working or 'Unknown command' error
Issue: Admin mode not enabled or incorrect command syntax
- Solution: Ensure you’ve typed
imacheaterfirst to enable admin mode - Check: Verify “Cheats: True” appears on screen after enabling admin mode
- Syntax: Double-check command spelling and parameter format
Can't kick or ban players
Can't kick or ban players
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
playerscommand to see correct player names
Spawned items not appearing
Spawned items not appearing
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
Weather or time commands not working
Weather or time commands not working
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
Building commands causing issues
Building commands causing issues
Issue: Creative mode conflicts with normal gameplay
- Solution: Use
debugmodeto toggle creative building on/off - Resources: Remember that
debugmoderemoves resource requirements - Multiplayer: Creative mode affects all players on the server
Performance issues after using commands
Performance issues after using commands
Issue: Too many spawned entities or items affecting server performance
- Solution: Use
killallandremovedropsto clean up excess entities - Moderation: Avoid spawning excessive quantities of creatures or items
- Restart: Consider server restart if performance issues persist
Related Guides
- Setup Valheim Server - Initial server configuration and installation
- Join Your Valheim Server - Connect to your server and start playing
- Installing BepInEx Mods - Enhance gameplay with modifications
- Popular Viking Mods - Discover the best Valheim mods
- Control Panel Overview - Understanding your server management interface