Class RegionCommand

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

public final class RegionCommand extends CommandBuilder
Main player command (/region, /rg, /hs, /homestead) exposing every region management sub-command.
  • Constructor Details

    • RegionCommand

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