FrogAnnounce

Relays announcements you set, per the interval set in the configuration.

File Details

FrogAnnounce 2.3.0

  • R
  • Nov 30, 2013
  • 28.35 KB
  • 719
  • CB 1.6.4-R2.0

File Name

FrogAnnounce.jar

Supported Versions

  • CB 1.6.4-R2.0

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)