FrogAnnounce
FrogAnnounce
An auto-messaging/auto-announcement/announcer/thing system for your minecraft server.
Bukkit version doesn't matter for this plugin. Please don't ask me to update it for that reason.
Description
Okay, so here's my first plugin which I've actually released that isn't amazingly small-scale. It's a fairly simple plugin which relays messages, at the rate in minutes, set in the configuration. It allows for colours, multi-line messages, message cycling, and message shuffling. I made this because I've seen a few plugins like this, but they're either out-of-date and don't work, or they just don't work, period. From thereabouts comes this plugin, FrogAnnounce. I know the name is lame; I'm not creative with names, sorry.FrogAnnounce 2.0.1: Review By: UltiByte
Download
StableVersion: 2.5.0
Build date: 28 May 2014
BukkitDev Download: Latest Build
Not-Always-So-Stable Source
GitHub: TheLunarFrog's SourceFeatures
- Announcements relayed to the entire server at the specified rate
- Random or sequenced (configurable)
- Ability to store as many announcements as you want
- Force an announcement to run immediately, without interrupting the normal announcement cycle or schedule
- Opt out and ignore announcements, or opt-in again and be unignored to see them again, controllable with permission nodes
- Ability to announce everything to only certain groups (improved in 2.3.0).
- Ability to send specific messages to certain groups, i.e. announcement 1 to group administrators, announcement 2 to moderators and donators (improved in 2.3.0)
- In 2.3.0: Ability to announce everything to only certain worlds
- In 2.3.0: Ability to announce only certain announcements to certain worlds
- In 2.3.0: Ability to combine any of the preceding 4 conditions (global groups, announcement-specific groups, global worlds, and announcement-specific worlds)
Planned Features
- Any suggestions are welcome.
@Niverive
This seems like a configuration issue. Paste your configuration, please. That, or paste your configuration here: http://yaml-online-parser.appspot.com/ and fix any errors it tells you exist, if any.
I get the same errors as noyougirls when trying to turn Announcements on.
http://pastebin.com/TQpf4DKe
Please fix, this is the only Announcement plugin I could find that supports multi line Announcements.
@TheLunarFrog
I would also like multi-world, as in specific announcements to specific worlds :)
I get the "An internal error occured while attempting to perform this command."
I have added the frogannounce.* permission to the Owner group and even tried to OP myself.
I posted some of what I see in the console. http://pastebin.com/DxMKJtsh
@Ubique1964
Depends on what you mean by multi-world. If you mean certain announcements going to certain worlds, no, submit an enhancement ticket for it.
If you mean announce to everyone on the server, yes.
mate does this have multi world support? If not when can you get it up and running. Your announcer s the only smooth running one I have found, I have been looking for the past 10 hours
@Ubique1964
Can't reproduce; therefore, cannot fix. Should've pasted the exception which appeared in the console.
An internal error occurred while attempting to perform this command
This is without modifying anything in the plugin
SOLUTION: Even if you are the Owner of the server you still need the frogannounce.* permission
Updated for 1.5.1. Changes are already viewable in the changelog. Now works with java 6.
As with LagMeter, I will not update to 1.5 until a beta for bukkit is released. It works fine as is with 1.5 regardless.
@leiger
Update for 1.5?
Brilliant plugin, about the only one that actually works and hasnt bugged out on me! Good job!
@TheLunarFrog
Of course, that was what I expected. Just wanted to clarify exactly how it worked :)
Thanks for implementing the feature!
FrogAnnounce version 2.2.0 is now up for approval! Sorry for the long wait, guys!
@leiger
It will just not appear to those who are not in the specified groups. It is possible to make it so that players get the next announcement when they're not in those groups, but unfortunately, that would require a ton of resources. It would ultimately involve a HashMap of counters, by String (player name) as the key, and Integer (the counter for which announcement it's on) as the value.
Unfortunately, as it would be necessary to iterate over the HashMap to increase the counter for every player, check if that announcement would go to them, and then if not, loop back to increasing the counter, it would take a lot of power to run one announcement, as well as memory.
So for now, that's the way it will be. In the future, there may be an option like "heavy-duty/lightweight" modes where, if you do have a more powerful server that can handle such a feature, you can turn it on. As of now, however, this does not exist.
@TheLunarFrog
Sounds great!
How will this work with scheduled announcements? If announcements are set to appear every 30 minutes, and I show the current one to new players only, does that mean all other groups do not see an announcement this time around and must wait longer before seeing one?
@TheLunarFrog
Nevermind that. It'll probably be in this format
And I've pushed a version of this that I have not tested to GitHub. Will test and fix up tomorrow if there's anything wrong with it, then release a new version of FA.
@leiger
That will be implemented soon, just contemplating how to do it. I'm thinking groups will just go after the announcement, separated by a semicolon from the announcement, and delimited by colons between groups, i.e. - "TheLunarFrog is still unsure if this is how it's going to work";Administrators,Moderators
I notice that you have this listed as a planned feature:
"Ability to send specific messages to certain groups, i.e. announcement 1 to group administrators, announcement 2 to moderators and donators."
Just started using your fantastic plugin today, and I'd love to see this implemented! :)
@BorgataCraft
That error is caused by a section of my code which only triggers if your configuration is invalid. Check your config! Make sure you didn't use any tabs, and make sure none of the keys in the file are next to the colon, i.e. toads:true is wrong, while toads: true is right. If you can't figure it out, paste it on pastebin or bukkit's paste area and give a link in a post.
Regardless, I'll fix the error.