Class HomesteadAdminCommand

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

public final class HomesteadAdminCommand extends CommandBuilder
Admin command (/homesteadadmin, /hsadmin) used to manage the plugin and perform administrative operations on regions.
  • Constructor Details

    • HomesteadAdminCommand

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