Class VelocityCommand

java.lang.Object
de.kentoj.kencommandapi.VelocityCommand
All Implemented Interfaces:
com.velocitypowered.api.command.Command, com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.RawCommand.Invocation>, com.velocitypowered.api.command.RawCommand

public class VelocityCommand extends Object implements com.velocitypowered.api.command.RawCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.velocitypowered.api.command.RawCommand

    com.velocitypowered.api.command.RawCommand.Invocation
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(com.velocitypowered.api.command.RawCommand.Invocation invocation)
     
    boolean
    hasPermission(com.velocitypowered.api.command.RawCommand.Invocation ctx)
     
    suggest(com.velocitypowered.api.command.RawCommand.Invocation invocation)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.velocitypowered.api.command.InvocableCommand

    suggestAsync
  • Constructor Details

    • VelocityCommand

      public VelocityCommand()
  • Method Details

    • execute

      public void execute(com.velocitypowered.api.command.RawCommand.Invocation invocation)
      Specified by:
      execute in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.RawCommand.Invocation>
    • hasPermission

      public boolean hasPermission(com.velocitypowered.api.command.RawCommand.Invocation ctx)
      Specified by:
      hasPermission in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.RawCommand.Invocation>
    • suggest

      public List<String> suggest(com.velocitypowered.api.command.RawCommand.Invocation invocation)
      Specified by:
      suggest in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.RawCommand.Invocation>