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, updateInventoryapplyTheoricVelocity, getLocation, getTargetBlock, init, setInternalWorld, setLocationclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPotionEffect, hasPlayedBefore, hasThorns, isInBoat, isSamePlayer, queuePacket, sendPacket, sendPluginMessage, setSleepinggetType, isOnGroundpublic BungeePlayer(net.md_5.bungee.api.connection.ProxiedPlayer pp)
public UUID getUniqueId()
public String getIP()
public boolean isOnline()
public Version getPlayerVersion()
getPlayerVersion in interface PlayergetPlayerVersion in class AbstractPlayerpublic int getProtocolVersion()
getProtocolVersion in interface PlayergetProtocolVersion in class AbstractPlayerpublic 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()