How to Change Max Players on Your TF2 Server
Set the player limit on your Team Fortress 2 dedicated server with recommendations for casual, competitive, and Mann vs. Machine modes.
The default TF2 player limit is 24. The Source engine supports up to 32 stably; values above 32 are unstable and not recommended.
Open Startup
In the XGamingServer Panel, click Startup in the sidebar.
Set Max Players
Find the Max Players field and enter your desired count (1–32).
Restart
Restart from Console to apply.
Add to the startup command line:
-maxplayers 32Restart the server to apply.
Recommended Counts by Game Mode
| Mode | Recommended | Notes |
|---|---|---|
| Competitive 6v6 | 12 | Plus 2 spec slots |
| Highlander | 18 | 9v9 with spec slots |
| Casual / Pub | 24 | Default — best balance |
| Trade / Idle | 32 | Maximum stable |
| Mann vs. Machine | 6 | MvM is hard-capped at 6 |
| Surf / Trade Servers | 32 | Common for community servers |
Note: Mann vs. Machine mode requires at least 6 player slots. Below 6, MvM won't start.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Team Fortress 2 server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server