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.
@redundantgaming
Hi,
Try enclosing your announcements in apostrophes, like so: 'do stuff, ...'
Edit: Nevermind. I'll take a look at this.
Edit 2: Could you please paste your configuration?
Edit 3: I have a make-up AP test to take tomorrow, I'll look at fixing this after that (for now, time to cram)
I loaded in my 1.7.5 test server with this plugin and used the command to add a new announcement (I added the message "&l&bTEST") and everything crashed. When I restart the server it keeps crashing. Heres the logs of when it crashed on startup. http://pastebin.com/YzXjWdmq
Umm, should announcements happen straight away once the plugin is installed, without having to make any changes to the config? Nothing is happening at the moment?!
Thanks, Just what I need for my server!
Perfect! Just what I wanted!
Version 2.4.0 has been uploaded and is waiting on approval. It includes independent announcements, which will not interrupt or delay the schedule of synchronous announcements at all. All you have to do to mark an announcement as independent is add the key "Interval" to that announcement, i.e. Interval: 5. If left at the same interval as the synchronous announcer, the announcement will fire at the same time as the synchronous announcer.
More information on this update is available on the changelog page.
@TheLunarFrog
Lol, that was easy, thanks for the help! :D
@BashyDaBest
While the colour seems to be yellow, you can just use &e; (note the semicolon). If you have any more issues, let me know.
@TheLunarFrog
Mind helping me with something? Whats the code for &e for FrogAnnounce? I've tried &YELLOW; or &LIGHT_GOLD; Non work, got any idea whats the code?
@Destroyer_xI
I'm aware, based on the previous comment and a ticket has been created already.
using the latest bukkit builds, empty config files are generated.
inputs full configuration file.
/fa add testtest
Added!
/fa bc 1
an internal error occured
@JustisR
Thanks for the stacktrace! I will work on fixing this (I know what's wrong, based on what you've given me)
The different interval feature should be coming fairly soon. It's a pretty simple feature at this point.
@TheLunarFrog Thank you so much for the quick reply.
I've pasted the error it first gave me here - http://pastebin.com/jAuw33Lj - I have never had a problem with plugin's generating files automatically for me before. This was a first. No longer an issue to me anymore.
I do really look forward to the ability to set different intervals. And thanks for the info regarding the apostrophes, I'll keep that in mind.
@JustisR
Thanks for the compliment! I'd just like to point out that, while I do not ignore comments, if you have an issue with a plugin, you should submit a ticket, as a lot of people on bukkitdev will ignore your request if you don't. Beyond that, I will address your issues in order of which you mentioned them:
1. I'm unsure of what you mean by that. Can you make sure your security settings (i.e. OS, antivirus, etc. - I know Comodo has an issue with programs creating files, until you add an exception in its security rules for Bukkit's Java process) and your folder settings (such as the directory's chmod if you're on linux) to make sure that it doesn't create a default config for you? Is an exception thrown into the console at all? Or does no error appear? If you watch your console and have colours enabled, my plugin may or may not stick out (its console messages are always headed with a dark green '[FrogAnnounce]'), hopefully helping you find this information.
On my local machine, the default configuration does generate, so if you're having an issue getting it to generate, I'd love to get that fixed.
In the meantime, however, check out the default configuration posted on BukkitDev in this plugin's pages.
2. That feature exists already. If you look at the configuration page, it allows you to specify a group for only that announcement to announce to. For example, if I have:
...Then the announcement will only announce to the Default group, if that's what your default group is called. Please note, however, that Don't should actually be Don\'t - this is explained on the special function explanations page. I don't believe this has been fixed yet within SnakeYAML, the library which Bukkit uses for reading YML files (or, well, changed - it's intentional).
Unfortunately, I haven't yet added a functionality to specify an individual announcement's interval. That feature, however is planned.
In addition, at the moment, the announcer will not look for a different announcement to send to those not eligible for the current announcement, i.e. if there's another message that goes to everyone, but player X is not part of the Default group and the aforementioned announcement exists, player X will not receive that other announcement in place of the current one. This functionality was deemed too taxing on the server, as it could potentially run through a very long list of announcements if none of them apply to a given player - and this would happen every time the plugin announces. This functionality is also planned however, but it will be toggleable (you can turn it on and off at will), defaulting to off when it's added.
If I misinterpreted what you're asking for, please clarify.
Thanks! Happy holidays to you, too!
Hey Frog, Love this plugin. Very well done. But I have two suggestions.
1. Could you mention that if you download the newest version without previously having a config file for it, it will break. I downloaded it to my server, started it up, and it immediately gave me an error. I looked at the files it generated and the config file it made was empty. I copied and pasted the new config you provided (thank you for that) and restarted my server, everything is working fine now.
2. This plugin is ALMOST perfect... I'm gunna have to use two different plugins like this though because my server needs for the times between announcements to be configurable per announcement and group... To explain what I mean by this... I need to have an announcement say "Don't forget to pick a class" to the default group every 30 seconds, but I want for people with a class to NOT get that message and especially not every 30 seconds. If I have somehow overlooked this, and you have already implemented it, could you point me in the right direction? If not, adding this feature would make my life a lot easier, and this plugin even more appealing.
Thanks for your time. And happy holidays.
2.3.0 uploaded; waiting on approval. For changes, see http://dev.bukkit.org/bukkit-plugins/frogannounce/pages/change-log/
I am currently working to finish up things unrelated to BukkitDev, and will update my plugins on BukkitDev when I am finished. I will be updating my plugins in order of FrogAnnounce, then LagMeter, then FrogBox. FrogAnnounce is first because it has few updates to go before it is ready, while LagMeter requires some more work.
Thanks for your patience.
@Cheeserweezer
Well, it's great that you wanted to try out my plugin. Sorry you had an issue with it, but it doesn't really seem like you have used a bukkit server for very long. I need a stacktrace from your server console if an error occurred, or you're doing something incorrectly.
Please take the time to google what a stacktrace is, and/or what it looks like, and post back with what you retrieve from the information out of your console/server log.
Be assured, however, I am very busy, and I am not able to track down every single person that requests something or has a bug; you must respond to me on this website, or you will not receive a response.
My title is software engineer. Not stalker. I will not log into your server, I don't hand out my IP. Not only that, but if I chased down every person that tried to get ahold of me then left, I would be years behind on all of my work. Sorry.
Mine works fine. I love this plugin :)
Hey i had a problem with this plugin. i put it in my plugins folder and reloaded. Nothing happened! I have been looking for a plugin for such a long time like this. And yet again a plugin that just doesn't work! I'm not sure if u need to update it or something but it just plain doesn't work. No file came when i reloaded or anything. PLease do something to make it work! - Cheesewizzer You can find me on my server: 24.14.26.211:25565