Class ChallengeCoreCommandHandler

java.lang.Object
dev.deepcore.challenge.ChallengeCoreCommandHandler

public final class ChallengeCoreCommandHandler extends Object
Handles non-logs /challenge subcommands and tab completion.
  • Constructor Details

    • ChallengeCoreCommandHandler

      public ChallengeCoreCommandHandler(ChallengeAdminFacade adminFacade, DeepCoreLogger logger)
      Creates a core command handler for non-logs `/challenge` subcommands.
      Parameters:
      adminFacade - admin facade providing challenge control operations
      logger - logger used for command diagnostics
  • Method Details

    • handle

      public boolean handle(org.bukkit.command.CommandSender sender, String[] args)
      Handles a `/challenge` subcommand invocation.
      Parameters:
      sender - command sender invoking the challenge command
      args - command arguments including subcommand and options
      Returns:
      true after processing the command input
    • tabComplete

      public List<String> tabComplete(String[] args)
      Returns tab-completion candidates for `/challenge` arguments.
      Parameters:
      args - current command arguments typed by the sender
      Returns:
      matching completion candidates for the current argument position