mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Add maxPlayers API
This commit is contained in:
parent
f8e9662665
commit
95747d5649
2 changed files with 14 additions and 0 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue