Module gomint.api

Annotation Type EventHandler

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ignoreCancelled
      Define to true if you don't want to get cancelled Events
      EventPriority priority
      Define the priority of the event handler.
    • Element Detail

      • priority

        EventPriority priority
        Define the priority of the event handler.

        Event handlers are called in order of priority:

        1. LOWEST
        2. LOW
        3. NORMAL
        4. HIGH
        5. HIGHEST
        Default:
        io.gomint.event.EventPriority.NORMAL
      • ignoreCancelled

        boolean ignoreCancelled
        Define to true if you don't want to get cancelled Events
        Default:
        false