How to Set a Password on Your Project Zomboid Server
Password-protect your Project Zomboid server so only players who know the password can join.
Set a Password
Stop the server
In the XGamingServer Panel, go to Console and stop the server.
Edit the server ini
Click Files in the sidebar and open your server's ini file (e.g., Zomboid/Server/servertest.ini). Set:
Password=YourPasswordLeave Password= empty to make the server public (no password required).
Save and start
Click Save Content and start from Console. Players are prompted for the password when joining.
The
Passwordsetting is separate fromOpen=true/false.Opencontrols whether non-whitelisted players can join.Passwordadds a password prompt on top of that.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Project Zomboid server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server