Valheim | Console Commands

  • 23
  • Print

    As of the 0.148.6 update, an extra step is required.

    As per the patch notes

    • Ingame console disabled by default (add launch argument "-console" to enable)
    •  The console command for enabling developer/debug commands has been changed to “devcommands” from “imacheater” and a warning message has been added.

    To add the launch argument do the following. 

    1. Open your Steam library. 
    2. Right-click Valheim and select Properties. 
    3. Click General on the left side of the window. 
    4. Enter "-console", without the " " in the box under Launch Options. 
    5. Close that window and launch the game. 

    Press the F5 key to open the console window.


    Player Commands

    Command

    Description

    help

    Returns a list of available server commands.

    info

    Returns the current system information.

    ping

    Returns the ping latency to the server.


    Admin Commands

    In order to use these commands you will need to be setup as an in game admin: https://pingperfect.com/index.php/knowledgebase/807/Valheim--How-to-add-Admins.html

    Command

    Description

    ban [name/ip/userID]

    Bans the specified user.

    banned

    Returns a full list of banned users.

    kick [name/ip/userID]

    Kicks the specified user.

    lodbias [number]

    Sets the draw distance for the server. Accepted values range from 1 to 5.

    save

    Forces the game to save.

    unban [name/ip/userID]

    Unban the specified user.


    Cheat Commands

    Please note that the below commands will only work in a single player game.

    Command

    Description

    beard

    Permanently removes your beard.

    dpsdebug

    Toggles dps debug print on and off.

    env [env]

    Sets debug environment. Acceptable variables:

    -          Clear, Twilight_Clear, Misty, Darklands_dark, Heath clear, DeepForest Mist, GDKing, Rain, LightRain, ThunderStorm, Eikthyr, GoblinKing, nofogts, SwampRain, Bonemass, Snow, Twilight_Snow, Twilight_SnowStorm, SnowStorm, Moder, Ashrain, Crypt, SunkenCrypt.

    exploremap

    Reveals the entire map.

    event [name]

    Starts the specified event – event list

    ffsmooth [0/1]

    Add/remove smoothing to free camera.

    freefly

    Activates the free camera.

    genloc

    Regenerate all locations.

    ghost

    Toggle ghost mode (enemes ignore you).

    god

    Enables god mode.

    goto [x] [y] [z]

    Teleports the player to the specified coordinates. [y] parameter is optional.

    hair

    Permanently removes your hair.

    heal

    Heals you to full health.

    listkeys

    List all global keys.

    location

    Sets spawn location.

    model [0-1]

    Switches character model from masculine to feminine.

    players [number]

    Adjusts the difficulty scale. Enter 0 to reset difficulty.

    pos

    Shows player coordinates.

    puke

    Resets fullness/hunger, returning you to default Health/Stamina.

    raiseskill [skill] [amount]

    Raises the named skill by the value entered.

    randomevent

    Starts a random event.

    removedrops

    Removes all items dropped in the area.

    resetcharacter

    Resets all of your character data.

    resetenv

    Resets the debug environment.

    resetkeys [name]

    Resets the specified key.

    resetmap

    Hides entire map.

    resetskill [skill]

    Sets specified skill level to 0.

    resetwind

    Resets the wind angle and intensity.

    save

    Forces the game to save the current world state.

    setkey [name]

    Sets new global key.

    skiptime [seconds]

    Skips forward, changing day number and time of day.

    sleep

    Skips forward one day.

    spawn [ItemName] [Amount] [Level]

    Spawns specified item.

    stopevent

    Stops the current event.

    tame

    Tames all nearby Creatures.

    tod [0-1]

    Sets time of day. 0 and 1 are both midnight. 0.5 is noon. -1 revert to default.

    wind [angle] [intensity]

    Adjusts the direction and intensity of the wind.


    Looking for a game server host known for brilliant 24/7 customer support and quality hardware?   

    Try a Pingperfect Valheim server today! https://pingperfect.com/gameservers/valheim-server-hosting.php


    Order now - Use code KNOWLEDGE15 for 15% off

    Was this answer helpful?

    « Back