Class SubCommand

java.lang.Object
net.md_5.bungee.api.plugin.Command
net.ME1312.SubServers.Bungee.SubCommand
All Implemented Interfaces:
TabExecutor

public final class SubCommand extends Command implements TabExecutor
Plugin Command Class
  • Method Details

    • execute

      public void execute(CommandSender sender, String[] args)
      Load /sub in console
      Specified by:
      execute in class Command
      Parameters:
      sender - Sender
      args - Arguments
    • onTabComplete

      public List<String> onTabComplete(CommandSender sender, String[] args)
      Suggest command arguments
      Specified by:
      onTabComplete in interface TabExecutor
      Parameters:
      sender - Sender
      args - Arguments
      Returns:
      The validator's response and list of possible arguments