# How to Change Max Players on Your Sons of the Forest Server (/docs/sons-of-the-forest/player-slots)



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

Sons of the Forest has a **hard cap of 8 players**. This cannot be increased — it's a game engine limitation, not a server setting you can raise.

<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 dedicatedserver.cfg [#open-dedicatedservercfg]

    Click **Files** in the sidebar and open `dedicatedserver.cfg`.
  </Step>

  <Step>
    Change the player count [#change-the-player-count]

    ```json
    "MaxPlayers": 8
    ```

    You can set this **lower** than 8 if you want fewer players (e.g., `4` for a small group), but not higher.
  </Step>

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

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

Related Guides [#related-guides]

* [Server Configuration](/docs/sons-of-the-forest/server-config)
