Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

0.02v

Pre-release
Pre-release

Choose a tag to compare

@TheRedMagic TheRedMagic released this 16 Feb 16:58
· 322 commits to master since this release

Events

When using this api for events you won't need to register any events or even extend the Listener Class. The only thing you will need to do to make events work is create a method with the @EventHandler and the event type as the first parameter. (See below)

Kotlin

@EventHandler
fun onJoin(e: PlayerJoinEvent){
    //Code
}

Java

@EventHandler
public void onJoin(PlayerJoinEvent e){
    //Code
}