FrogAnnounce 2.2.0

Details

  • Filename
    FrogAnnounce.jar
  • Uploaded by
  • Uploaded
    Mar 11, 2013
  • Size
    19.30 KB
  • Downloads
    962
  • MD5
    9cdaeb7e031d69512effa4d9c131a0c1

Supported Bukkit Versions

  • CB 1.4.7-R1.0

Changelog

Version 2.2.0

  • Updated to CB RB 1.4.7-R1.0
  • Removed ugly colour codes from console
  • Replaced a deprecated method call with an undeprecated method with the same function
  • Fixed an NPE with /ignore and /unignore
  • Fixed an NPE on start
  • Added &USE-CMD; - You can make FrogAnnounce run commands now! Usage: put this in the announcements configuration section, like so: &USE-CMD;op TheLunarFrog
  • Fixed another NPE while loading
  • Added dev-url field to plugin.yml, CraftBukkitUpToDate will now update this plugin automatically
  • Fixed /fa bc <index> never parsing announcement index and always announcing the first announcement
  • Fixed the plugin never notifying the command sender if they entered the announcement index 5 and they only have 5 announcements loaded, resulting in an NPE (the proper index would be 4)
  • Fixed several rare NullPointerExceptions
  • Removed some debug stuff
  • Added a way to send singular announcements to specific groups by adding &GROUPS;GroupName1,GroupName2,andSoOn at the end of the string, then closing the quotation marks. There can be as many groups as you like per announcement. Be minded that announcements that use this will not be shown to players not in the groups specified but such players will not receive a different announcement instead - as it was deemed too resource intensive (see here)- perhaps, in the future, there will be a method of making them receive a random one that they can see, or a heavy-duty mode that just skips that one and goes to the next one they can see.
  • Bugfix: commands not running when using /fa bc
  • Bugfix: don't return /fa to the user when they don't have any permission to do anything, but tell them so instead
  • Bugfix: /fa bc didn't ignore players who had toggled announcement ignorance on
  • Bugfix: toGroups setting would announce multiple times if a player was in multiple groups that were specified in the Groups setting
  • Bugfix: /fa bc ignored the toGroups setting, announcing to all groups, even if there were ones that it shouldn't have
  • Finally officially added ignore/unignore commands: using /fa ignore will make you no longer see announcements, while /fa unignore will make you see them again. Adding a player's name to the tailing end of the command will make them ignore/unignore announcements.
  • Added permission nodes to go with the new ignore/unignore commands: frogannounce.ignore, frogannounce.unignore, frogannounce.unignore.other, and frogannounce.ignore.other - all of these are fairly simple; the former two allow self-ignorance of announcements, while the latter two allow you to force others to ignore announcements, these come with frogannounce.*
  • Improved announcement code pathing slightly, making the plugin run faster (even though it took less than 1/10th of a second to announce before)
  • Added the ability to configure whether or not you want to see when announcements are announced in console - add this to your configuration:

Under Settings:

    #showConsoleAnnouncements: Should the plugin display a message saying that it is announcing now, with the announcement?
    #Default: false
    showConsoleAnnouncements: false
  • Added the ability to display a message to players on join - add this to your configuration:

Under Settings:

    #displayMessageOnJoin: Should the plugin display a message to users when they log in? Will not display if they are opted-out of announcements.
    #Default: false
    displayMessageOnJoin: false

Under Announcer:

    #joinMessage: A message you want to display the users when they log in.
    #Default: Welcome to the server! Use /help for assistance.
    joinMessage: Welcome to the server! Use /help for assistance.
  • Added the ability to make specific announcements go to only certain groups. This function requires Vault! To utilize this feature, just add &GROUPS; followed by the groups you want that message to be sent to, separated by commas, for example:
Announcer:
    Strings:
        - "I like frogs!&GROUPS;Administrators,Moderators"
        #Caution: everything after &GROUPS; will be removed. Make sure it's the last part of the announcement!