Class SubCommand.BungeeServer

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

public static final class SubCommand.BungeeServer extends Command implements TabExecutor
BungeeCord /server
  • Method Details

    • execute

      public void execute(CommandSender sender, String[] args)
      Override /server
      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