Class ClaimCommand

java.lang.Object
me.tayebyassine.homestead.commands.CommandBuilder
me.tayebyassine.homestead.commands.standard.ClaimCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public final class ClaimCommand extends CommandBuilder
Player command (/claim) that claims chunks, either from a wand selection or around the player with an optional radius.
  • Constructor Details

    • ClaimCommand

      public ClaimCommand()
  • Method Details

    • onDefaultExecution

      public boolean onDefaultExecution(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from class: CommandBuilder
      Executes the command when no (matching) sub-command is provided.
      Specified by:
      onDefaultExecution in class CommandBuilder
      Parameters:
      sender - the command sender
      args - the full command arguments
      Returns:
      true to signal that the command was handled
    • onDefaultTabComplete

      public List<String> onDefaultTabComplete(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from class: CommandBuilder
      Provides tab-completion suggestions for the default execution of this command.
      Overrides:
      onDefaultTabComplete in class CommandBuilder
      Parameters:
      sender - the command sender
      args - the full command arguments
      Returns:
      the list of suggestions