CS2: How to Change Max Players Per Game Mode (5v5, 10v10, 1v1)

How to change how many players can join each game mode on your DatHost CS2 server, for 1v1, 2v2, 10v10 or any other team size.

Each CS2 game mode has its own player limit. For example, competitive allows 10 players and wingman 4. Your server won't let more in, even if it has more slots. The limit can't go above your server's slots either. You change the limit in a file called gamemodes_server.txt.

Change max players

  1. Go to your DatHost Control Panel and click Edit on your CS2 server.
  2. Check which game mode you're using: open Settings, then the Options tab, and look at Game Mode.
  3. Click Files in the left menu to open the File Manager, search for gamemodes, and open gamemodes_server.txt.
  4. Scroll down to "gameTypes". Each game mode has its own maxplayers line, with its default next to the name. Change the number for your game mode. Count everyone who plays, on both teams. For a 6v6 on competitive, use 12.
  5. Save the file, then restart the server.

CS2 gamemodes_server.txt open in the DatHost File Manager with maxplayers for each game mode

The part to change looks like this. Here competitive is changed from 10 to 12 players:

"competitive" // Competitive (default: 10)
{
    "maxplayers" "12"
}

Wingman is called scrimcomp2v2 in the file. Casual and competitive use their own names.

Heads up: raising the limit for competitive may stop teammate colours showing in game.

Common team sizes

You want Game Mode in Settings In the file maxplayers
1v1 Wingman scrimcomp2v2 2
2v2 Wingman scrimcomp2v2 4 (default)
5v5 Competitive competitive 10 (default)
6v6 Competitive competitive 12
10v10 Competitive competitive 20

Casual allows 20 by default.

Your server needs enough slots too. Bots, spectators and GOTV all take a slot. For example, a 10v10 with GOTV needs at least 21. Change it under Server Size on the Server tab in Settings.

Still can't get more players in?

  1. Check the server has enough slots. See above.
  2. Check you changed the right game mode. It must match Game Mode in Settings > Options.
  3. Check there's only one maxplayers line for the mode. If the same mode appears twice in the file, or a config also sets a player limit, they can clash. Keep one.
  4. The map may not have enough spawn points. Each map has a fixed number of places for players to start in each game mode. Many Workshop maps only have 10 for competitive, so more than 10 players can't spawn, whatever maxplayers says. Try the map in another mode, like Casual or FFA Deathmatch, which often has more spawns, or use a map made for bigger teams.

Still stuck? Contact support with the map and game mode you're using.

Common questions

The console says "0 humans, 0 bots (0 max)" or "maxplayers set to 64". Is that wrong? No, that's normal. CS2 always reports 64 slots internally. Your Server Size and maxplayers still decide how many can join.

Can I have more than two teams? No. CS2 only supports two teams. A 10v10 is fine; three teams of five isn't.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us