19 August 2026

Valheim Admin Commands

A full up to date list of commands you can use whilst you're an admin.

Brauchst du einen Valheim-Server?Jetzt mieten

If you're looking for running cheat commands on your server, you will need a mod. Valheim turns devcommands off on dedicated servers, so god, fly, spawn and the rest won't do anything for you even as an admin. We recommend Server_devcommands by JereKuusela as this will give your admins devcommands which contains a lot more console commands! It's a one click install from Mod Manager in the control panel, and if you've not put a mod on your server before there's a full guide here: How to Install Mods on Your Valheim Server If you are shopping around, you can rent a Valheim server from us with that Mod Manager already included.

The commands in the table below need no mod at all, but they do need you to be an admin first: Valheim adminlist.txt

Command Description
help Lists all the commands you can use
save Issues a world save
ping Send a ping to the server to get your latency
banned Shows a list of banned users
unban [ip/userID] Unban the user
ban [name/ip/userID] Ban the user
kick [name/ip/userID] Kick the user
info Prints the current system information.
noportals Turns portals off, but only in single player or a world you host yourself. See below.
lodbias [value] Changes your own draw distance. Nothing to do with the server. See below.

Two of those come with a catch worth knowing about.

noportals is an admin only command, and Valheim treats admin only commands as host only. On a dedicated server you're a client and the server is the host, so the game just replies 'noportals' is not valid in the current context. and nothing happens. It works fine in single player or in a world you're hosting from your own machine.

Turning portals off on a dedicated server is a startup setting rather than something you type in the console. It's a global key called NoPortals, added to the server's command line as -setkey NoPortals. Don't confuse it with the Portals world modifier, which is a different thing entirely: that one only decides which items you're allowed to carry through a portal, on a scale of casual, default, hard and veryhard, and none of its settings remove portals from the world. If you want either of them changed, open a ticket and we'll set it up for you, as editing the command line yourself can quietly drop the rest of your tuned settings.

lodbias catches people out as well. You'll see it listed as a server draw distance setting all over the place, including in older versions of this guide, and it simply isn't one. It sets the LOD bias on whichever machine typed it, so it only ever changes what you see. It won't help your players and it won't change a thing about how the server runs. Type it with no value after it and it'll tell you what yours is currently on.

Join our Discord to chat with our staff and community!
Join Discord