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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(co.aikar.commands.BaseCommand command)voidexecute(net.md_5.bungee.api.CommandSender sender, String[] args)List<co.aikar.commands.BaseCommand>getChildren()StringgetCommandName()co.aikar.commands.BaseCommandgetDefCommand()co.aikar.commands.CommandManagergetManager()StringgetPermission()com.google.common.collect.SetMultimap<String,co.aikar.commands.RegisteredCommand>getSubCommands()booleanhasPermission(net.md_5.bungee.api.CommandSender sender)Iterable<String>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, hashCode, toString
-
-
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein interfaceco.aikar.commands.RootCommand
-
addChild
public void addChild(co.aikar.commands.BaseCommand command)
- Specified by:
addChildin interfaceco.aikar.commands.RootCommand
-
getManager
public co.aikar.commands.CommandManager 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
public List<co.aikar.commands.BaseCommand> getChildren()
- Specified by:
getChildrenin interfaceco.aikar.commands.RootCommand
-
execute
public void execute(net.md_5.bungee.api.CommandSender sender, String[] args)
- Specified by:
executein classnet.md_5.bungee.api.plugin.Command
-
getPermission
public String getPermission()
- Overrides:
getPermissionin classnet.md_5.bungee.api.plugin.Command
-
hasPermission
public boolean hasPermission(net.md_5.bungee.api.CommandSender sender)
- 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
public co.aikar.commands.BaseCommand getDefCommand()
- Specified by:
getDefCommandin interfaceco.aikar.commands.RootCommand
-
-