BetterAnnounce
BetterAnnounce
What is it?
Just another broadcast plugin, but it is meant to use as little server resources as possible, and still have capabilities to rival other broadcast plugins on here! Currently supports color codes, prefixing messages and custom intervals. If you'd like to see more features, please make a comment or file a ticket requesting the feature you are looking for.
Why, if there are already a multitude of broadcast plugins?
The thing I most dislike about other plugins is that they are so wrapped up in providing support for this and for that because of commands, they do not see the performance drops they are getting from their plugins because so many different features are being used at a time. My plugin aims to change this, as it is a one-class, 100 line plugin and still has much of the capabilites that those very plugins have.
Permissions
In order to use this function, you must enable group-announce.
announcements: default: - 'BetterAnnounce rules!' - 'You can even use &4COLOR CODES&f!' - 'Real men use &3BetterAnnounce&f!' moderator: - 'Your administrator has installed &3BetterAnnounce' - 'Let them know they''ve made the right decision!' admin: - 'Good job admin, you''ve successfully installed &3BetterAnnounce&f!' - 'You can now change these messages, as well as the permission node they will apply to in the config!'
In this example, everyone would get the "default" announcements, but only people with the permission nodes
betterannounce.receive.moderator
and
betterannounce.receive.admin
would get the announcements under their respective categories.
Configuration
Very simple configuration, can even be edited on the fly and all changes will be immediately mirrored, with one exception - interval period. Interval changes will not take effect until the next reload.
Using contractions When using contractions such as can't, won't and we're, follow the steps below.
announcements: - 'I'm an announcement that won't work properly!'
announcements: - 'I''m an announcement that WILL work properly!'
Supported Color Codes / Formatting Codes
Check 'em out here!
Quote from maxpowa:Supported Color and Formatting Codes
Color Color Code Common Name █████████ &0 Black █████████ &1 Dark Blue █████████ &2 Dark Green █████████ &3 Dark Aqua █████████ &4 Dark Red █████████ &5 Purple █████████ &6 Gold █████████ &7 Gray / Grey █████████ &8 Dark Gray █████████ &9 Indigo █████████ &a Lime Green █████████ &b Aqua █████████ &c Pale Red █████████ &d Pink █████████ &e Pale Yellow █████████ &f White
Format Code Common Name Magic - makes the distorted-looking, constantly changing text &k Random Bold &l Bold Strikethrough&m Strikethrough Underline &n Underline Italics &o Italics Reset - Resets all text effects, including color (turns color white) &r Reset
WARNING: If a color code is used after a formatting code, the formatting code will be disabled beyond the color code point.Quote from MinecraftWiki:&cX&nY (&c X &n Y)
Would be seen as: XY, where as
&nX&cY (&n X &c Y)
Would be seen as: XY, and
&cX&nY&rZ (&c X &n Y &r Z)
Would be seen as: XYZ
If you would like to buy me a coffee each month, just throw a pledge on my Patreon page!
@MineCraftMyph
I would update, but all my source code is currently on one of my laptops which has decided to break, and no longer boots up... I guess that's what I get for buying a Dell.
BTW: The donations section was just there in case someone felt like being a nice guy, and help put money towards my new computer :3
@Maxpowa
Great plugin, however writers usually receive several donations from 'Updates'
Still using it, and glad to hear your capable to construct such a essential plugin with 'absolutely 0 help'
Keep up the good work =)
@Deckerzmc
U mad bro?
@Maxpowa
So mature.... I don't need you advertising your shitty plugin on my page...
@Deckerzmc
Release dates bro... Also, mine was a complete self write with absolutely 0 help from other plugins. But I don't really care, I can suck it up, because I'm more mature so I won't become anymore involved in your bullshit.
@Maxpowa
Who's the one with 2K downloads?
@declanmc96
I don't need you advertising your shitty plugin on my page... Go somewhere else with your stupidity. (In case anyone is wondering, I deleted his comment)
I'm glad you decided to go against commands and permissions. Simple, fast, efficient (the last to could be considered the same...)
@MineCraftMyph
Sadly, approval can take anywhere from 20 minutes to 20 hours :/
Waiting for approval, how long does this process usually take?
Thanks for your support =)
@MineCraftMyph
New version with the features you mentioned is waiting for approval!
@watdidyusaey
I could do that, but it would require much more code and would make the plugin much more resource intensive!
@UltrafaceGuy
When you use contractions make it do the following:
Can you change it so that the messages are contained in " " rather than ' ' ?
I'm having issues with words such as can't won't etc.
Probably going to update in the next hour, at school, I'm done my exam, so its code for the day :D
Yep, next update should have interval in seconds - Frankly, I'm not sure why it was minutes last release!
Many broadcast plugins, including this one, are the missing the feature to broadcast to a specific permission group
i.e: Mods receive different announcements than donors and members
@Maxpowa
Thanks for the rapid response, fastest i'v ever seen.
Also some lovely improvements, Would love to see that &n for a new line.
And would it be possible to change the Interval from Minutes to seconds? As this gives more freedom when the message is shown, Thanks.
Estimated Release Date for these updates?
@MineCraftMyph
The magic and bold should automatically be in there, assuming that bukkit has them implemented in their code, I'm just using the bukkit formatting ability to format the string.
Also, great ideas! I'm going to implement that minimum player check, although i will make it optional and that anti-randomization! I'm planning on implementing a feature into the random that makes it so it will not constantly repeat the same thing if there are only two!
@Jordenvb
Yes, I am hoping to keep all my plugins up to date with the latest dev, even if that means updating every day :D
Great Announcer Yet!
[SUGGESTION]
Adding the Codes &k (magic) &b (bold) along with &n for a new line etc...
Also the console performing a command such as Hi &c/kick-all (kicks all players)
- And adding to the config
Random-Order: False
Because atm its just in a random order for me =(
- Also only displaying the announcements if a player is online to reduce even more lag.
Min-Players-To-Announce: 1
Here is a list of Special Codes: http://dev.bukkit.org/server-mods/scheduledannouncer2/
+ This plugins is better without In-Game Commands, Thanks.
It's looking fine! I hope you are a creator who keeps his plugins up to date?
Because you have some people... ;)
lightweight - like it!