Class VelocityCommand

  • All Implemented Interfaces:
    com.velocitypowered.api.command.Command

    public class VelocityCommand
    extends java.lang.Object
    implements com.velocitypowered.api.command.Command
    • Constructor Summary

      Constructors 
      Constructor Description
      VelocityCommand​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger, Subcommand command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(com.velocitypowered.api.command.CommandSource source, java.lang.String[] args)  
      java.util.List<java.lang.String> suggest​(com.velocitypowered.api.command.CommandSource source, java.lang.String[] currentArgs)  
      • 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.Command

        hasPermission
    • Constructor Detail

      • VelocityCommand

        public VelocityCommand​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory,
                               ErrorLogger errorLogger,
                               Subcommand command)
    • Method Detail

      • execute

        public void execute​(com.velocitypowered.api.command.CommandSource source,
                            java.lang.String[] args)
        Specified by:
        execute in interface com.velocitypowered.api.command.Command
      • suggest

        public java.util.List<java.lang.String> suggest​(com.velocitypowered.api.command.CommandSource source,
                                                        java.lang.String[] currentArgs)
        Specified by:
        suggest in interface com.velocitypowered.api.command.Command