This guide demonstrates how to restrict server access by whitelisting your Project Zomboid server so that only approved players can connect.
Enabling The Whitelist
- Access the GhostCap Panel and
Stopyour Project Zomboid server. - In the sidebar, navigate to
File Manager. - Go to
.cache/Server/pzserver.ini. - Locate
Open=and change it tofalse. - Restart your server.
Once Open= is set to false, player self-registration is disabled, requiring manual account creation via the server console.
Adding Players
- Access the GhostCap Panel and select your Project Zomboid server.
- Navigate to
Console. - Execute:
adduser username password(substituting actual username and password).
Players authenticate using the credentials you create.
Removing Players
To revoke access, run this console command:
removeuserfromwhitelist username
