# How to Change Max Players on Your Unturned Server (/docs/unturned/player-slots)



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

The default Unturned player limit is **8**.

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

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

  <Step>
    Open Commands.dat [#open-commandsdat]

    Click **Files** in the sidebar. Navigate to `Servers/<ServerName>/Server/` and open `Commands.dat`.
  </Step>

  <Step>
    Set the player count [#set-the-player-count]

    Find or add the `Maxplayers` line:

    ```
    Maxplayers 24
    ```
  </Step>

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

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

> Higher player counts increase RAM and CPU usage. If you notice lag on larger servers, consider a larger map (Russia or Germany instead of PEI) to spread players out, and lower the zombie spawn density.

Related Guides [#related-guides]

* [Server Configuration](/docs/unturned/server-config)
