# How to Change Max Players on Your Project Zomboid Server (/docs/project-zomboid/player-slots)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Change the Player Limit [#change-the-player-limit]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
  </Step>

  <Step>
    Edit the server ini [#edit-the-server-ini]

    Click **Files** in the sidebar and open your server's ini file (e.g., `Zomboid/Server/servertest.ini`). Set:

    ```ini
    MaxPlayers=32
    ```

    Default is `64`. Admins can bypass this limit.
  </Step>

  <Step>
    Save and start [#save-and-start]

    Click **Save Content** and start from **Console**.
  </Step>
</Steps>

Port Consideration [#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 [#related-guides]

* [Server Configuration](/docs/project-zomboid/server-config)
* [Performance Guide](/docs/project-zomboid/performance-guide)
