Interface CommandProcessor<S extends Source>

All Known Subinterfaces:
CommandPostProcessor<S>, CommandPreProcessor<S>
All Known Implementing Classes:
UsageCooldownProcessor

public interface CommandProcessor<S extends Source>
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Returns the priority of the command processor.
  • Method Details

    • priority

      default int priority()
      Returns the priority of the command processor. Processors with lower priority values are executed first.

      The default priority is 50. Implementations may override this method to specify a custom priority value.

      Returns:
      the priority of this command processor