FC_Announcer
FC_Announcer is a highly advanced automatic announcing announcer/broadcast plugin that grants absolute mastery over automatic server announcements. FC_Announcer allows you to create and manage groups of announcements that are customizable by permission, zone, and world. This allows one to specify the exact target groups of announcements. Edit the configuration file or read the one page of help and use commands, either way, the days of undesired announcements are over!
To demonstrate the power of FC_Announcer, I present a perfect example utilizing all of the features of FC_Announcer. Please note though, this is the most complex example that can be given demonstrating all features.
Problem: You want to create a jail where jailed players see the rules being repeated over and over again. However, it is imperative that visitors to the jail, aka non-jailed players, do not see these rules. As well, you have jails in other worlds and you don't want to worry about players in different jails in different worlds seeing overlapping announcements.
Solution: Create your normal announcements that you want. Then you set up the zone for that jail as well as define the worlds. After giving the "Jailed" group on your server permission to see the announcements, you now have a perfect jail that will repeat rules to only jailed players in certain worlds.
To get started using the plugin, visit this link: FC_Suite_Shared
For information on making tickets or contact information, please visit: Click Me
The problem with you posting it here is that there is no indentation which makes it brutally difficult to read.
I'm glad you fixed it. :)
I take my eta back for this weekend on the bug fixes. I've spent a few hours today and honestly I'm thinking that I'm going to have to do some more massive rewrites or at least some more complicated algorithm design. The version that is up right now "works". It has a few rare odd cases that I didn't account for that I need to add in and some stuff will work reasonably well "in theory" but I need to test to make sure they work because I think some won't work "in theory". If you are unsatisfied that it doesn't work with other permission plugins I'm sorry but you will have to wait. There is no point in me adding support for other permissions to a buggy plugin.
@Destro168 Good News, I think I figured it out.
on the last line of my config, under group1, it says '1': '&bThis is the second announcement!
Each group can contain multiple messages, but they have to start with 0(and possibly go in order, i dont know). As soon as I change the message to a 0 it worked.
I also had group2 and group3 set, and the messages for group2 started with a 2 and group3 with a 3.
anyway, heres a repaste of my config. I gave fc_announcer.view.0 permissions to player1, and fc_announcer.view.1 permissions to player2
'0':
isCreated: true
isActive: true
interval: 15
totalLines: 1000
'0': only player1 should see this message
'1': only player1 should see this again
'1':
isCreated: true
isActive: true
interval: 15
totalLines: 1000
'0': only player2 should see this message
'1': only player2 should see this again
Sorry for taking up so much space here, but I was determined to get this working, and like i said this was a little confusing for me....so i wanted to paste this working config for others to see. You can create group2 3 4 etc, just make sure your messages start at 0 for each group
I changed the way I'm accepting reports on issues, you absolutely must create a ticket from now on.
The -1 is really bad in your config, if you are generating a -1, that means there is a code error on my part, and/or possibly you entered a command I didn't expect and it made a -1 so I don't know what generated the -1.
@droppositeoh, and at the bottom of the config file, it puts this in
'-1':
isActive: true
it sits in the same column that the other groups do, so i assume this is a group of somekind. it wasnt there when i setup the '1' group, but it was there after i rebooted the server
@Destro168Here is a paste of it
configCreated: true
version: 3.02
BroadcastTag: '&b[&3FC_Announcer&b]&f '
autoEnable: true
Announcement:
'0':
isCreated: true
isActive: true
interval: 60
totalLines: 1000
'0': '&bThis is the default UltraAnnouncer announcement! Type &3/announcer&b for help!'
'1':
isCreated: true
isActive: true
interval: 60
totalLines: 1000
'1': '&bThis is the second announcement!
all i did was copy the 0 and paste it below, and changed the 0's to 1's and changed the announcment so i knew when it worked.
thank for your replying btw.....i have been searching forever for a decent announcing plugins that is permission based and this is the only one i can find. i really really want to get this working :)
If you are adding things into the configuration file, and you are having problems, you absolutely most post the config for me to see. There is nothing I can do to help you or make fixes if I can't see what is causing the issue.
There are a few bugs I've fixed in the code, that "could" cause issues. I say "could" because really they can only be caused if you are adding stuff to the configuration file by hand. If you skip group 0 in the configuration file, like literally, if you leave it empty, and just put stuff into group 1, then you "might" get errors. I'm not exactly sure, I have to do testing. A lot of what I am saying is based on theory of the code and how it works. There are a few areas that I have fixed. I will probably have to do even more optimizations and testing though.
I too had the same issue. I have the admin perm set in PEX, and it says Failed to perform command.
I went into the config and setup a group called 1, I gave myself the following permissions
announcer.admin - announcer.view.0 - announcer.view.1
i see the default group 0 message, but not the group 1 that i created
i remove fc_announcer.view.0 group and just left the view.1 group in PEX, but now i dont see anything
seems like only the default group 0 works.
my console is showing once a minute this message No announcments, please disable all groups and autoenable if you don't want to see this message, Or add announcements :)
It was also a little confusing about the proper syntax of adding messages to groups in the config and adding new groups apparently since i cant get it working either
thanks
I have been extremely busy with stuff over the weekdays, I have free time mostly on weekends. It's my summer vacation at college, and I have responsibilities to earn my keep. Like today I spent my entire day going to, attending, and returning from my brothers graduation of a military course (8 am to 7:40 PM, literally about 12 hours).
I will be doing permissions for both of my plugins starting tomorrow morning (including zones for announcements). I need to make sure I test everything very well this time, I do not like releasing buggy stuff, but I have no testers (shrugs). Maybe I will set up dev builds going forward. I'm just trying to think all this stuff through. I need to make sure everything is optimized and efficient.
So I would say expect a release either on Saturday night or on Sunday night. I "might" have to go onto Monday but that's only if there are major complications.
So yeah, there you have your responses .
Aww.. only pex =( Hook into Vault. its easy
Can you give me an estimate of when you plan to implement Bukkit Permissions to accomodate other permissions plugins? I just had to switch from Permissions Ex to bPermissions because I wanted a big RPG plugin that didn't cater to heroes. I really miss that * node, but I would like to know if you are actually already working on Bukkit Permissions integration.
Could you make sure you are using permissions ex and that you have given yourself the admin permission node (you probably have this right but I just have to include mandatory). If you are having issues with announcements not displaying then you probably need to give the "announcer.view.[group]" permission node ( I think this is more likely ).
Tell me what commands you are using and please host your configuration file somewhere (pastebin is fine) and I can see what is up. The "Failed to perform command" message appears when you fail to enter a command, but it's good when you get that, because it means that my program actually caught you entering a wrong command (which is good). Tyty, looking forward to helping you out.
edit: Hey I realized I had the wrong permissions listed on the front page (woops, forgot to update). MAN, I did this to both my plugins. Won't happen again! Use FC_Announcer.view.[x].
Hey, I am attempting to setup announcements, but either I really don't get this, or the plugin does not like me. It seems that whatever I type, I get "Failed to perform command.". Any ideas?
I am just trying to setup announcements and groups. I now cheated and used the config file and I can get the announcements to list, but they do not display (I set announcement privileges to myself every 5 seconds to see and I got nothing). Upon using /announcer list groupnumbehere, they show up however.
Am I missing something?
2 more downloads for 1,000, hahaha :P
:O
It shall be done soon! I'm going to do zones and extra permissions in one bundle update in the near future. No worries!
Please add support for Essentials Group Manager! :)
I put up a new version, fixes a bunch of stuff, hopefully this conversion from the "FINAL" release version to the newly updated 3.0 version is good to go for a while. I want to add a lot of cool features and just couldn't until everything was stable from this conversion.
Should be all clear now to move forward big time.
Thanks for the swift fix (:
There is an absolutely MAJOR bug with my plugin that I have just found. I am very noobish with the scheduler. God, I can't believe how bad this bug is.
I would highly recommend everybody remove the plugin from their server right now. I am using the cancelAllTasks() function and I didn't realize that it will cancel tasks from other plugins. So you could potentially have tons of other plugins be disabled by using my plugin.
I'm sorry about this. It will be fixed shortly. I am glad I found it as soon as I did.
edit2: Update out, fixes stuff. No zones in this update but the plugin will not kill servers now. Haha.
edit3: Found a new bug, pretty big also. Going to take a bit more time to fix this so I don't have to keep reuploading.
edit4: Ok fixed for good.
edit5: Ugh more issues, since it's not approved, going to delete the version I put up and make the changes
edit6: Alright, FINALLY fixed everything that was buggy. Tested a lot of features, things were messing up. Everything is good now. I spent 3 hours making sure everything is good and there aren't issues now and coding to fix those things. *whew*.
edit7: Some commands aren't working it seems ugh. I don't understand how they break. But I will be looking into them. Nothing major is buggy or broken so I won't update as of yet. I need to do more testing. If you want to add more announcements, etc. just add them through the config for now. Remember to always increase total lines whenever you add an announcement.
edit8: This is getting long, if anybody follows sorry. It seems that there are still some pretty major bugs in the plugin that I'm uncovering. I spent a lot of today fixing up FC_Bounties. I'll spend the majority of tomorrow fixing up FC_Announcer. So many hours of coding, but it's all for a good cause! Expect a release tomorrow night and sorry for the bugginess.
Wow 71 downloads in 1 day. Awesome! :D
Thanks sheepwool7 for the feedback. :)
I'm going to probably add zones to it next, so that announcement groups only go to particular zones if you want. Before this would be nearly impossible to do and somebody wanted this request. Now I can do it quite easily, I'll end up doing a lot of coding today.
edit: CRAP. Now I remember why I had the ignore list. Most stuff uses inheritance, ugh. The FC_announcer.ignore.[number] node will be returning. It's a VERY easy addition. I'll have an update in the coming days. It shouldn't be too much of an issue right now, just use negation on Pex if you don't want to see an announcement.
It is working great (: