Skip to main content

GetMaxPlayers

Returns the max players of the server set in conf.json ("maxplayers").

{{#tag:syntaxhighlight| int maxPlayers = Server.GetMaxPlayers(); |lang=csharp}} }}