You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
We are also changing how you can handle listening to events and creating custom events.
Listening
Inside of Bukkit you need to implement Listener and then register the class / method. We have changed this so you don't need to do that stuff (See below)
event<PlayerJoinEvent> {
//Player Join
}
Custom event
Inside the Bukkit api if you want to create a custom event you will need to extend Event class and if you want to make it cancellable you will to implement Cancellable as well. When you did that you still need to add the HandlerList. I think this so a bit much so create a new system to quickly and easily create custom events. You only need to extend UndefinedEvent add the values you want in the event and thats is. (See below)