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 24

Defaults by Mode

ModeDefault Players
Competitive10 (5v5)
Wingman4 (2v2)
Casual20 (10v10)
Deathmatch20

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.

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

On this page