File Details
FrogAnnounce 2.3.1
- R
- Jan 17, 2014
- 29.44 KB
- 714
- CB 1.7.2-R0.2
File Name
FrogAnnounce.jar
Supported Versions
- CB 1.7.2-R0.2
Version 2.3.1
- Fixed an issue which would cause the plugin to fail to generate a default configuration, then throw a NullPointerException because it failed to load the default values as well.
Version 2.3.0
- API: Added announcement listeners, fired when announcements are performed. Use FrogAnnounce.getInstance().registerSyncAnnouncementListener(new AnnouncementListener(){ ... }) to register your synchronous listener, or replace Sync with Async to register an asynchronous listener.
- API: A lot of methods are now public, so that other plugins may use them. Be aware that internal operations are still private. Download the source as a .zip and use that as your library's source (should also include javadoc).
- Majorly refactored the configuration. See https://raw.github.com/TheLunarFrog/FrogAnnounce/master/main/resources/Configuration.yml for the new format.
- Implemented automatic conversion from the old configuration version to the new one.
- Frontloaded as much processing time as possible when loading the announcements, as compared to the old way of doing it when it was to be announced.
- Added a warning message if all announcements are disabled or none exist.
- Cleaned up configuration loading.
- Fixed a bug where the configuration would not reload if the plugin was reloaded by an external source (i.e., another plugin).
- Console messages have been revamped, and now show colours.
- Fixed a bug where the folder for configuration existed but the configuration did not would throw an exception. Now properly generates default config.
- Optimized a bit (less variables, simplified statements, less assignment redundancy and redundant checks)