Class VelocitySender

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

public class VelocitySender extends Object implements ru.cwcode.commands.api.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 ru.cwcode.commands.api.Sender
    • sendMessage

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

      public boolean isPlayer()
      Specified by:
      isPlayer in interface ru.cwcode.commands.api.Sender
    • sendMessage

      public void sendMessage(tkachgeek.tkachutils.messages.TargetableMessageReturn targetable)
      Specified by:
      sendMessage in interface ru.cwcode.commands.api.Sender
    • sendMessage

      public void sendMessage(String message)
      Specified by:
      sendMessage in interface ru.cwcode.commands.api.Sender
    • confirm

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

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

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