mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-06 15:41:50 +00:00
Add maxPlayers API
This commit is contained in:
@@ -123,6 +123,15 @@ public interface GeyserApi extends GeyserApiBase {
|
||||
*/
|
||||
BedrockListener bedrockListener();
|
||||
|
||||
/**
|
||||
* Gets the maximum number of players that
|
||||
* can join this Geyser instance.
|
||||
*
|
||||
* @return the maximum number of players that
|
||||
* can join this Geyser instance
|
||||
*/
|
||||
int maxPlayers();
|
||||
|
||||
/**
|
||||
* Gets the current {@link GeyserApiBase} instance.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user