public class VelocityPlayer extends AbstractProxyPlayer
| Constructor and Description |
|---|
VelocityPlayer(com.velocitypowered.api.proxy.Player pp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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) |
void |
setProtocolVersion(int protocolVersion) |
addPotionEffect, closeInventory, damage, 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, setFoodLevel, setGameMode, setHealth, setPlayerVersion, setSneaking, setSprinting, setVanished, setVelocity, teleport, teleport, updateInventoryapplyTheoricVelocity, getTargetBlock, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPotionEffect, hasPlayedBefore, isSamePlayer, queuePacket, sendPacket, sendPluginMessagegetLocation, getType, isOnGroundapplyTheoricVelocity, getTargetBlock, isSameId, isSameIdpublic UUID getUniqueId()
public boolean isOnline()
public void sendMessage(String msg)
public String getIP()
public boolean hasPermission(String perm)
public int getPing()
public void kick(String reason)
public Version getPlayerVersion()
public int getProtocolVersion()
public void setProtocolVersion(int protocolVersion)
setProtocolVersion in interface PlayersetProtocolVersion in class AbstractProxyPlayerpublic void sendPluginMessage(String channelId, byte[] writeMessage)
public InetSocketAddress getAddress()
public boolean isOp()
public String getName()
public Object getDefault()
public void sendToServer(String serverName)
public String getServerName()
public boolean equals(Object obj)
equals in class AbstractProxyPlayer