Valheim

Valheim Admin Command Helper

Search, understand, and copy useful Valheim admin, moderation, debug, teleport, map, and spawn commands.

41 of 41 commands

  • saveServer AdminServer admin

    Forces the server to save the world immediately.

  • pingServer AdminServer admin

    Checks server responsiveness. Returns pong if the server is alive.

  • infoServer AdminServer admin

    Displays server information including version and world name.

  • help [command]Server AdminServer admin

    Lists available commands or shows help for a specific command.

  • kick [name/ip/userID]Player ModerationServer admin

    Kicks a player from the server by name, IP, or Steam ID.

  • ban [name/ip/userID]Player ModerationServer admin

    Bans a player from the server by name, IP, or Steam ID.

  • unban [name/ip/userID]Player ModerationServer admin

    Removes a ban for a previously banned player.

  • bannedPlayer ModerationServer admin

    Lists all currently banned players.

  • exploremappWorld / MapDevcommands required

    Reveals the entire map for all players. Cannot be undone.

  • resetmapWorld / MapDevcommands required

    Resets the explored map data. Useful for fresh exploration.

  • posWorld / MapConsole

    Displays your current position coordinates (x, y, z).

  • locationWorld / MapDevcommands required

    Shows information about your current location or biome.

  • printseedsWorld / MapDevcommands required

    Prints the world generation seeds used for this map.

  • goto [x] [z]Teleport / PositionDevcommands required

    Teleports you to specified X and Z coordinates on the map.

  • teleport [x] [y] [z]Teleport / PositionDevcommands required

    Teleports you to exact X, Y, Z coordinates including elevation.

  • recallTeleport / PositionDevcommands required

    Returns you to your spawn or bed location.

  • devcommandsDebug / BuildConsole

    Enables developer command mode. Required for many admin and debug commands.

  • debugmodeDebug / BuildDevcommands required

    Toggles debug mode, enabling fly, ghost, and other debug features.

  • nocostDebug / BuildDevcommands required

    Removes build cost requirements. All crafting and building becomes free.

  • flyDebug / BuildDevcommands required

    Toggles flight mode. Lets you move freely in any direction.

  • godDebug / BuildDevcommands required

    Toggles god mode. Makes you invulnerable to damage.

  • ghostDebug / BuildDevcommands required

    Toggles ghost mode. Creatures ignore you completely.

  • freeflyDebug / BuildDevcommands required

    Enables free camera mode for taking screenshots or scouting.

  • spawn [item] [amount] [level]Items / SpawnDevcommands required

    Spawns an item or creature by prefab name. Level is optional (default 1).

  • removedropsItems / SpawnDevcommands required

    Removes all dropped items on the ground in the current area.

  • killallItems / SpawnDevcommands required

    Kills all enemies and creatures in the current loaded area.

  • tameItems / SpawnDevcommands required

    Tames all tameable creatures within range.

  • raiseskill [skill] [amount]Character / SkillsDevcommands required

    Raises a specific skill by the given amount.

  • resetskill [skill]Character / SkillsDevcommands required

    Resets a specific skill back to its starting level.

  • resetcharaecterCharacter / SkillsDevcommands required

    Resets your character, including skills and inventory.

  • healCharacter / SkillsDevcommands required

    Fully restores your health.

  • pukeCharacter / SkillsDevcommands required

    Makes your character vomit, clearing the poisoned effect.

  • event [eventname]EventsDevcommands required

    Starts a specific game event by name e.g. 'skeleton' or 'wolf'.

  • randomeventEventsDevcommands required

    Triggers a random game event.

  • stopeventEventsDevcommands required

    Stops the currently running event immediately.

  • listkeysEventsServer admin

    Lists all global keys that have been set on the server.

  • setkey [key]EventsServer admin

    Sets a global key, which can trigger events or progression.

  • resetkeys [key]EventsServer admin

    Removes a specific global key.

  • timeUtilityDevcommands required

    Displays the current in-game time.

  • tod [0-1]UtilityDevcommands required

    Sets the time of day. 0 is dawn, 0.5 is noon, 1 is dusk.

  • wind [angle] [intensity]UtilityDevcommands required

    Sets the wind direction (angle in degrees) and intensity (0-1).

How to use it

  • Open the in-game console with F5. On a dedicated server, admin commands run from the server console or by making yourself an admin on the player list.
  • Type devcommands in the console to unlock most commands. The badge on each card tells you what a command requires.
  • Search or filter to find the command you need, then copy it straight into the console.
  • Server Admin commands (save, ban, kick, setkey) work from the dedicated server console without devcommands.
  • Debug commands like god, fly, and nocost are for testing. Avoid them on shared progression realms.

FAQ

Why does a command do nothing when I type it?

Most commands require devcommands enabled first, and some only work for the host or in singleplayer. The badge on each command card states what it requires. On dedicated servers, moderation commands belong in the server console.

Do admin commands work on any server I join?

No. Server Admin commands require admin status for that server, and devcommands are typically host-only. That is by design: it protects shared worlds.

Is exploremap reversible?

No. Revealing the full map for everyone cannot be undone. Use resetmap only when you are certain, ideally with a world backup taken first.

Is this the full Valheim command list?

This is a curated set of the commands server owners and admins actually use day to day, organized by what they do rather than dumped as one list.

Related tools

Running a server long-term?

QUESTPAUSE runs modded Project Zomboid and Valheim worlds with real onboarding and admin workflows. The community is on Discord.

Join Discord