Got a custom server and think Seasons is a bit boring? Now you can add some of your own additions to the plugin with the new API!
No Bug Fixes
New Feature(s) This may be a little confusing if you're not a developer (sorry).
New API in the plugin library, reference the SeasonsAPI class to get all information the Seasons plugin has on a specific world and make changes safely.
This is a bare version, there are no announcements in-game so you can add your own flare if you want!
New Bukkit Event for Season changes, reference the SeasonChangeEvent class in your listener which will be called when the season is changed. I've added 3 variables that should make life easier:
getNewSeason() which will show the season that a world is being changed to.
getWorld() which will show the world affected by this change.
isNatural() which shows if the season change was artificial (either through the API or command) or natural which occurs when a new day begins!
Weathers and Seasons are handled by Enums in the plugin. Made my life easier.
getName() will retrieve the formatted name shown when you do /seasons in-game.
getMessage() will retrieve the message announcement shown to everyone in the world on the season/weather change.
getSeason/getWeather() which converts strings into the correct Enum. If the String does not convert to any known Enums, you'll get null instead. Have fun with that!
These are all the safe API changes I have added. Feel free to nose around in the library. If there is anything else that might be useful, feel free to suggest it on the thread or by PMing me on Spigot!