diff --git a/event/src/main/java/net/md_5/bungee/event/EventHandler.java b/event/src/main/java/net/md_5/bungee/event/EventHandler.java index 34c07ba0..eb09e81b 100644 --- a/event/src/main/java/net/md_5/bungee/event/EventHandler.java +++ b/event/src/main/java/net/md_5/bungee/event/EventHandler.java @@ -9,4 +9,19 @@ import java.lang.annotation.Target; @Target(ElementType.METHOD) public @interface EventHandler { + + /** + * Define the priority of the event handler. + *

+ * Event handlers are called in order of priority: + *

    + *
  1. LOWEST
  2. + *
  3. LOW
  4. + *
  5. NORMAL
  6. + *
  7. HIGH
  8. + *
  9. HIGHEST
  10. + *
  11. MONITOR
  12. + *
+ */ + EventPriority priority() default EventPriority.NORMAL; }