# How To Change Max Players on Your Garry's Mod Server (/docs/garrys-mod/max-players)



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

Here is how to change the maximum player count on your Garry's Mod 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 Garry's Mod 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.

    > 📝 **Note:** The ideal max player count depends on your game mode. Sandbox servers typically run well with 16-32 players, while TTT and DarkRP servers may need more or fewer depending on the map size and addon complexity.
  </div>
</div>
