Package co.aikar.commands
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 TypeMethodDescriptionvoidaddChild(co.aikar.commands.BaseCommand command) voidexecute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) List<co.aikar.commands.BaseCommand>co.aikar.commands.BaseCommandco.aikar.commands.CommandManagercom.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, waitMethods inherited from interface com.velocitypowered.api.command.InvocableCommand
hasPermissionMethods inherited from interface co.aikar.commands.RootCommand
addChildShared, execute, getDefaultRegisteredCommand, getDescription, getTabCompletions, getTabCompletions, getTabCompletions, getUniquePermission, getUsage, hasAnyPermission
-
Method Details
-
getCommandName
- Specified by:
getCommandNamein interfaceco.aikar.commands.RootCommand
-
addChild
- Specified by:
addChildin interfaceco.aikar.commands.RootCommand
-
getManager
- Specified by:
getManagerin interfaceco.aikar.commands.RootCommand
-
getSubCommands
public com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()- Specified by:
getSubCommandsin interfaceco.aikar.commands.RootCommand
-
getChildren
- Specified by:
getChildrenin interfaceco.aikar.commands.RootCommand
-
getDefCommand
- Specified by:
getDefCommandin interfaceco.aikar.commands.RootCommand
-
execute
- Specified by:
executein interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
suggest
- Specified by:
suggestin interfacecom.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:
suggestAsyncin interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-