Class UnclaimSubCmd

java.lang.Object
me.tayebyassine.homestead.commands.SubCommandBuilder
me.tayebyassine.homestead.commands.operator.subcommands.UnclaimSubCmd

public final class UnclaimSubCmd extends SubCommandBuilder
Admin sub-command (/hsadmin unclaim) that forcefully unclaims a square area of chunks from any region, centered on the player's position or on given chunk coordinates.
  • Constructor Details

    • UnclaimSubCmd

      public UnclaimSubCmd()
  • 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