Class VelocityRootCommand

java.lang.Object
co.aikar.commands.VelocityRootCommand
All Implemented Interfaces:
co.aikar.commands.RootCommand, com.velocitypowered.api.command.Command, com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>, com.velocitypowered.api.command.SimpleCommand

public class VelocityRootCommand extends Object implements com.velocitypowered.api.command.SimpleCommand, co.aikar.commands.RootCommand
  • Nested Class Summary

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

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

    Modifier and Type
    Method
    Description
    void
    addChild(co.aikar.commands.BaseCommand command)
     
    void
    execute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     
    List<co.aikar.commands.BaseCommand>
     
     
    co.aikar.commands.BaseCommand
     
    co.aikar.commands.CommandManager
     
    com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand>
     
    suggest(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     
    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.InvocableCommand

    hasPermission

    Methods inherited from interface co.aikar.commands.RootCommand

    addChildShared, execute, getDefaultRegisteredCommand, getDescription, getTabCompletions, getTabCompletions, getTabCompletions, getUniquePermission, getUsage, hasAnyPermission
  • Method Details

    • getCommandName

      Specified by:
      getCommandName in interface co.aikar.commands.RootCommand
    • addChild

      public void addChild(co.aikar.commands.BaseCommand command)
      Specified by:
      addChild in interface co.aikar.commands.RootCommand
    • getManager

      public co.aikar.commands.CommandManager getManager()
      Specified by:
      getManager in interface co.aikar.commands.RootCommand
    • getSubCommands

      public com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()
      Specified by:
      getSubCommands in interface co.aikar.commands.RootCommand
    • getChildren

      public List<co.aikar.commands.BaseCommand> getChildren()
      Specified by:
      getChildren in interface co.aikar.commands.RootCommand
    • getDefCommand

      public co.aikar.commands.BaseCommand getDefCommand()
      Specified by:
      getDefCommand in interface co.aikar.commands.RootCommand
    • 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 List<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 CompletableFuture<List<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>