This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
v3.0.1: Minor plugin improvements
This is a small update making some improvements to the code, while also fixing a few minor things.
Improvements
- Created a
BukkitCore<F>
class to extend theJavaPlugin
class and implement thePluginCore<F>
interface respectively.
This allowed me to simply provide the class instance for cases where either a JavaPlugin or a PluginCore instance was needed. - Made
AdvancedServerList
have a Type parameter (So it becameAdvancedServerList<F>
This was made to get rid ofPluginCore<?>
usage, which I wasn't a big fan of. - Unregister PlaceholderAPI expansion when plugin is disabling itself. This should allow support for using
/reload
(Although I do not recommend using that).
Fixes
- PlaceholderAPI expansion not being set as Persistent. It should now no longer be unregistered when using
/papi reload
- JoinEvent class not being registered as a Event listener