Package co.aikar.commands
Class BungeeRootCommand
java.lang.Object
net.md_5.bungee.api.plugin.Command
co.aikar.commands.BungeeRootCommand
- All Implemented Interfaces:
co.aikar.commands.RootCommand,net.md_5.bungee.api.plugin.TabExecutor
public class BungeeRootCommand
extends net.md_5.bungee.api.plugin.Command
implements co.aikar.commands.RootCommand, net.md_5.bungee.api.plugin.TabExecutor
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(co.aikar.commands.BaseCommand command) voidList<co.aikar.commands.BaseCommand>co.aikar.commands.BaseCommandco.aikar.commands.CommandManagercom.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> booleanhasPermission(net.md_5.bungee.api.CommandSender sender) onTabComplete(net.md_5.bungee.api.CommandSender commandSender, String[] strings) Methods inherited from class net.md_5.bungee.api.plugin.Command
canEqual, equals, getAliases, getName, getPermissionMessage, hashCode, setPermissionMessage, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
execute
- Specified by:
executein classnet.md_5.bungee.api.plugin.Command
-
getPermission
- Overrides:
getPermissionin classnet.md_5.bungee.api.plugin.Command
-
hasPermission
- Overrides:
hasPermissionin classnet.md_5.bungee.api.plugin.Command
-
onTabComplete
public Iterable<String> onTabComplete(net.md_5.bungee.api.CommandSender commandSender, String[] strings) - Specified by:
onTabCompletein interfacenet.md_5.bungee.api.plugin.TabExecutor
-
getDefCommand
- Specified by:
getDefCommandin interfaceco.aikar.commands.RootCommand
-