View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-19-2021 , 17:41   Re: Reject Non-VIPs on connect (before they fully join)
Reply With Quote #2

Quote:
Originally Posted by NanoC View Post
there is a bug on CS:GO that players can join via console even if the server is full.
...not actually bug, feature.

In old games, when you set -maxplayers before you launch server, you couldn't change that max player slot count later while server is running. (If we ignore that sourceTV slot +1).
And when server is full, player couldn't make connection to server.

In CSGO, -maxplayers not exist, it will use all 64 slot.
CSGO can dynamically change "maxplayers" count through gamemodes.txt or gamemodes_server.txt in different game modes, while server is running.
And will kick players who exceed that "maxplayer" size.
For example, default maxplayers in different modes:
  • casual 20
  • competitive 10
  • scrimcomp2v2 4
  • scrimcomp5v5 10
  • gungameprogressive 10
  • gungametrbomb 10
  • deathmatch 16
  • training 1
  • custom 100
  • cooperative 20
  • coopmission 10
  • skirmish 12
  • freeforall 16

In co-op mode, server use those unused player slots for NPC (If I remember correctly).
To stop CSGO changing "maxplayers" size, use launch parameter -maxplayers_override N to set static max player count.
-However, players can still try make connection and perhaps join to server using console command, even server is full. But game will kick them out few seconds later when they are fully connected in server.
__________________
Do not Private Message @me
Bacardi is offline