diff --git a/src/Server.php b/src/Server.php index a8d6ddb5e..650329471 100644 --- a/src/Server.php +++ b/src/Server.php @@ -345,6 +345,10 @@ class Server{ return $this->maxPlayers; } + public function setMaxPlayers(int $maxPlayers) : void{ + $this->maxPlayers = $maxPlayers; + } + /** * Returns whether the server requires that players be authenticated to Xbox Live. If true, connecting players who * are not logged into Xbox Live will be disconnected.