MaxPlayers

From the Scripting Manual
Data Type: Byte Description: Current player limit for the server (Excluding Admins and Bots)