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
@Destro168
Well yeah it's not that bad actually, just add some colors to the commands to make it a bit easier to read and most definately pages so we can see all the commands. And it should be good to go :D Tho your the only announcer plugin developer who has its direction on group based announcements.
But i guess we have to work with what we got if I cant code for myself.
Thanks
Yeah, I was looking into it. I don't think that I will use ticketing though as I am "fairly' satisfied with what the plugin does. I don't really have ambitions to make this the end all be all of announcement plugins that is way better than every other one by allowing you to set zones with custom announcements, and tons of other stuff, haha. Maybe one day I'll come back and do that though or maybe somebody else will (open-source). :P
The next release will probably be an extremely final version that won't be feature updated, just mostly kept up to date and kept bugfixed. I had to think about the direction I'll be moving forward in with my plugins and I want to keep my plugins very modular. I don't want them to be really big and I want them to fulfill a very specific purpose. So adding a ton of features seems very unappealing to me now...
I would do unlimited announcements but the problem with that is eventually there are potential performance issues related with really high amounts of announcements (at least I would think so) as lines from the config file would need to be accessed and searched many times. Or I could load the entire config up into the plugins memory and have it read like that which shouldn't be that bad. I'll test with a limit of 1000 though and see how it works out (of course after I fix up the config file editing (if I ever get to that :|)). Eh it's just something I'll look into. :P
I'll look into compatibility with other group plugins as well.
@Destro168
The Bukkit Dev page has built in ticket support? Some use github for that.
If you open a plugin in Bukkit Dev there is usually a Link "Ticket" next to the "Download" page.
Admins who have access to the local machine files can find adding and editing the announcements thru the config a big easier but those who cant have access can still add them ingame thru commands. And are the announcement limits hardcoded into the config?
I think an ID system would be better to have unlimited announcements.
But the main aspect are the groups. In CraftBukkit servers its all about permissions so group based plugin/announcements is the way to go.
I find the HelpPages plugin to be the best of a group based plugin :D
-tickets: I will look into this. I don't know how to setup a ticket system for my plugin through dev.bukkit.org but I will figure out if it's possible, and if it is make one. If it doesn't I'll find an external site. :P For now you will have to settle for commenting though.
-user input: I will do user input validation at a later time. You will get errors if you mistype the majority of the commands. I had attempted to check out everything earlier but the build failed miserably and I had to revert to a backup. That's more of a nice thing to have rather than something absolutely required... unless your whole server and the plugin crashed when you mistyped the command, in which case I'll look into it as an extremely important bug and fix asap.
I hate to put this on the backburner (which really could only be a few days or a week at my development rate), but there are some really important aspects of the plugin I need to concentrate on.
-betterconfig: I honestly didn't intend people to edit the configuration file so pretty much everything in there is just a bunch of information. When I used the plugin I designed everything to be accessible through commands because I didn't open and edit the configuration file at all. I'll look into more organized configuration files at another time. This will have to go on the backburner too while I focus on some other stuff.
-Customizable announcer tag Yeah definitely. I hadn't thought of this, I'll make sure in the next version you can change the announcer tag to whatever you want.
There might be a few potentially important bugs I have to look into so I've just got a TODO list right now. After the most important parts are extremely solid and working well and perfectly for sure, I will add a bunch of random stuff just to make it even more complete.
Thanks for the feedback! It is really insightful.
It's quite rough still. If I could I would redo the config and think of a bit better setup and system. Also you need pages + color for your commands. Pages for your /announcer list 1 command.
But this plugin has potential.
Also make the Announcer tag customizable (text + color)
I did /announcer help without the 1 and I got an error
2012-01-17 14:59:32 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'announcer' in plugin UltraAnnouncer v1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:385)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.ArrayIndexOutOfBoundsException 1
at me.Destro.UltraAnnouncer.UltraAnnouncer.onCommand(UltraAnnouncer.java:271)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more
It would be great if it would display some command help if a command is mistyped.
Maybe add ticket section for features, bugs etc?
It is released already KJanar! The server I mainly play on has integrated this to their plugin lineup!
Colors will be coming in the afternoon or late tonight very likely. (it's 2:28 AM for me) as well as a few updates...
@Destro168
Sweet. We need good announcement plugin with ingame commands since there ain't none thats being updated. I hope to see a release soon :D Glad to test it out
Thank you for the response to my plugin!
I have to say that a lot of the features you listed are actually included now. The reason I set the plugin to alpha was so that I could have a chance to create all the information for my account and the plugin information before having it like "fully completed" and then recieve a million comments on why it isn't working as I described. I really just want to release a 'core' plugin that may be a little bit rough in terms of some "looks cool" but works well functionally.
Anyway, on your list, these are all included 1,2,3,4,6 (I use PermissionsEx ;) ), 7, 9, 14 (if I add the buying idea I will need to have more permissions for commands players can use vs. admin cause right now all commands are admin), 15 (kind of sort of in already, don't know).
These aren't included 5 - Interesting concept. I will consider adding this later. Not going to be in this main release for now but might add later.
8 - I like this, will likely add in a future version
10/11/12 - Kind of similar, will add in future version probably.
13 - This is actually on my list of "things to do" for the plugin. I will add later.
Anyway I'm working on the post and everything right now so expect changes soon!
Cood idea.
If you can then add:
1. Ingame comand to add annoucements
2. To remove
3. To set announcement interval
4. Make group specific announcements
5. Iconomy support to buy a ID to post a nnouncement
6. PermissionsEX (PEX) support most definately
7. Command to reload plugin
8. Export/import announcements
9. Command to turn on/off the plugin
10. Fully custom output (allow custom tag name, custom tag color, custom text color)
11. Add color support
12. Add word wrapping
13. Make personal announcements, so admins can make custom annoucnements for specific players reminding them not to grief or something else thats specific to a player
14. Administrative admin commands
15. Permission nodes for everything
Thats all for now :D Thats my vision of a fully awesome announcement plugin. :D