# How to Change Max Players & Cars Per Player on Your BeamMP Server (/docs/beammp/vehicle-limits)



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

BeamNG.drive's soft-body physics engine syncs every deformation vertex for every vehicle in real-time. This makes vehicle count the #1 factor in server performance.

Change Player and Vehicle Limits [#change-player-and-vehicle-limits]

<Tabs items={['Via Startup Tab', 'Via Config File']}>
  <Tab value="Via Startup Tab">
    <Steps>
      <Step>
        Open Startup [#open-startup]

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

      <Step>
        Set the limits [#set-the-limits]

        Find the **Max Players** and **Max Cars** fields. Set them to your desired values.
      </Step>

      <Step>
        Restart [#restart]

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

  <Tab value="Via Config File">
    <Steps>
      <Step>
        Stop the server [#stop-the-server]
      </Step>

      <Step>
        Edit ServerConfig.toml [#edit-serverconfigtoml]

        In **Files**, open `ServerConfig.toml`:

        ```toml
        MaxPlayers = 20
        MaxCars = 2
        ```
      </Step>

      <Step>
        Save and start [#save-and-start]
      </Step>
    </Steps>
  </Tab>
</Tabs>

MaxPlayers — Performance Impact [#maxplayers--performance-impact]

| Value | Performance | Notes                                    |
| ----- | ----------- | ---------------------------------------- |
| 5–10  | Light       | Works on any hardware                    |
| 10–20 | Moderate    | 5–10 Mb/s upload recommended             |
| 20–30 | Heavy       | Rubber-banding possible in groups        |
| 30+   | Very heavy  | Requires excellent network + low MaxCars |

MaxCars (Per Player) [#maxcars-per-player]

Total vehicles on the server = `MaxPlayers × MaxCars`. Each vehicle is a full soft-body physics simulation that must be synced.

| MaxCars | With 20 Players | Total Vehicles |
| :-----: | :-------------: | :------------: |
|    1    |      20 × 1     |       20       |
|    2    |      20 × 2     |       40       |
|    3    |      10 × 3     |       30       |

> 💡 **Recommendation:** Keep `MaxCars = 1` or `2` for servers with 10+ players. Going above 2 cars per player at high player counts causes significant desync.

Server Resource Usage [#server-resource-usage]

| Resource  | Guideline                                 |
| --------- | ----------------------------------------- |
| RAM       | \~1 GB per 5 players                      |
| CPU       | Lightweight (>1 GHz, multicore preferred) |
| Bandwidth | 5–10 Mb/s upload for 10+ players          |

Related Guides [#related-guides]

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