public class Geyser extends Object
| Constructor and Description |
|---|
Geyser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPlayer(Player p)
Add a player
|
static CommandMap |
getCommandMap()
Returns the command map
|
static Connector |
getConnector()
Returns the connector instance for Geyser
|
static ScheduledExecutorService |
getGeneralThreadPool() |
static Logger |
getLogger()
Returns the logger
|
static int |
getPlayerCount() |
static PluginManager |
getPluginManager()
Returns the plugin manager
|
static void |
removePlayer(Player p)
Disconnect a player
|
static void |
setConnector(Connector connector)
Sets the connector instance for Geyser
|
public static Connector getConnector()
public static void setConnector(Connector connector)
connector - the connector instancepublic static Logger getLogger()
public static PluginManager getPluginManager()
public static CommandMap getCommandMap()
public static ScheduledExecutorService getGeneralThreadPool()
public static int getPlayerCount()
public static void addPlayer(Player p)
p - The player to addpublic static void removePlayer(Player p)
p - The player to remove/disconnectCopyright © 2019 GeyserMC. All rights reserved.