Skip to content

Project Zomboid: Whitelist

Information on how to whitelist your Project Zomboid server at ZAP-Hosting

30 November 20261 min read43 Views0 helpful

Don't have your own server yet? Host your Project Zomboid server with ZAP-Hosting from €7.49 / month.Or try 3 days from €1.35

Introduction

A whitelist is an access mode where you must explicitly create user accounts before they can join. In Project Zomboid, this is usually done by disabling open registration in the server configuration and then adding users with console commands.

Enable the whitelist

In the Configuration tab, open Startup parameters and set Open Server to false. Your server writes the Open entry in servertest.ini from this start parameter every time it starts, so any changes made directly in the file will be overwritten.

Save and restart the server. With open registration disabled, only accounts you have created can join.

Manage whitelisted players

Open your game server's Console and create accounts for the players you want to allow. Use the adduser command with a username and password. In the Console, enter commands without a slash; only add a / before commands entered in the in-game chat.

text
adduser "username" "password"

To revoke a user's access, remove them from the whitelist with the appropriate command.

text
removeuserfromwhitelist "username"

If you previously allowed open registration and want to convert existing connected accounts into whitelist entries, use the command that adds all currently connected users to the whitelist.

text
addalltowhitelist

Check that the whitelist is working

After setting Open Server to false, a new user who hasn't been added with adduser should not be able to join. Test whether access works with a whitelisted account.

If unbanned users can still join, check that Open Server is set to false in the start parameters and that you restarted the server.

Conclusion

If you've followed all the steps correctly, your whitelist is now active and you have full control over who can join the server. If access still isn't working as expected, restart the server again and check the file or console output to confirm that the change was applied.

Our support team is here to help every day if you have any questions or run into problems! 🙂

Free tools

Project Zomboid Tools

View all

FAQ

Frequently asked questions

In the Configuration tab, open Start Parameters, set Open Server to false, save, and restart the server. Any changes made directly to Open in servertest.ini will be overwritten the next time the server starts.
In your game server's console, use the command adduser "username" "password" (without a slash in the console; add / before the command in in-game chat).
Use the command removeuserfromwhitelist "username" in the console.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.