NewAnnouncer
NewAnnouncer
Yay announcements.
If I'm Italian and your announcements are English how do I read it? Simply, I don't. If I can't understand it I won't read it.
Built with full compatibility with NewTrans, if you have the plugin installed you'll be able to have these messages translated. If your players have set their languages (or if you set it for them) they'll be able to understand your announcements far better than they used to. It means they'll read it. The more they read, the easier it'll be for them to play, to stick to your rules and to enjoy themselves.

Without NewTrans installed no translations would appear.
Features
- Regular messages broadcasted on a configurable interval
- Configurable prefix
- Ability to add and delete announcements ingame
- Broadcast order can be randomised
- Interval can be changed without reloading
- Messages can be translated if NewTrans is installed
Commands and permissions
| Command | Description | Permission |
|---|---|---|
| /newannouncer | Main root command | newannouncer.access |
| /na | Alias for above | newannouncer.access |
| /ann | Alias for above | newannouncer.access |
| /listanns | Lists all announcements | newannouncer.list |
Installation and setup
Installation is simple.
1. Download the plugin
2. Place it in your plugins folder
3. Reload your server
Setup:
1. Open config.yml
2. Edit the various properties you need to (such as prefix, messages, interval (and language if NewTrans is installed))
3. Save config, reload plugin via /na reload
Known bugs
- None. Find one or this list stays empty :)
Planned features
- Request new features if you want
History of the plugin
Eh there's not much to write here. Announcements were always a thing on servers. Regular messages such as those broadcasting a website or telling players about a useful command. What wasn't always a thing is being considerate of those not native to the language of the announcements. Typically servers would make separate announcements in their specific languages in order to facilitate the ease of reading however this does take time and often enough requires a translator to translate the messages for you (unless you know that language anyway). I already have a translation plugin so I thought "What if I could make an announcement plugin work with this?".
The announcement plugin itself was always something I wanted to code however I couldn't just two plugins self-coded exist next to one another and not make them work together somewhere, especially when one is a translation plugin which I can EASILY hook into. I made them work together and NewTrans is NOT a requirement. You CAN run the plugin without it (but you won't get translation support).
Welcome to this plugin. Naming is a similar story to NewTrans, I was uncreated and unoriginal. NewAnnouncer it is!
Planning on contributing?
Feel free to make a PR on Github with your suggested changes and a reason as to why and I'll consider your proposal. Github URL is https://github.com/BAI1/NewAnnouncer
Submit bug reports through comments, PMs or by opening tickets/issues here or on Github.
Check out my Enjin account if you want at http://thesystemn.enjin.com/profile/1380923
If you can't tell, 99% of the "Planning on contributing" is copied from my NewTrans plugin.
Thank you.
BAI1
-
View User Profile
-
Send Message
Posted Dec 19, 2014@BAI1
I almost always do too! The thing was it was fine until I added the colors. All I did was add color codes to it and next thing I know TROUBLE! xD I usually wrap my yml text in single quotes too, but for some reason I was thinking because your original example wasn't wrapped in quotes I could get away with it haha. (I guess I thought you had special regex codes in your code or something) Sometimes I can be an airhead. In any case, thanks for your help! All is well, and REMEMBER folks, always wrap your text in single quotes, escape ' like this ('don''t forget to escape the single quotes!'), or you'll look like a fool of a programmer like me! :D
-
View User Profile
-
Send Message
Posted Dec 19, 2014@BAI1
Ok, I thought that might have been the issue, I'm pretty sure it's yml eror on my end and now I feel stupid for bringing the whole thing Up. I should delete this post here with the error message to save you bad publicity :P
-
View User Profile
-
Send Message
Posted Dec 19, 2014@DrkMatr1984
hey I just sent you a PM with a copy of my config you can peak at.
-
View User Profile
-
Send Message
Posted Dec 19, 2014@BAI1
I'll run it through a yml parser quick and let you know. Also, check my edits, I didn't think you'd respond so quick!
I'll double check the encoding but I use bluefish to edit my yml files and have never had trouble with it screwing them up before.
-
View User Profile
-
Send Message
Posted Dec 11, 2014@BAI1
Thanks man! You are an AMAZING coder. I took a peak at your code and it's very efficient, and all of your plugins seem well written. I can't believe they don't have more downloads. The Translation plugins are great ;) I'm from America but we have a few international users who come on. I always find it funny when they try to talk to their friends in their native languages like "This server is gay" or "This guy is a dick" and every totally knows what they're saying (Or an approximation) anyway because of the translations. :P And that's just the fun side of it. Very practical. Thanks again!
-
View User Profile
-
Send Message
Posted Dec 10, 2014This plugin is Awesome!
But... How do I use colors in my announcements?