Annotation Interface Cooldown


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Cooldown
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
     
     
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Permission, which will be used to bypass that cooldown.
  • Element Details

    • key

      String key
    • count

      long count
    • unit

    • bypass

      String bypass
      Permission, which will be used to bypass that cooldown.
      Default:
      ""