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



Here is how to change the maximum player count on your Barotrauma 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 Barotrauma 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 your desired number of player slots.
  </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:** Barotrauma is designed for smaller crews. Most submarines support between 2 and 16 players. Setting the max players too high may result in an unbalanced experience if the submarine does not have enough roles for everyone.
  </div>
</div>
