Class CommandHub

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

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

      Constructors 
      Constructor Description
      CommandHub()  
    • Method Summary

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

      • CommandHub

        public CommandHub()
    • Method Detail

      • execute

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