Class CommandCloudNet

  • All Implemented Interfaces:
    com.velocitypowered.api.command.Command, com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>, com.velocitypowered.api.command.SimpleCommand

    public final class CommandCloudNet
    extends java.lang.Object
    implements com.velocitypowered.api.command.SimpleCommand
    • Nested Class Summary

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

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

      Constructors 
      Constructor Description
      CommandCloudNet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)  
      boolean hasPermission​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)  
      java.util.List<java.lang.String> suggest​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)  
      java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> suggestAsync​(com.velocitypowered.api.command.SimpleCommand.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.Command

        execute, hasPermission, suggest, suggestAsync
    • Constructor Detail

      • CommandCloudNet

        public CommandCloudNet()
    • Method Detail

      • execute

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

        public java.util.List<java.lang.String> suggest​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
        Specified by:
        suggest in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
      • suggestAsync

        public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> suggestAsync​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
        Specified by:
        suggestAsync in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
      • hasPermission

        public boolean hasPermission​(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
        Specified by:
        hasPermission in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>