{"id":12887,"date":"2023-04-21T10:19:42","date_gmt":"2023-04-21T10:19:42","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/valheim-admin-commands\/"},"modified":"2023-04-21T10:19:42","modified_gmt":"2023-04-21T10:19:42","slug":"valheim-admin-commands","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/valheim-admin-commands\/","title":{"rendered":"Valheim Admin Commands"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>This guide will show you how to enable your client console and the possible commands or cheats that you can use.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">If you&#8217;ve just purchased your Valheim server, <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/getting-started-how-to-access-and-use-your-multicraft-panel\/\">here<\/a> is our guide for getting started and accessing your server control panel.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Enable the Console on Your Valheim Client  <\/h1>\n\n\n\n<p>To be able to use any commands in Valheim, you first need to enable the client console by following the next steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your Steam client and go to your library.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Find Valheim, click on it, then on the gear icon, and then on <code>Properties<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/4_1wrlt5w.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Click on <code>General<\/code>, then find the <code>Launch Options<\/code> field.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/3_xhscjr.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Add <code>-console<\/code> in the field.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/2_efleit.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now that you&#8217;ve enabled the console in your Valheim client, you can use commands.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  Valheim Useful Commands  <\/h1>\n\n\n\n<p>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.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Player Commands<\/h2>\n\n\n\n<p>These commands can be used by any player <strong>(admin or not)<\/strong> on a Valhleim server, as they affect only the player executing the command. Also, they do not require cheats to be enabled.<\/p>\n\n\n\n<p>Emote Commands | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/sit<\/code> | Sit emotion. |<br>\n| <code>\/thumbsup<\/code> | Thumbs up emotion. |<br>\n| <code>\/challenge<\/code> | Challenge emotion. |<br>\n| <code>\/cheer<\/code> | Cheer emotion. |<br>\n| <code>\/nonono<\/code> | Nonono emotion. |<br>\n| <code>\/wave<\/code> | Wave emotion. |<br>\n| <code>\/point<\/code> | Will point emotion. |<\/p>\n\n\n\n<p>Chat Commands | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/W [user]<\/code> | Will whisper a chat message to a player. |<br>\n| <code>\/say<\/code> | Will say a chat message. |<br>\n| <code>\/s<\/code> | Will shout a chat message. |<\/p>\n\n\n\n<p>Other Commands | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/help<\/code> | Will show a list of available commands. |<br>\n| <code>\/clear<\/code> | Will clear the console window. |<br>\n| <code>\/fov [number]<\/code> | Will change the field of view value. |<br>\n| <code>\/info<\/code> | Will print the current system information. |<br>\n| <code>\/lodbias [number]<\/code> | Will set the draw distance for the server. The number can be set from 1 to 5. |<br>\n| <code>\/nomap<\/code> | Will toggle map visibility. |<br>\n| <code>\/noportals<\/code> | Will toggle the noportals global key. |<br>\n| <code>\/optterrain<\/code> | Will convert all the old terrain modifications in the nearby area to the new system. |<br>\n| <code>\/ping<\/code> | Will ping the server for latency mesurements. |<br>\n| <code>\/printbinds<\/code> | Will show the current custom command binds. |<br>\n| <code>\/printseeds<\/code> | Will show the seeds and positions of nearby dungeons. |<br>\n| <code>\/resetbinds<\/code> | Will removes all custom commands binds. |<br>\n| <code>\/resetsharedmap<\/code> | Will remove shared map data from cartography table. |<br>\n| <code>\/resetspawn<\/code> | Will&nbsp;resets the spawn location. |<br>\n| <code>\/respawn<\/code> | Will kill the character. |<br>\n| <code>\/restartparty<\/code> | Will restarts the playfab party network. |<br>\n| <code>\/tutorialreset<\/code> | Will reset viewed tutorial messages. |<br>\n| <code>\/tutorialtoggle<\/code> | Will toggle whether the tutorials are shown. |<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Server Admin Commands<\/h2>\n\n\n\n<p>These commands can be used on any Valheim server only by admin players. Also, they do not require your server to have cheats enabled.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Here is our guide for adding admins to your Valheim server.<\/p>\n\n\n\n<p>Command | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/ban [name\/ip\/userID]<\/code> | Will ban the user. |<br>\n| <code>\/banned<\/code> | Will shows a list of all banned user. |<br>\n| <code>\/kick [name\/ip\/userID]<\/code> | Will kick the user. |<br>\n| <code>\/save<\/code> | Will force the game to save. |<br>\n| <code>\/unban [name\/ip\/userID]<\/code> | Will unban the user. |<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Cheat Commands<\/h2>\n\n\n\n<p>These commands can be used on a server only if you are an admin and if <strong>cheats are enabled.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: To enable cheats in Valheim, type <code>devcommands<\/code> into the console and press <code>Enter<\/code>. After that, you can use any cheat command.<\/p>\n\n\n\n<p>God Mode Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/ghost<\/code> | Will toggle the ghost mode (enemies ignore you). |<br>\n| <code>\/fly<\/code> | Will toggle the fly mode. |<br>\n| <code>\/freefly<\/code> | Will toggle the free camera. |<br>\n| <code>\/spawn [entity name] [amount] [level]<\/code> | Will spawn the specified entity (see <a href=\"https:\/\/valheim.fandom.com\/wiki\/Item_IDs\">ItemIDs<\/a> for a list of spawnable entities). |<br>\n| <code>\/god<\/code> | Will enable the god mode. |<br>\n| <code>\/location [name]<\/code> | Will spawn a location instance. Permanently disables saving. Adding <code>SAVE<\/code> at the end of the command will not disable saving. |<\/p>\n\n\n\n<p>Characters Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/heal<\/code> | Will heal you to full Health. |<br>\n| <code>\/puke<\/code> | Will reset the fullness\/hunger, returning you to default health or stamina. |<br>\n| <code>\/raiseskill [skill] [amount]<\/code> | Will raise (or lower) the named skill by the value entered. |<br>\n| <code>\/resetcharacter<\/code> | Will reset all of your character data. |<br>\n| <code>\/setpower [name]<\/code> | Will set the current Forsaken power and resets the cooldown (GP_Eikthyr, GP_TheElder, etc). |<br>\n| <code>\/beard [beard#]<\/code> | Will permanently change your beard. Entering this command without an argument removes your beard. |<br>\n| <code>\/hair [hair#]<\/code> | Will permanently change your hair. Entering this command without an argument removes your hair. |<br>\n| <code>\/model [0-1]<\/code> | Will switch the character model from masculine to feminine. |<br>\n| <code>\/addstatus [name]<\/code> | Will add a status effect (Rested, Burning, SoftDeath, Wet, etc). |<br>\n| <code>\/clearstatus<\/code> | Will remove any status effects (good and bad). |<\/p>\n\n\n\n<p>Entities Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/killall<\/code> | Will kill nearby enemies and tamed creatures. |<br>\n| <code>\/killenemies<\/code> | Will kill nearby enemies. |<br>\n| <code>\/killtame<\/code> | Will kill nearby tamed creatures. |<br>\n| <code>\/printcreatures<\/code> | Will show the counts and levels of active creatures. |<br>\n| <code>\/removebirds<\/code> | Will remove all active birds. |<br>\n| <code>\/tame<\/code> | Will tame all nearby Creatures. |<br>\n| <code>\/removedrops<\/code> | Will remove all items drops in the area (same as in the debug mode). |<br>\n| <code>\/removefish<\/code> | Will remove all active fish. |<\/p>\n\n\n\n<p>Teleporting Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/pos<\/code> | Will show player coordinates. |<br>\n| <code>\/goto [x] [z]<\/code> | Will teleport the player to the specified coordinates. |<br>\n| <code>\/recall [name]<\/code> | Will teleport all players matching the name to your position. Without name, teleports all players. |<\/p>\n\n\n\n<p>World Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/exploremap<\/code> | Will reveal the entire map. |<br>\n| <code>\/resetmap<\/code> | Will hide the entire map. |<br>\n| <code>\/genloc<\/code> | Will redistribute all unplaced locations. |<br>\n| <code>\/find [text] [pingmax]<\/code> | Will find matching objects and ping them on the map. Pingmax defaults to 1; if greater, it will place pins on the map instead. |<br>\n| <code>\/forcedelete [radius] [name]<\/code> | Will remove objects within the given radius (up to 50 meters). |<br>\n| <code>\/wind [angle] [intensity]<\/code> | Will adjust the direction and intensity of the wind. |<br>\n| <code>\/resetwind<\/code> | Will reset the wind angle and intensity. |<br>\n| <code>\/printlocations<\/code> | Will print the loaded locations and their distances and offsets to the player. |<\/p>\n\n\n\n<p>Time Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/time<\/code> | Will show the current time and whether sleeping is possible. |<br>\n| <code>\/timescale [target = 1] [fadetime = 0]<\/code> | Will set the speed of time. Up to 3x speed. Fadetime sets the transition duration. |<br>\n| <code>\/tod [0-1]<\/code> | Will set time of day. 0 and 1 are both midnight. 0.5 is noon. -1 revert to default. |<br>\n| <code>\/sleep<\/code> | Skips forward one day. |<br>\n| <code>\/skiptime [seconds = 240]<\/code> | Will skip forward, changing the day number and time of day. |<\/p>\n\n\n\n<p>Events Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/event [name]<\/code> | Will start the named event. |<br>\n| <code>\/stopevent<\/code> | Will stop the current event. |<br>\n| <code>\/randomevent<\/code> | Will start a random event. |<\/p>\n\n\n\n<p>Other Cheats | Effect |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| <code>\/nocost<\/code> | Will toggle the no cost mode (same as in the debug mode). |<br>\n| <code>\/aggravate<\/code> | Will aggravate neutrals within 20 meters. |<br>\n| <code>\/dpsdebug<\/code> | Will toggle dps debug print on and off. |<br>\n| <code>\/env [env]<\/code> | Will set the debug environment. |<br>\n| <code>\/gc<\/code> | Will show the garbage collection information. |<br>\n| <code>\/itemset [name] [keep]<\/code> | Will pawn a premade item set. Without &#8216;keep&#8217; flag, current items will be dropped. |<br>\n| <code>\/listkeys<\/code> | Will list all global keys. |<br>\n| <code>\/nextseed<\/code> | Will force the next dungeon to a seed (regenerates it). Permanently disables saving. |<br>\n| <code>\/players [number]<\/code> | Will adjust the difficulty scale. Enter 0 to reset the difficulty. |<br>\n| <code>\/removekey [name]<\/code> | Will remove a global key. |<br>\n| <code>\/resetkeys [name]<\/code> | Will remove all global keys. [name] parameter doesn&#8217;t do anything. |<br>\n| <code>\/resetskill [skill]<\/code> | Will set specified skill level to 0. |<br>\n| <code>\/setkey [name]<\/code> | Will add a global key. |<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  Debug Mode  <\/h1>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>To enable the debug mode, you just need to go to your console and type the following command: <code>debugmode<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>After enabling the debug mode, you can use the following keys:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>B<\/code> &#8211; Will let you build as you wish without the need for resources or a workbench.<\/li>\n\n\n\n<li><code>K<\/code> &#8211; Will kill all enemies nearby. Tamed creatures will not be killed.<\/li>\n\n\n\n<li><code>L<\/code> &#8211; Will remove drops nearby.<\/li>\n\n\n\n<li><code>Z<\/code> &#8211; Will enable flying. The Spacebar and the Ctrl key will make you gain or lose altitude.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>If you find any issues, contact us on live chat or via the <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">ticket system<\/a>.\n<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755 Useful Links \u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-reset-your-billing-area-password\/\">How to Reset Your Billing Area password<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/getting-started-how-to-access-your-ark-server-and-control-panel\/\">How to Join Your ARK Game Server<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/getting-started-how-to-access-your-valheim-server-and-control-panel\/\">Getting Started &#8211; How to Access Your Valheim Server and Control Panel<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This guide will show you how to enable your client console and the possible commands or cheats that you can use.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[36],"ht-kb-tag":[],"class_list":["post-12887","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-gameservers"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12887"}],"version-history":[{"count":0,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12887\/revisions"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12887"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12887"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}