How to change maxPlayers on a DayZ server
maxPlayers in serverDZ.cfg sets the player cap. A high number with little RAM makes loot and vehicles heavy. Adjust, restart and check.

You want more (or fewer) people on the server. The cap is the maxPlayers field. It does not create RAM: if the machine is small, 60 slots only fill up and the server chokes on loot and vehicles.
By the end of this guide the limit on the list and on Direct Connect matches the number you saved.
Where the limit lives
C:\DayZServer\serverDZ.cfg, maxPlayers line. Integer and semicolon. It is not a Minecraft panel slot.
Step by step
- Stop DayZServer_x64.exe.
- Open C:\DayZServer\serverDZ.cfg.
- Adjust maxPlayers (example: 20, 30 or 40).
- Save and start the server.
maxPlayers = 40;How to verify
- On the client list, the server shows the cap (e.g. 0/40).
- If someone tries to join when the server is full, the client refuses.
If it failed
- Number did not change → did not restart the process or edited another cfg.
- Server slow with few people → the problem may be mods/RAM, not a low maxPlayers.
- Broken cfg → missing ; on the line.
Frequently asked questions
Straight answers before you order
You may also like
How to create a DayZ dedicated server on Windows
From scratch on Windows: RDP, SteamCMD (223350), what appears in C:\DayZServer, serverDZ.cfg, firewall and the start command. Then links for password, admin, map and mods.
Samuel Akires
How to set a password on a DayZ server
Lock joins with password in serverDZ.cfg. Who does not know the password stays out. passwordAdmin is a different field. Windows step-by-step over RDP.
Samuel Akires
How to change the DayZ server name
The name on the list is hostname in serverDZ.cfg. Stop the server, edit, restart and check on Direct Connect or the list.
Samuel Akires
How to change maxPlayers on a DayZ server
maxPlayers in serverDZ.cfg sets the player cap. A high number with little RAM makes loot and vehicles heavy. Adjust, restart and check.
Samuel Akires
