Project Zomboid “Wrong Username or Password”: Which One Is Wrong and How to Get Back In
Yesterday you got in fine and today Project Zomboid says the password is wrong. It's almost always a mix-up: a Zomboid server asks for two different passwords, and the message tells you which one failed. Here's what each message means, how to get your account back if you forgot it, and how to do it without losing your character.
Two passwords that aren't the same
When you add a server under “Multiplayer” → “Add server”, the game asks for the address, the port, a “Server Password”, an “Account Username” and an “Account Password”. They aren't the same thing:
The “Server Password” is the same for the whole group: whoever runs the server sets it (the Password= line in the .ini) and, if it's empty, you don't need one. The “Account Password” is your account on that server: you pick it the first time you join with that name, and from then on that name only gets in with it. That's why the game warns you right there not to use an important password: the server stores it.
And there's a third one you don't type there: the in-game admin's, which is just another account.
Rather not set it up yourself? Project Zomboid servers from €12 a month, no contract and a full refund within 72 hours. Or create a free Project Zomboid server, no card needed.
What the message says and which one failed
“Wrong server password given”
The server password, the group's one, is wrong. Ask whoever runs it for the right one; if they changed it, edit the server in your list and type it under “Server Password”, not the account one.
“Wrong username or password given”
Your account password is wrong: that name already exists on the server with a different password. Either it isn't the one you set the first time, the name isn't typed the same way, or someone joined with that name before you. How to get it back is below.
“Unknown account username given”
The server is closed (
Open=false, whitelist) and that name has no account. An admin has to create it for you: how the whitelist works.“An account password is required”
You left “Account Password” empty. The server asks for one to protect your name: type a new one if it's your first time, or yours if you've joined before.
“No more accounts may be created for this client”
Your Steam account has already created as many accounts on that server as
MaxAccountsPerUserallows. Join with a name you've used before or ask the admin to raise that limit.“User is already connected to the server”
It isn't the password: your character is still inside, for example after a dropped connection. An admin can kick it with
kickuser "name"and you join again.
If you forgot your account password
You can't recover it from the game: there's no “forgot my password”. The fix goes through an admin, who removes your account from the server's list so you can join again with a new password. Your character is tied to your username, so use exactly the same name.
First, a backup
Accounts live in the server's db folder, next to Saves. Copy it before touching anything: if something goes wrong, you can roll back.
The admin removes your account
In the server console, without the slash:
removeuserfromwhitelist "name"(in-game, with the slash, in chat).If the server is open, join again
With
Open=true, the default, type your same name and a new password: the server stores it like the first time and should load your character.If it's closed, have them create the account
With a whitelist, the admin creates it again with
adduser "name" "password"and sends you the password privately.
If you remember it and just want to change it
Inside the server, in chat: /changepwd "previous" "new". Any player can use it, you don't need to be an admin.
To look after your account: everyone should note down their name and password for that server, and don't reuse your Steam or email password.
If it's the server password you don't know
Whoever runs the server has it: it's the Password= line of the .ini file, in the Server folder. If they change it, it applies after restarting the server, and anyone who has it saved in their list will need to edit it.
If nobody in the group wants one, leave it empty and protect the server with a whitelist instead: the three locks of a private server.
On NapNodes
The server password is under “Settings” → “The essentials” → “Password to join”, next to “Anyone can create an account when joining” (Open): they save automatically and apply on restart. The commands above are typed in the panel's “Console”, without the slash, with the server running, and the in-game admin account is in “Settings” → “In-game admin”. You can download the db folder from “Files”.
No server yet? The free Project Zomboid server has 6 GB, needs no card and has all of this in the panel.
Frequently asked questions
Why does Project Zomboid say my password is wrong when it's the usual one?
Because there are two: the server's, the same for everyone, and your account's on that server. If the message mentions “username or password”, it's your account's; if it says “server password”, it's the group's.
How do I recover my account password on a Project Zomboid server?
You can't from the game. An admin removes your account with removeuserfromwhitelist and you join again with the same name and a new password; if the server has a whitelist, they create it with adduser.
Do I lose my character if my password is reset?
It shouldn't happen: the character is tied to your username, not the password. Join with exactly the same name. Back up the server's db folder first.
How do I change my password on a Project Zomboid server?
Inside the server, in chat: /changepwd "previous" "new". Any player can use it.
What is the server password in Project Zomboid?
The Password= line in the server's .ini: the same for the whole group and optional. It isn't your account's or the admin's.
Shall we set it up for you?
Project Zomboid servers from €12 a month, never oversold: your RAM is yours alone. And if you'd rather start without paying, there's a free Project Zomboid server, no card needed.
Not sure whether your server is online? Check it in a second with the Project Zomboid server status checker: players, version and password, free.
Keep reading
- “File Doesn't Match” and “Checksums Do Not Match” in Project Zomboid: What's Wrong and How to Fix It
Project Zomboid kicks you with “File doesn't match the one on the server” or “checksums do not match”: which file is wrong, how to fix it, and DoLuaChecksum.
- Project Zomboid crossplay: Windows, Mac, Linux and Steam Deck on one server
Can friends on Windows, Mac, Linux or Steam Deck play together on one Project Zomboid server? What has to match, how each one joins and what goes wrong.
- Project Zomboid Asks Me to Create a New Character When I Join the Server: Why and What to Do
Why a Project Zomboid server asks you to create another character when you haven't died: another username, another save, ResetID, a crash or a mod.