Server-side functionsServerGetMaxPlayersOn this pageGetMaxPlayersReturns the max players of the server set in conf.json ("maxplayers"). C# int NAPI.Server.GetMaxPlayers(); Example int maxPlayers = NAPI.Server.GetMaxPlayers();