Class BukkitCMDSender

    • Constructor Detail

      • BukkitCMDSender

        public BukkitCMDSender​(org.bukkit.command.CommandSender sender)
    • Method Detail

      • getPlayerName

        public java.util.Optional<java.lang.String> getPlayerName()
        Specified by:
        getPlayerName in interface CMDSender
      • hasPermission

        public boolean hasPermission​(java.lang.String permission)
        Specified by:
        hasPermission in interface CMDSender
      • getUUID

        public java.util.Optional<java.util.UUID> getUUID()
        Specified by:
        getUUID in interface CMDSender
      • send

        public void send​(java.lang.String msg)
        Specified by:
        send in interface CMDSender
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object