# How to Change Max Players on Your Necesse Server (/docs/necesse/player-slots)



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

The default player limit in Necesse is **10**. You can change this based on your server plan.

<Tabs items={['Via Startup (Recommended)', 'Via server.cfg']}>
  <Tab value="Via Startup (Recommended)">
    <Steps>
      <Step>
        Open Startup [#open-startup]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Startup** in the sidebar.

        {/* Screenshot needed: Startup tab with max players variable */}
      </Step>

      <Step>
        Change max players [#change-max-players]

        Find the **Max Clients** or **Max Players** variable and set your desired number.
      </Step>

      <Step>
        Restart [#restart]

        Restart from **Console** to apply.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Via server.cfg">
    <Steps>
      <Step>
        Stop and open the file [#stop-and-open-the-file]

        Stop the server, then click **Files** and open `server.cfg`.
      </Step>

      <Step>
        Edit maxClients [#edit-maxclients]

        ```
        maxClients=20
        ```
      </Step>

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

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

> Higher player counts increase resource usage. If you notice lag, check that your server plan has enough RAM and CPU for the player count you've set.

Related Guides [#related-guides]

* [Server Configuration](/docs/necesse/server-config)
