Class SubCommand

java.lang.Object
net.md_5.bungee.api.plugin.Command
de.themoep.bungeeplugin.PluginCommand<BungeeConnectorPlugin>
de.themoep.connectorplugin.bungee.commands.SubCommand
All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor
Direct Known Subclasses:
ConnectorCommand, ProxyConsoleCommand, ServerConsoleCommand, ServerPlayerCommand, TeleportCommand, TeleportToPlayerCommand

public class SubCommand extends de.themoep.bungeeplugin.PluginCommand<BungeeConnectorPlugin>
  • Constructor Details

  • Method Details

    • registerSubCommand

      public void registerSubCommand(SubCommand subCommand)
    • getSubCommand

      public SubCommand getSubCommand(String name)
    • run

      protected boolean run(net.md_5.bungee.api.CommandSender sender, String[] args)
      Specified by:
      run in class de.themoep.bungeeplugin.PluginCommand<BungeeConnectorPlugin>
    • onTabComplete

      public Iterable<String> onTabComplete(net.md_5.bungee.api.CommandSender sender, String[] args)
      Specified by:
      onTabComplete in interface net.md_5.bungee.api.plugin.TabExecutor
      Overrides:
      onTabComplete in class de.themoep.bungeeplugin.PluginCommand<BungeeConnectorPlugin>
    • getSubCommands

      public Map<String,SubCommand> getSubCommands()