How to add a player to the whitelist in Project Zomboid
With Open=false in main.ini, type adduser "username" "password" in the Console tab to create that player's account.
adduser
Creates a player account on the server, for servers where Open is false.
/adduser "<username>" "<password>" Examples
adduser "rj" "s3cret" Creates the account rj, from the Console tab.
Arguments
usernameRequired- The new account's username.
passwordOptional- The account's password.
What it does
With Open=false players can't make their own account when they join, so an admin creates each username and password with this command. The password is optional.
Good to know
- Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
Run it on your server
Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.
Your own
Project Zomboid server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.