How to Change Max Players on Your CS2 Server
How to adjust the player count limit on your Counter-Strike 2 dedicated server.
Setting Max Players
Via startup parameter:
-maxplayers 24Defaults by Mode
| Mode | Default Players |
|---|---|
| Competitive | 10 (5v5) |
| Wingman | 4 (2v2) |
| Casual | 20 (10v10) |
| Deathmatch | 20 |
Per-Mode Override
Edit gamemodes_server.txt in /game/csgo/ and change the "maxplayers" value under each mode section.
⚠️ Note: Actual capacity is also limited by map spawn points. A map with 5 T + 5 CT spawns = max 10 regardless of setting.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Counter Strike 2 server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server
CS2 Game Modes & How to Change Them
All Counter-Strike 2 game modes with their game_type and game_mode values — Competitive, Casual, Deathmatch, Wingman, and more.
How to Install Plugins on Your CS2 Server (Metamod + CounterStrikeSharp)
How to install Metamod:Source and CounterStrikeSharp plugins on your Counter-Strike 2 dedicated server.