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