public class GeyserConnector extends Object implements org.geysermc.api.Connector
| Modifier and Type | Field and Description |
|---|---|
static int |
BEDROCK_1_14_PROTOCOL_VERSION |
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) |
Collection<? extends org.geysermc.api.Player> |
getConnectedPlayers() |
static void |
main(String[] args) |
void |
removePlayer(GeyserSession player) |
void |
shutdown() |
public static final com.nukkitx.protocol.bedrock.BedrockPacketCodec BEDROCK_PACKET_CODEC
public static final int BEDROCK_1_14_PROTOCOL_VERSION
public static final String NAME
public static final String VERSION
public static void main(String[] args)
public Collection<? extends org.geysermc.api.Player> getConnectedPlayers()
getConnectedPlayers in interface org.geysermc.api.Connectorpublic void shutdown()
shutdown in interface org.geysermc.api.Connectorpublic void addPlayer(GeyserSession player)
public void removePlayer(GeyserSession player)
Copyright © 2019 GeyserMC. All rights reserved.