# How To Change Max Players on Your FiveM Server (/docs/fivem/max-players)



Here is how to change the maximum player count on your FiveM server.

<div className="fd-steps">
  <div className="fd-step">
    Open the Startup Page [#1-open-the-startup-page]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your FiveM server. In the sidebar, click **Startup**.
  </div>

  <div className="fd-step">
    Change the Max Players Value [#2-change-the-max-players-value]

    Find the **Max Players** field and set it to the number of player slots you want.
  </div>

  <div className="fd-step">
    Restart Your Server [#3-restart-your-server]

    Go to **Console** in the sidebar and restart your server to apply the change.

    > 💡 **Tip:** You can also set this in `server.cfg` with the `sv_maxclients` setting:
    >
    > ```
    > sv_maxclients 32
    > ```

    > 📝 **Note:** Higher player counts require more server resources. FiveM servers with many players and resource-heavy scripts may need a higher-tier plan for optimal performance.
  </div>
</div>
