Skip to content

kelp-v0.0.4 - "The events & scheduling update"

Pre-release
Pre-release
Compare
Choose a tag to compare
@PXAV PXAV released this 22 Oct 10:09
· 984 commits to master since this release
55cb23a

Hey developers! The new version of kelp has been in development for more than a month now, but there are some new exciting features to announce.

The focus of this update was to improve event handling and schedulers. Those two fields of plugin development are strongly related to each other, so I decided to put them into one release.

For the schedulers, the highlights are async scheduling utils and thread synchronization allowing to switch between the primary thread of the server and your scheduler threads. But there is also a wrapper for Bukkit's sync executors. The Subscribes annotation is a new and useful feature of the event handling system as you can put it above any method and this method is then executed every time the event is called. This allows you to still reuse your method as a normal method without having to pass an event parameter each time.

Have fun playing around with the new features, the wiki will be updated within the next few days.

Further information about the new release can be found in the new changelog. The changelog system has also changed and is now divided into different files.

The listed features are currently only available for 1.8. More versions will follow in the future.