Valheim Admin Commands
This guide will show you how to enable your client console and the possible commands or cheats that you can use.
๐ How to Enable the Console on Your Valheim Client ๐
To be able to use any commands in Valheim, you first need to enable the client console by following the next steps:
- Open your Steam client and go to your library.
- Find Valheim, click on it, then on the gear icon, and then on
Properties
.
- Click on
General
, then find theLaunch Options
field.
- Add
-console
in the field.
Now that you've enabled the console in your Valheim client, you can use commands.
๐ Valheim Useful Commands ๐
Some commands require you to be an admin on the server to be able to use them. Also, other commands will require your server to have cheats enabled.
๐ Player Commands
These commands can be used by any player (admin or not) on a Valhleim server, as they affect only the player executing the command. Also, they do not require cheats to be enabled.
Emote Commands | Effect |
---|---|
| Sit emotion. |
| Thumbs up emotion. |
| Challenge emotion. |
| Cheer emotion. |
| Nonono emotion. |
| Wave emotion. |
| Will point emotion. |
Chat Commands | Effect |
---|---|
| Will whisper a chat message to a player. |
| Will say a chat message. |
| Will shout a chat message. |
Other Commands | Effect |
---|---|
| Will show a list of available commands. |
| Will clear the console window. |
| Will change the field of view value. |
| Will print the current system information. |
| Will set the draw distance for the server. The number can be set from 1 to 5. |
| Will toggle map visibility. |
| Will toggle the noportals global key. |
| Will convert all the old terrain modifications in the nearby area to the new system. |
| Will ping the server for latency mesurements. |
| Will show the current custom command binds. |
| Will show the seeds and positions of nearby dungeons. |
| Will removes all custom commands binds. |
| Will remove shared map data from cartography table. |
| Will resets the spawn location. |
| Will kill the character. |
| Will restarts the playfab party network. |
| Will reset viewed tutorial messages. |
| Will toggle whether the tutorials are shown. |
๐ Server Admin Commands
These commands can be used on any Valheim server only by admin players. Also, they do not require your server to have cheats enabled.
Command | Effect |
---|---|
| Will ban the user. |
| Will shows a list of all banned user. |
| Will kick the user. |
| Will force the game to save. |
| Will unban the user. |
๐ Cheat Commands
These commands can be used on a server only if you are an admin and if cheats are enabled.
devcommands
into the console and press Enter
. After that, you can use any cheat command.God Mode Cheats | Effect |
---|---|
| Will toggle the ghost mode (enemies ignore you). |
| Will toggle the fly mode. |
| Will toggle the free camera. |
| Will spawn the specified entity (see ItemIDs for a list of spawnable entities). |
| Will enable the god mode. |
| Will spawn a location instance. Permanently disables saving. Adding |
Characters Cheats | Effect |
---|---|
| Will heal you to full Health. |
| Will reset the fullness/hunger, returning you to default health or stamina. |
| Will raise (or lower) the named skill by the value entered. |
| Will reset all of your character data. |
| Will set the current Forsaken power and resets the cooldown (GP_Eikthyr, GP_TheElder, etc). |
| Will permanently change your beard. Entering this command without an argument removes your beard. |
| Will permanently change your hair. Entering this command without an argument removes your hair. |
| Will switch the character model from masculine to feminine. |
| Will add a status effect (Rested, Burning, SoftDeath, Wet, etc). |
| Will remove any status effects (good and bad). |
Entities Cheats | Effect |
---|---|
| Will kill nearby enemies and tamed creatures. |
| Will kill nearby enemies. |
| Will kill nearby tamed creatures. |
| Will show the counts and levels of active creatures. |
| Will remove all active birds. |
| Will tame all nearby Creatures. |
| Will remove all items drops in the area (same as in the debug mode). |
| Will remove all active fish. |
Teleporting Cheats | Effect |
---|---|
| Will show player coordinates. |
| Will teleport the player to the specified coordinates. |
| Will teleport all players matching the name to your position. Without name, teleports all players. |
World Cheats | Effect |
---|---|
| Will reveal the entire map. |
| Will hide the entire map. |
| Will redistribute all unplaced locations. |
| Will find matching objects and ping them on the map. Pingmax defaults to 1; if greater, it will place pins on the map instead. |
| Will remove objects within the given radius (up to 50 meters). |
| Will adjust the direction and intensity of the wind. |
| Will reset the wind angle and intensity. |
| Will print the loaded locations and their distances and offsets to the player. |
Time Cheats | Effect |
---|---|
| Will show the current time and whether sleeping is possible. |
| Will set the speed of time. Up to 3x speed. Fadetime sets the transition duration. |
| Will set time of day. 0 and 1 are both midnight. 0.5 is noon. -1 revert to default. |
| Skips forward one day. |
| Will skip forward, changing the day number and time of day. |
Events Cheats | Effect |
---|---|
| Will start the named event. |
| Will stop the current event. |
| Will start a random event. |
Other Cheats | Effect |
---|---|
| Will toggle the no cost mode (same as in the debug mode). |
| Will aggravate neutrals within 20 meters. |
| Will toggle dps debug print on and off. |
| Will set the debug environment. |
| Will show the garbage collection information. |
| Will pawn a premade item set. Without 'keep' flag, current items will be dropped. |
| Will list all global keys. |
| Will force the next dungeon to a seed (regenerates it). Permanently disables saving. |
| Will adjust the difficulty scale. Enter 0 to reset the difficulty. |
| Will remove a global key. |
| Will remove all global keys. [name] parameter doesn't do anything. |
| Will set specified skill level to 0. |
| Will add a global key. |
๐ฎ Debug Mode ๐ฎ
The debug mode is another useful tool you can use on your Valheim server. It is like a creative mode. You can enable flying and build as you wish without the need for any resources or a workbench.
To enable the debug mode, you just need to go to your console and type the following command: debugmode
After enabling the debug mode, you can use the following keys:
B
- Will let you build as you wish without the need for resources or a workbench.K
- Will kill all enemies nearby. Tamed creatures will not be killed.L
- Will remove drops nearby.Z
- Will enable flying. The Spacebar and the Ctrl key will make you gain or lose altitude.
โ Useful Links โ
- How to Reset Your Billing Area password
- How to Join Your ARK Game Server
- Getting Started - How to Access Your Valheim Server and Control Panel
Updated on: 04/21/2023
Thank you!