Class VelocitySender

java.lang.Object
ru.cwcode.commands.velocityplatform.velocity.VelocitySender
All Implemented Interfaces:
Sender

public class VelocitySender extends Object implements Sender
  • Constructor Details

    • VelocitySender

      public VelocitySender(com.velocitypowered.api.command.CommandSource sender)
  • Method Details

    • hasPermission

      public boolean hasPermission(String str)
      Specified by:
      hasPermission in interface Sender
    • getName

      public String getName()
      Specified by:
      getName in interface Sender
    • sendMessage

      public void sendMessage(net.kyori.adventure.text.Component line)
      Specified by:
      sendMessage in interface Sender
    • isPlayer

      public boolean isPlayer()
      Specified by:
      isPlayer in interface Sender
    • sendMessage

      public void sendMessage(ru.cwcode.cwutils.messages.TargetableMessageReturn targetable)
      Specified by:
      sendMessage in interface Sender
    • sendMessage

      public void sendMessage(String message)
      Specified by:
      sendMessage in interface Sender
    • confirm

      public void confirm(String confirmableString, long timeToConfirm, Runnable onConfirm, Runnable onExpired)
      Specified by:
      confirm in interface Sender
    • getAudience

      public net.kyori.adventure.audience.Audience getAudience()
      Specified by:
      getAudience in interface Sender
    • getPlayer

      public com.velocitypowered.api.proxy.Player getPlayer()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object