Package com.ultikits.ultitools.abstracts.command.validation.validators


package com.ultikits.ultitools.abstracts.command.validation.validators
Built-in command validators.

Available validators:

Validator Order:

Validators are executed in order from lowest to highest. Default orders:

  1. SenderTypeValidator (100) - Fail fast if wrong sender type
  2. PermissionValidator (200) - Check permissions before processing
  3. UsageLockValidator (250) - Prevent duplicate execution
  4. CooldownValidator (300) - Rate limiting
Since:
6.2.0
  • Classes
    Class
    Description
    Validates and manages command cooldowns for players.
    An executor-scoped cooldown key (#539): the executor instance, compared by identity and held weakly so an active cooldown never keeps an unloaded module's executor -- and with it the module's class loader -- reachable, plus method.toString().
    Validates that the command sender has the required permission.
    Validates that the command sender matches the expected target type.
    Validates and manages command usage locks to prevent concurrent execution.