public class BungeePlayer extends AbstractProxyPlayer
location, playerVersion, protocolVersion, velocity, world
Constructor and Description |
---|
BungeePlayer(net.md_5.bungee.api.connection.ProxiedPlayer pp) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress() |
Object |
getDefault() |
String |
getIP() |
String |
getName() |
int |
getPing() |
Version |
getPlayerVersion() |
int |
getProtocolVersion() |
String |
getServerName() |
UUID |
getUniqueId() |
boolean |
hasPermission(String perm) |
boolean |
isOnline() |
boolean |
isOp() |
void |
kick(String reason) |
void |
sendMessage(String msg) |
void |
sendPluginMessage(String channelId,
byte[] writeMessage) |
void |
sendToServer(String serverName) |
addPotionEffect, closeInventory, damage, equals, getActivePotionEffect, getAllowFlight, getBoundingBox, getEntityId, getEyeHeight, getEyeLocation, getFallDistance, getFlySpeed, getFoodLevel, getGameMode, getHealth, getInventory, getItemInHand, getItemInOffHand, getLevel, getMaxHealth, getNearbyEntities, getOpenInventory, getPotionEffect, getRotation, getTheoricVelocity, getVehicle, getVelocity, getWalkSpeed, getWorld, hasElytra, hasLineOfSight, hasOpenInventory, hasPotionEffect, isDead, isFlying, isInsideVehicle, isSleeping, isSneaking, isSprinting, isSwimming, isUsingRiptide, openInventory, removePotionEffect, setAllowFlight, setFlying, setFoodLevel, setGameMode, setHealth, setPlayerVersion, setProtocolVersion, setSneaking, setSprinting, setVanished, setVelocity, teleport, teleport, updateInventory
applyTheoricVelocity, getLocation, getTargetBlock, init, setInternalWorld, setLocation
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPotionEffect, hasPlayedBefore, hasThorns, isInBoat, isSamePlayer, queuePacket, sendPacket, sendPluginMessage, setSleeping
getType, isOnGround
public BungeePlayer(net.md_5.bungee.api.connection.ProxiedPlayer pp)
public UUID getUniqueId()
public String getIP()
public boolean isOnline()
public Version getPlayerVersion()
getPlayerVersion
in interface Player
getPlayerVersion
in class AbstractPlayer
public int getProtocolVersion()
getProtocolVersion
in interface Player
getProtocolVersion
in class AbstractPlayer
public boolean isOp()
public void sendMessage(String msg)
public String getName()
public Object getDefault()
public boolean hasPermission(String perm)
public void kick(String reason)
public void sendPluginMessage(String channelId, byte[] writeMessage)
public int getPing()
public InetSocketAddress getAddress()
public void sendToServer(String serverName)
public String getServerName()