public class BukkitPlayerCMDSender extends BukkitCMDSender
Constructor and Description |
---|
BukkitPlayerCMDSender(org.bukkit.entity.Player player) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ChatFormatter |
getFormatter() |
java.util.Optional<java.lang.String> |
getPlayerName() |
java.util.Optional<java.util.UUID> |
getUUID() |
int |
hashCode() |
boolean |
hasPermission(java.lang.String permission) |
boolean |
supportsChatEvents() |
buildMessage, send
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, isPlayer, send
public BukkitPlayerCMDSender(org.bukkit.entity.Player player)
public java.util.Optional<java.lang.String> getPlayerName()
getPlayerName
in interface CMDSender
getPlayerName
in class BukkitCMDSender
public boolean hasPermission(java.lang.String permission)
hasPermission
in interface CMDSender
hasPermission
in class BukkitCMDSender
public java.util.Optional<java.util.UUID> getUUID()
getUUID
in interface CMDSender
getUUID
in class BukkitCMDSender
public ChatFormatter getFormatter()
getFormatter
in interface CMDSender
getFormatter
in class BukkitCMDSender
public boolean supportsChatEvents()
public boolean equals(java.lang.Object o)
equals
in class BukkitCMDSender
public int hashCode()
hashCode
in class BukkitCMDSender