NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

Valheim server stops at start with a password error

ValheimUpdated Oct 22, 20263 min read

While Public Server is on, Valheim refuses to run if the server password appears anywhere inside the World Name. Capitals count. Change the password or the world name so the password is no longer part of the world name, then start the server.

What you see

The server goes Offline a few seconds after you start it. The Console shows this message:

Valheim will not start: with Public Server on, the Server Password must not appear inside the World Name (capitals count). Change one of them in Game Settings, then start the server.

On a server whose start command is older, the Console may instead show Error bad password:Invalid password, followed by many error lines, and the server restarts once and then stays offline. The cause and the fix are the same.

On the Worlds page, the panel refuses such a name before it gets that far: switching to, making or uploading a world whose name contains the password says Valheim will not start a public server whose password is part of the world name. Choose another world name. The page checks without regard to capitals, so it is stricter than the game.

Why it happens

With the world name Dedicated, the password Dedic is inside it and stops the server. The password dedic does not, because capitals count for the game. A password inside the server name is fine. Only the world name matters.

Fix it

  1. Click Settings, then Game Settings.
  2. Look at Server Password and World Name. Find the part of the password that is in the world name.
The Server Name and Server Password options in Game Settings
  1. Change the password. That is easier, and a long password with no part of the world name in it is safer. The rules are 5 to 20 characters, no double quote or backslash. To use another world instead, switch on the Worlds page: How to switch between Valheim worlds on your server.
  2. Click Start.

Or turn Public Server off

The check only runs while Public Server is on. Turning it off lets you keep both values, but your server is then not listed. See How to make your Valheim server public or private.

How to change your Valheim server name and password and How to fix a server that will not start.

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS