Running a public server can attract unwanted guests. To restrict access and curate your community, Project Zomboid offers password protection and a whitelist system. This article shows how to configure privacy settings in world.ini
, manage the whitelist using console commands and optionally hide your server from the global server list.
Add a Server Password
- Log in to the Wabbanode Control Panel and Stop your server.
- Go to Files and navigate to
Zomboid/Server/<WorldName>
and locateworld.ini
. This file contains all server variables for your world. - Locate
Password=
. If the line is blank, set a strong password.- Example:
Password=MySecurePwd123
- Example:
- Save the file and Start your server. Players will now have to enter this password to join.
Passwords alone still allow anyone with the password to enter. Use whitelisting for finer control.
Enable Whitelist Mode
Whitelist mode requires each player to be approved before they can join, regardless of the server password. In the same world.ini
file:
- Set
Open=false
to enable whitelist mode. This prevents players who are not on the whitelist from joining. - Optionally, set
Public=false
to hide your server from the in‑game server list. LeavingPublic=true
displays your server publicly but still enforces the password and whitelist. - Save the file and Restart your server.
Other whitelist‑related settings include:
AutoCreateUserInWhiteList
When set totrue
, players who join with the correct password are automatically added to the whitelist. Set it tofalse
if you want to manually approve every user.DropOffWhiteListAfterDeath
Whentrue
, a player is removed from the whitelist upon death. This is rarely desired, so leave itfalse
unless you run a hardcore server.
Manage the Whitelist via Console
Use these commands in the Console tab to add or remove players from the whitelist:
AddUser <username> <password>
Creates an account with a password and adds it to the whitelist.AddUserToWhitelist <username>
Adds an existing user to the whitelist.RemoveUserFromWhitelist <username>
Removes a user from the whitelist.AddAllToWhitelist
Adds all currently connected users who have joined with a password to the whitelist.
Players on the whitelist can join without reentering the password (unless you change it) and bypass the Open=false
restriction.
If you change the server password, you must inform whitelisted players. The password must be provided on their first join even if they are whitelisted.
Hide Your Server from the Public List
If you want your server to be completely invisible to strangers:
- Set
Public=false
inworld.ini
. This prevents your server from appearing in the in‑game browser. - Remove or anonymise the
PublicName
andPublicDescription
fields to avoid advertising details about your server.
Your friends can still connect directly using the server IP and password.
By combining a strong password, whitelist mode and optional visibility settings, you can create a private Project Zomboid server tailored to your group. Manage the whitelist carefully through the console and keep your configuration files updated to maintain security.