Class DenyInviteSubCmd

java.lang.Object
me.tayebyassine.homestead.commands.SubCommandBuilder
me.tayebyassine.homestead.commands.standard.subcommands.DenyInviteSubCmd

public final class DenyInviteSubCmd extends SubCommandBuilder
Sub-command (/hs deny) that rejects a pending region invite.
  • Constructor Details

    • DenyInviteSubCmd

      public DenyInviteSubCmd()
  • Method Details

    • onExecution

      public boolean onExecution(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from class: SubCommandBuilder
      Executes this sub-command.
      Specified by:
      onExecution in class SubCommandBuilder
      Parameters:
      sender - the command sender
      args - the arguments following the sub-command name
      Returns:
      true to signal that the command was handled
    • onTabComplete

      public List<String> onTabComplete(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from class: SubCommandBuilder
      Provides tab-completion suggestions for this sub-command.
      Overrides:
      onTabComplete in class SubCommandBuilder
      Parameters:
      sender - the command sender
      args - the arguments following the sub-command name
      Returns:
      the list of suggestions