promotional bannermobile promotional banner

FrogAnnounce

Relays announcements you set, per the interval set in the configuration.
Back to Files

FrogAnnounce 2.3.0

File nameFrogAnnounce.jar
Uploader
TheLunarFrogTheLunarFrog
Uploaded
Nov 30, 2013
Downloads
767
Size
28.4 KB
File ID
756939
Type
R
Release
Supported game versions
  • CB 1.6.4-R2.0

What's new

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)

This mod has no additional files