Cheat commands don’t work on dedicated Valheim servers by default. This is a limitation built into the game, not something controlled by your Valheim server provider. However, there are workarounds to enable them. In this article, we’ll explain what cheat commands are, how to turn them on for your dedicated server, and which mods you can use to make it happen.

What Are Cheats and Commands in Valheim?
Cheats and commands in Valheim are instructions you can enter into the game’s console to trigger various effects. These can range from spawning items and teleporting to changing the weather or making your character invincible.
How to Enable Commands on Dedicated Servers
By default, cheat commands are not allowed on dedicated servers. However, modding tools have made it possible to get this functionality. Here are the most reliable options:
Server Devcommands
- Install the mod on both your server and your local client.
- It restores most of the developer commands functionality and adds server specific permissions.
Read more about Server devcommands over at Nexusmods here
SKToolbox
Adds extra commands and admin tools you can use on your game, but only works if installed on your PC (client-side).
Read more here about SKToolbox over at Nexusmods here
Valheim Plus
Improves gameplay and lets you enable cheats like god mode through server settings.
Read more about Valheim Plus over at Nexusmods here
Popular Valheim Commands and What They Do
Once your mods are set up, here’s a list of popular commands you can use:
Command | Effect |
---|---|
god | Toggles god mode (invincibility). |
ghost | Enemies ignore you. |
spawn [item] [amount] | Spawns specified item in the chosen quantity. |
pos | Displays your current world position coordinates. |
goto [x] [y] [z] | Teleports you to specific world coordinates. |
freefly | Enables free camera movement for screenshots or exploration. |
env [weather] | Changes the current in-game weather (e.g., Clear, Rain). |
resetcharacter | Resets your character data (clears inventory and stats). |
Devcommands support all except resetcharacter
.
SKToolbox supports all listed commands.
Valheim Plus supports only some of the listed commands, mainly via config, and depends on devcommands for spawning.
Frequently Asked Questions (FAQ)
Q: Do I need admin rights to use commands on a dedicated server?
A: Yes! On dedicated servers, only admins or players with permission can use devcommands and mod commands.
Q: Does changing weather with commands affect gameplay?
A: Yes! Changing weather can impact things like visibility, enemy behavior, and farming, so it’s more than just a visual effect.
Q: Are there any risks to enabling freefly or teleport commands?
A: Sometimes teleporting into bad spots (like underground or inside objects) can cause glitches or get you stuck. Always teleport carefully.
Q: Does using freefly let me pass through walls and objects?
A: No, freefly just lets you move the camera freely. You can see through walls but your character can’t walk through them.