How to change max players on a Project Zomboid server
Set MaxPlayers=16 in Zomboid/Server/main.ini on the Files tab and restart, or run changeoption MaxPlayers "16" in the Console tab.
MaxPlayers
How many players can be on the server at once, admins not counted. Default 32, from 1 to 254.
MaxPlayers=<number> Examples
MaxPlayers=16 A 16 player limit.
What it does
Raise or lower the player limit. The game warns that more than 32 players may cause poor map streaming and desync.
Good to know
- Set it in
Zomboid/Server/main.inion the **Files** tab (under **Advanced**); it applies at the next start. - Or run
changeoption MaxPlayers <value>in the **Console** tab: it changes the option and saves it to main.ini. - Admins don't count toward the limit.
Run it on your server
Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.
Your own
Project Zomboid server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.