Annotation Interface Sender


@Target(PARAMETER) @Retention(RUNTIME) public @interface Sender
Marks a command parameter as the executing sender. The argument is auto-filled and not taken from user input.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Restrict allowed sender types.
  • Element Details

    • value

      AllowedSender[] value
      Restrict allowed sender types. Defaults to any.
      Returns:
      allowed sender kinds
      Default:
      {ANY}