Class 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 Detail

      • getCommandName

        public String 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
      • execute

        public void execute​(net.md_5.bungee.api.CommandSender sender,
                            String[] args)
        Specified by:
        execute in class net.md_5.bungee.api.plugin.Command
      • getPermission

        public String getPermission()
        Overrides:
        getPermission in class net.md_5.bungee.api.plugin.Command
      • onTabComplete

        public Iterable<StringonTabComplete​(net.md_5.bungee.api.CommandSender commandSender,
                                              String[] strings)
        Specified by:
        onTabComplete in interface net.md_5.bungee.api.plugin.TabExecutor
      • getDefCommand

        public co.aikar.commands.BaseCommand getDefCommand()
        Specified by:
        getDefCommand in interface co.aikar.commands.RootCommand