Interface AllianceCommandExecutor


public interface AllianceCommandExecutor
Represents a command handler abstraction.
  • Method Summary

    Modifier and Type
    Method
    Description
    Aliases of the command
    void
    execute(org.bukkit.command.CommandSender sender, String[] args)
    Executes the command
    Command name (without "/")
    tabComplete(org.bukkit.command.CommandSender sender, String[] args)
    Tab completion handler
  • Method Details

    • getName

      String getName()
      Command name (without "/")
    • alliances

      List<String> alliances()
      Aliases of the command
    • execute

      void execute(org.bukkit.command.CommandSender sender, String[] args)
      Executes the command
      Parameters:
      sender - Command sender (player or console)
      args - Command arguments
    • tabComplete

      List<String> tabComplete(org.bukkit.command.CommandSender sender, String[] args)
      Tab completion handler
      Parameters:
      sender - Command sender
      args - Arguments typed so far
      Returns:
      List of suggestions