How to Change Max Players on Your Project Zomboid Server
Set the player limit on your Project Zomboid server. Default is 64, admins can bypass.
Change the Player Limit
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:
MaxPlayers=32Default is 64. Admins can bypass this limit.
Save and start
Click Save Content and start from Console.
Port Consideration
Project Zomboid uses one UDP port per connected player beyond the first (starting from DefaultPort + 1). If you set MaxPlayers=32, ports 16261–16292 need to be available. Check the Network tab to verify your port allocations.
Related Guides
How is this guide?

How to Improve Your Project Zomboid Server Performance
Optimize your Project Zomboid server for better performance, less lag, and smoother gameplay with these tuning tips.
How to Enable or Disable PvP on Your Project Zomboid Server
Configure player-vs-player combat settings on your Project Zomboid server, including the safety system and PVP toggle timers.