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 TypeMethodDescriptionvoid
addChild
(co.aikar.commands.BaseCommand command) void
List<co.aikar.commands.BaseCommand>
co.aikar.commands.BaseCommand
co.aikar.commands.CommandManager
com.google.common.collect.SetMultimap<String,
co.aikar.commands.RegisteredCommand> boolean
hasPermission
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 interfaceco.aikar.commands.RootCommand
-
addChild
- Specified by:
addChild
in interfaceco.aikar.commands.RootCommand
-
getManager
- Specified by:
getManager
in interfaceco.aikar.commands.RootCommand
-
getSubCommands
public com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand> getSubCommands()- Specified by:
getSubCommands
in interfaceco.aikar.commands.RootCommand
-
getChildren
- Specified by:
getChildren
in interfaceco.aikar.commands.RootCommand
-
execute
- Specified by:
execute
in classnet.md_5.bungee.api.plugin.Command
-
getPermission
- Overrides:
getPermission
in classnet.md_5.bungee.api.plugin.Command
-
hasPermission
- Overrides:
hasPermission
in classnet.md_5.bungee.api.plugin.Command
-
onTabComplete
public Iterable<String> onTabComplete(net.md_5.bungee.api.CommandSender commandSender, String[] strings) - Specified by:
onTabComplete
in interfacenet.md_5.bungee.api.plugin.TabExecutor
-
getDefCommand
- Specified by:
getDefCommand
in interfaceco.aikar.commands.RootCommand
-