public class GeyserConnector extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.nukkitx.protocol.bedrock.BedrockPacketCodec |
BEDROCK_PACKET_CODEC |
static String |
NAME |
static String |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlayer(GeyserSession player) |
static GeyserConnector |
getInstance() |
void |
removePlayer(GeyserSession player) |
void |
shutdown() |
static GeyserConnector |
start(PlatformType platformType,
IGeyserBootstrap bootstrap) |
static void |
stop() |
public static final com.nukkitx.protocol.bedrock.BedrockPacketCodec BEDROCK_PACKET_CODEC
public static final String NAME
public static final String VERSION
public void shutdown()
public void addPlayer(GeyserSession player)
public void removePlayer(GeyserSession player)
public static GeyserConnector start(PlatformType platformType, IGeyserBootstrap bootstrap)
public static void stop()
public static GeyserConnector getInstance()
Copyright © 2020 GeyserMC. All rights reserved.