AutoBroadcaster+
Have you ever needed to auto broadcast messages to chat, and notice that the few plugins that actually are able to do this spam the chat with their name, not fully customizable, or no full color support? This plugin is for you then!
This plugin is very simple to use, simple drag and drop. This plugin will generate a folder in /plugins/ called AutoBroadcaster, containing a messages.txt and a config.yml. The messages.txt is a blank text file, where each line is a broadcasted message. This file is a Global message file, which simply means you will receive the messages no matter what world you are in. The config.yml is the main file, in it you can customize things like the announcer name, and the interval. It also has some more advanced settings, such as what to split the message file by (default is new line), the minimum number of players before the plugin broadcasts messages, and whether or not to print to console.
The config is customizable enough to do whatever you want. Even per-world messages, intervals, announcements, announcer names, everything right down to how the message file should be parsed.
This plugin also allows to use BukkitSettings plugin as an add-on! If you have it installed, players can choose to toggle out of receiving messages!
Announcements are toggleable on or off using BukkitSettings by Anxuiz from Project Ares / OverCast Network. In game, you will be able to do /settings to see a list of all settings. If you're using my plugin along with Anxuiz's plugin, then Announcements should pop up. Do /toggle Announcements or /toggle a to enable or disable it. To learn more about the announcement toggle, do /setting Announcements
Get BukkitSettings here: http://repo.oc.tc/content/repositories/public/me/anxuiz/bukkit-settings/
Example Files for v1.1.0 and above!:
Example global messages file (messages.txt):
This is a white broadcast, which will be the first one broadcasted! &4This broadcast is red, and <his is bold + red! These messages will be received to every player in any world!
To create messages only for players in a world called Test, simply create another file in /plugins/AutoBroadcasterPlus/ called messages-Test.txt. Messages in here will only be received by those in a world called Test!
Example config.yml
broadcaster: #Should the plugin debug? debugging: true global: #Who will be the announcer? Ex: [AutoBroadcaster]: Message announcerName: '[&4Global&f]: ' #Interval, in seconds interval: 15 #Should messages be sent to console as well? broadcast-to-console: true #Minimum number of players before any message is broadcasted (0 to broadcast even if no one is online) min-players: 1 #What the messages file should be split by (Don't modify this unless you know what you're doing!) delimeter: '\n' # To customize settings for a world, say a world named Test, you can simply create a new section. Any settings you don't # fill out are defaulted to the global settings. Example: Test: announcerName: '[&1Test&f]: ' ## If you wanted the rest to be like global, you could just delete them or leave them commented :) #interval: 60 #broadcast-to-console: false #min-players: 1 #delimeter: '\n'
Read the comments in the middle to see how to customize the settings for messages in a specific world.
Example Files for v1.0.0 and below!:
Example messages.txt:
This is a white broadcast, which will be the first one broadcasted! &4This broadcast is red, and <his is bold + red!
Example config.yml (The actual file has a list of all the color codes, and it has a direct link to the wiki on colors!):
#Who will be the announcer? Ex: [AutoBroadcaster]: Message announcerName: '[&4AutoBroadcaster&f]: ' #Interval, in seconds interval: 60
This plugin uses Metrics
Metrics can be disabled to stop sending info out, go to /plugins/metrics/ and click config. Turn opt-out to true. Please only do this if you're uncomfortable about data tracking, it helps me see how many people use it, what server software they use, and how many servers use it! Metrics also assists in developing the plugin by telling me info like what java and cb you guys use.
Open sourced https://github.com/skipperguy12/AutoBroadcasterPlus
This plugin is open sourced, please provide credit to me for any code you use. Support Me!
If you like my plugin and my work, you can donate. All donations are welcome, and will be used for developing purposes.
This makes ScoreboardStats not work.
Does this plugins works fine with bukkit 1.7.2? or does it have bugs
There is some kind of "CR" symbol at the end of each broadcast. What's that about?
@Bigpoop77 not sure what you mean. Still don't know how to fix this...Anyone? @skipperguy12 could YOU help us with YOUR plugin?
Hey guys I was having the same problem and I fixed it by simply adding a color code before each message...like 1. &4Test 2. &fSeems to fix the prob!
Hope this helps!
I'm having the same problem as ergenta, any idea why this is happening?
Hello,
Every time it broadcasts it always has a CR within a box at the end of the message. Why is this and how do I fix it?
@PloopyDoopy345
I don't use that Skype anymore, and I don't even have the password. Please contact me though the PM system. Also, read the description of the plugin for config help :)
@wazblaz
I recognize this as a problem now. What is the greatest size your jars can be? I'm about to release a new version that reduces the size of the jar from 2.1 MB to only 1.7 MB.
How big is the Jar? I am interested in having this plugin but I cant upload it to my server as the JAR is to big. Unfortunately I am being forced to use another auto broadcaster.
Hey skipperguy12 I added you on skype because I need you to Change some configs for a server I want to make. Can you please respond on skype? I added you as contact btw.
@rasm945i
This is a known caveat, please wait for BukkitDev staff to approve my new version. The new version fixes ever error I've seen others have, including yours. Thank you :)
@rasm945i
@rasm945i
This is a known caveat, please wait for BukkitDev staff to approve my new version. The new version fixes ever error I've seen others have, including yours. Thank you :)
Hi
Why does it not repeat the messages? It broadcast all the messages i wrote, but when it have broadcasted the last message, it just stops. Is there any way to make it start over instead of stopping??
@Kingofawesome13 Edit: Done! I've pushed it all to GitHub. When BukkitDev approves v1.0.0, I'll upload this new version. Thank you for the idea, it seems wonderful! :)
All right, so I've been working on GitHub in another branch, basic per-world support is done, but before I release it I think I want a way to customize the interval and announcer name for each world.
@Kingofawesome13
I would be more than happy to add this. Could you suggest how though? I need current compatibility to work for the version where I add this.
I was thinking maybe all global messages can go in messages.txt, and then files like messages-<world_name>.txt can be interpreted to only broadcast to that world.
Your ideas?
@ApexDev
Check out BukkitSettings! There's a toggle command in which the player will simply not get any messages.
Edit Released a brand new version! Awaiting approval, should be approved soon. This version will be much more sturdy, will be more customizable, and will be a lot less laggy! Enjoy!
@NEC_NewEraCrafting
@OverPanda
@minephenom
@MrMoshi
@ParadoXz11
@joeymk2000
@LavaGaming
Hello everyone, I'm sorry for the slow response. Very soon I will release a brand new version! Completely rewritten with a different method for doing this. There should be no errors and this version looks very promising.
@ParadoXz11
Same here D:
Could you add a command to hide announcements from players that use the command, with a permission node.