Broadcast++
Broadcast++
A broadcast plugin that can do more than only broadcasting.
Features
- broadcast a message
- say something as god
- say something as herobrine
- say something as the server
- say hi to the server or a player on the server
- say bye to the server or a player on the server
- start auto broadcaster
- stop auto broadcaster
- restart auto broadcaster
- get information about the state of the auto broadcaster
- say something as the auto broadcaster
Configuration
How to set broadcast messages
Commands and Permissions
Command |
Function |
Permission |
/bc <message> | Broadcasts a message | broadcast.bc |
/hi <player> | Say hi to the server or a player on the server | broadcast.hi |
/herobrine <message> | Say something as herobrine | broadcast.say.herobrine |
/godsay <message> | Say something as god | broadcast.say.god |
/server <message> | Say something as the server | broadcast.say.server |
/bca help | Gives you all the help you need with the /bca commands | broadcast.bca.help |
/bca start [message file] | Starts the auto broadcaster | broadcast.bca.start |
/bca stop [message file] | Stops the auto broadcaster | broadcast.bca.stop |
/bca info [message file] | Gives you the state of the auto broadcaster(on or off) | broadcast.bca.info |
/bca restart [message file] | Restarts the auto broadcaster | broadcast.bca.restart |
/bca test [message file] | Tests the message file for errors | broadcast.bca.test |
/bca see [message file] [number] | Gives you the message on place <number> in the messages.txt file | broadcast.bca.see |
/bca next [message file] [number] | Broadcasts the next message, when a number is added, it will add <number> to the line number of the last message, and broadcast that message | broadcast.bca.next |
/bca previous [message file] [number] | Broadcasts the previous message, when a number is added, it will substract <number> from the line number of the last message, and broadcast that message | broadcast.bca.previous |
/bca say <message> | Broadcasts <message> which looks like it was broadcasted from the auto broadcaster | broadcast.bca.say |
/bca add [message file] <message> | Adds a message to the messages.txt | broadcast.bca.add |
/gmcheck <player> | Checks the gamemode from <player>, when you don't set <player> it will give your gamemode | broadcast.gmcheck |
/bcreload | Reloads the config.yml | broadcast.reload |
/bcinfo | Shows you some information about this plugin | broadcast.info |
/bchelp | Shows you the commands and description for this plugin | broadcast.help |
To-Do
Suggestions
do you have any suggestions to make this plugin better, or want something added to the plugin, please post a comment.- make messages editable ingame (suggestion by Mathboy19)
Problems
- when all messages are broadcasted, it doens't start from the beginning
- please make sure that the last line isn't empty, sometimes the last line will be empty and the broadcaster can't schedule a message
a github repository can be found here
@GerwinHGV
Thanks for telling me, I have uploaded a new file where this should be fixed, changed file location to plugins\Broadcast\messages.yml.
@GerwinHGV
Same here, sorry stephanvl totally forgot to mention that I was running it on ubuntu. I did not think that it mattered :(
The plugin is working great on the my Linux ubuntu 20.10 minecraft server, but there is a folder created Broadcast during first start up.. but het plugin is looking for the message.yml in the folder broadcast and that directory does not exist. Linux is case sensitive on folders. So created manually the folder broadcast and moved the message.yml file to that folder. Maybe a fix for the next update
well, for me its working just fine, (used &6). if it's still not working, can you tell me where it isn't working, auto broadcaster/prefixes.
And Can you Please add the colour orange (code, &6). Thanks
0oooohhhh, thank you very much.
@FlameAtic
how much messages do you have in your messages.yml, and do you have under the last message an empty line?
for me it's just working fine, but you need an empty line under the last message, otherwise it will skip the last message.
Sorry another bug, autoBroadcast Only does the first message in messages.yml? Can you Fix this or am I doing some thing wrong. Thanks
Thank you very much; and for your first plugin this is amazing I was looking for a plugin like this for ages and this popped up. Thanks
@FlameAtic
I have uploaded a new file what will fix this, it's now waiting until it's approved
EDIT: download v1.1.2 for the fix
Every Time I Restart the Server It Wipes all my Messages. Can you Help me with this?
sure, i have send you a pm.
@stephanvl
Maybe I could help you?
@Lars1011
The time between the auto-broadcasts is now every 5 minutes, I will look into adding it to the config, but this being my first plugin I still need to figure out how it all works, and how I should add it to the config. I was also thinking of an option to automatically start the auto broadcaster on server startup which can be set to false for not starting up at server startup, but didn't really work out right yet.
How long is the period between Auto-Broadcasts? maybe you can make it configurable?
@KingAmles
for now, it can only be changed in the source code, but i will look into it getting in the config file
Can we rename the "Godsay" to something else?