Valheim console commands and admin

Open the Valheim console (-console, F5), enable cheats with devcommands (god, fly, ghost, heal, spawn, pos, goto, tod), use the dedicated-server admin commands (kick, ban, unban, banned, save) and set admins in adminlist.txt.

  • 1:02 video
  • English captions & transcript
  • 4 November 2026

Transcript

The full narration, chapter by chapter. Click a time to play the video from there.

Intro

Here's how to open the Valheim console, enable cheats, and use the admin commands on your server.

Open the console

Add -console to Valheim's Steam launch options. Then press F5 in-game to open the console.

Cheats

Type devcommands to turn cheats on. Now you can use god for god mode, fly, ghost so enemies ignore you, and heal.

Spawn & world

Spawn gives you items or creatures, like spawn Wood 50. Pos shows your coordinates, goto teleports you, and tod sets the time of day.

Server admin

On a dedicated server, admins can kick, ban and unban players, list bans with banned, and force a world save with save.

adminlist.txt

To be an admin, add your player ID to adminlist.txt in the save folder, exactly as the server log shows it, one per line, then restart.

Recap

-console, F5, devcommands. Valheim hosting at esagames.ro.

More video tutorials

  • 1:12
    Game servers

    Best ARK mods for your server

    The ARK server mods worth running: Super Structures, Awesome SpyGlass, Dino Storage and Death Recovery, the load-order rule, automation and content mods, Survival Evolved vs Ascended mod sources, and matching versions after updates.

  • 1:15
    Game servers

    Best CS2 server plugins in 2026

    The CS2 plugin stack that works in 2026: Metamod:Source then CounterStrikeSharp (SourceMod does not run on CS2), MatchZy for matches and pugs, retakes, admin and ranks plugins, and how to survive CS2 updates that break plugins.

  • 1:05
    Game servers

    Best Palworld mods and server tweaks

    What actually improves a Palworld dedicated server: PalDefender for admin and anti-cheat, matching its build, tuning PalWorldSettings.ini, which mods are client-side, and RAM sizing plus scheduled restarts and backups.

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.