Articles on: Game Servers

Valheim Admin Commands

This guide will show you how to enable your client console and the possible commands or cheats that you can use.

If you've just purchased your Valheim server, here is our guide for getting started and accessing your server control panel.

๐Ÿš€ 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 the Launch 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 CommandsEffect
/sitSit emotion.
/thumbsupThumbs up emotion.
/challengeChallenge emotion.
/cheerCheer emotion.
/nononoNonono emotion.
/waveWave emotion.
/pointWill point emotion.

Chat CommandsEffect
/W [user]Will whisper a chat message to a player.
/sayWill say a chat message.
/sWill shout a chat message.

Other CommandsEffect
/helpWill show a list of available commands.
/clearWill clear the console window.
/fov [number]Will change the field of view value.
/infoWill print the current system information.
/lodbias [number]Will set the draw distance for the server. The number can be set from 1 to 5.
/nomapWill toggle map visibility.
/noportalsWill toggle the noportals global key.
/optterrainWill convert all the old terrain modifications in the nearby area to the new system.
/pingWill ping the server for latency mesurements.
/printbindsWill show the current custom command binds.
/printseedsWill show the seeds and positions of nearby dungeons.
/resetbindsWill removes all custom commands binds.
/resetsharedmapWill remove shared map data from cartography table.
/resetspawnWillย resets the spawn location.
/respawnWill kill the character.
/restartpartyWill restarts the playfab party network.
/tutorialresetWill reset viewed tutorial messages.
/tutorialtoggleWill 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.

Here is our guide for adding admins to your Valheim server.

/ban [name/ip/userID]Will ban the user.
/bannedWill shows a list of all banned user.
/kick [name/ip/userID]Will kick the user.
/saveWill force the game to save.
/unban [name/ip/userID]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.

โš  NOTE โš : To enable cheats in Valheim, type devcommands into the console and press Enter. After that, you can use any cheat command.

God Mode CheatsEffect
/ghostWill toggle the ghost mode (enemies ignore you).
/flyWill toggle the fly mode.
/freeflyWill toggle the free camera.
/spawn [entity name] [amount] [level]Will spawn the specified entity (see ItemIDs for a list of spawnable entities).
/godWill enable the god mode.
/location [name]Will spawn a location instance. Permanently disables saving. Adding SAVE at the end of the command will not disable saving.

Characters CheatsEffect
/healWill heal you to full Health.
/pukeWill reset the fullness/hunger, returning you to default health or stamina.
/raiseskill [skill] [amount]Will raise (or lower) the named skill by the value entered.
/resetcharacterWill reset all of your character data.
/setpower [name]Will set the current Forsaken power and resets the cooldown (GP_Eikthyr, GP_TheElder, etc).
/beard [beard#]Will permanently change your beard. Entering this command without an argument removes your beard.
/hair [hair#]Will permanently change your hair. Entering this command without an argument removes your hair.
/model [0-1]Will switch the character model from masculine to feminine.
/addstatus [name]Will add a status effect (Rested, Burning, SoftDeath, Wet, etc).
/clearstatusWill remove any status effects (good and bad).

Entities CheatsEffect
/killallWill kill nearby enemies and tamed creatures.
/killenemiesWill kill nearby enemies.
/killtameWill kill nearby tamed creatures.
/printcreaturesWill show the counts and levels of active creatures.
/removebirdsWill remove all active birds.
/tameWill tame all nearby Creatures.
/removedropsWill remove all items drops in the area (same as in the debug mode).
/removefishWill remove all active fish.

Teleporting CheatsEffect
/posWill show player coordinates.
/goto [x] [z]Will teleport the player to the specified coordinates.
/recall [name]Will teleport all players matching the name to your position. Without name, teleports all players.

World CheatsEffect
/exploremapWill reveal the entire map.
/resetmapWill hide the entire map.
/genlocWill redistribute all unplaced locations.
/find [text] [pingmax]Will find matching objects and ping them on the map. Pingmax defaults to 1; if greater, it will place pins on the map instead.
/forcedelete [radius] [name]Will remove objects within the given radius (up to 50 meters).
/wind [angle] [intensity]Will adjust the direction and intensity of the wind.
/resetwindWill reset the wind angle and intensity.
/printlocationsWill print the loaded locations and their distances and offsets to the player.

Time CheatsEffect
/timeWill show the current time and whether sleeping is possible.
/timescale [target = 1] [fadetime = 0]Will set the speed of time. Up to 3x speed. Fadetime sets the transition duration.
/tod [0-1]Will set time of day. 0 and 1 are both midnight. 0.5 is noon. -1 revert to default.
/sleepSkips forward one day.
/skiptime [seconds = 240]Will skip forward, changing the day number and time of day.

Events CheatsEffect
/event [name]Will start the named event.
/stopeventWill stop the current event.
/randomeventWill start a random event.

Other CheatsEffect
/nocostWill toggle the no cost mode (same as in the debug mode).
/aggravateWill aggravate neutrals within 20 meters.
/dpsdebugWill toggle dps debug print on and off.
/env [env]Will set the debug environment.
/gcWill show the garbage collection information.
/itemset [name] [keep]Will pawn a premade item set. Without 'keep' flag, current items will be dropped.
/listkeysWill list all global keys.
/nextseedWill force the next dungeon to a seed (regenerates it). Permanently disables saving.
/players [number]Will adjust the difficulty scale. Enter 0 to reset the difficulty.
/removekey [name]Will remove a global key.
/resetkeys [name]Will remove all global keys. [name] parameter doesn't do anything.
/resetskill [skill]Will set specified skill level to 0.
/setkey [name]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.

If you find any issues, contact us on live chat or via the ticket system.

โ• 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

Was this article helpful?

Share your feedback


Thank you!