Class InviteCommand

java.lang.Object
com.palmergames.bukkit.towny.command.BaseCommand
com.palmergames.bukkit.towny.command.InviteCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public class InviteCommand extends BaseCommand implements org.bukkit.command.CommandExecutor
  • Constructor Details

    • InviteCommand

      public InviteCommand(Towny instance)
  • Method Details

    • onTabComplete

      public List<String> onTabComplete(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String alias, String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter
      Overrides:
      onTabComplete in class BaseCommand
    • onCommand

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
    • parseDeny

      public static void parseDeny(org.bukkit.entity.Player player, String[] args)
    • parseAccept

      public static void parseAccept(org.bukkit.entity.Player player, String[] args)
    • sendInviteList

      public static void sendInviteList(org.bukkit.entity.Player player, List<Invite> list, int page, boolean fromSender)