Skip to content

Releases: LeafCommunity/Eventful

Release: 0.4.0

06 Oct 03:06
Compare
Choose a tag to compare

Full Changelog: 0.3.0...0.4.0

Change:

  • Change conditions for displaying deprecated event warnings.
    • Prevents warnings when using AsyncPlayerChatEvent on Paper.

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>community.leaf.eventful</groupId>
    <artifactId>events-bukkit</artifactId>
    <version>0.4.0</version>
</dependency>

Release: 0.3.0

22 Aug 05:57
Compare
Choose a tag to compare

Change:

  • Rename Events.Builder.acceptCancelled() and Events.Builder.rejectCancelled() to reflect the CancellationPolicy enum.

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>community.leaf.eventful</groupId>
    <artifactId>events-bukkit</artifactId>
    <version>0.3.0</version>
</dependency>

Release: 0.2.0

13 Aug 04:25
Compare
Choose a tag to compare

Add:

  • ListenerOrder and CancellationPolicy enums.
  • @EventListener annotation.
    • Example: @EventListener(ListenerOrder.EARLY)
  • @CancelledEvents annotation.
    • Example: @CancelledEvents(CancellationPolicy.REJECT)
  • UncaughtEventExceptionEvent.
    • Called when an uncaught exception occurs while handling an event.

Change:

  • Use new enums in listener builders & registration methods.
  • Register reflection-based events manually so UncaughtEventExceptionEvent and the new annotations are supported.
    • Uses MethodHandles to invoke event listener methods.
    • Supports Bukkit's @EventHandler annotation along with the aforementioned new annotations.
  • Always warn when registering a listener for a deprecated event.
  • Rename BukkitEventSource (previously just EventSource).

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>community.leaf.eventful</groupId>
    <artifactId>events-bukkit</artifactId>
    <version>0.2.0</version>
</dependency>

0.1.0

19 Jun 03:24
Compare
Choose a tag to compare

First release.