# How To Change Max Players on Your SCP: Secret Laboratory Server (/docs/scp-secret-laboratory/max-players)



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

You can adjust the maximum number of players on your SCP: Secret Laboratory server through the configuration file.

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer Panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com).
  </div>

  <div className="fd-step">
    Stop Your Server [#2-stop-your-server]

    Make sure your server is **stopped** before making changes.
  </div>

  <div className="fd-step">
    Open Files [#3-open-files]

    In the sidebar, click **Files**.
  </div>

  <div className="fd-step">
    Locate the Configuration File [#4-locate-the-configuration-file]

    Navigate to the configuration directory and open `config_gameplay.txt`.
  </div>

  <div className="fd-step">
    Change Max Players [#5-change-max-players]

    Find the `max_players` setting and change it to your desired number:

    ```
    max_players: 25
    ```

    > 📝 **Note:** The default max players for SCP:SL is typically 20-25. Higher player counts require more server resources and may affect gameplay balance, as the game is designed around specific team sizes.
  </div>

  <div className="fd-step">
    Save and Start Your Server [#6-save-and-start-your-server]

    Click **Save** and then **Start** your server.
  </div>
</div>
