SimpleBroadcast
Important Note
I discontinued this plugin. If anyone would like to work on it, please fork the GitHub repository.
The plugin however still works properly, if you use the declared Minecraft versions.
About
SimpleBroadcast is a plugin which automatically sends defined messages to the chat.
Features
- Automatically timed messages are sent in a defined delay.
- Easily enable or disable this plugin via in-game or console commands
- Simple and easy to setup
- Colour support!
- Supports &k, &l, &m, ...
- Supports links
- Optional permissions
- Editable prefix and suffix
- Option to check if an update is available
- Option to hide the messages in the console
- Supports commands (when the messages starts wit a "/")
- Supports JSON messages
- Ignoring system.
- Bossbar integration
Commands
- /simplebroadcast - Shows you infos about the plugin.
- /simplebroadcast start - Starts the broadcast messages.
- /simplebroadcast stop - Stops the broadcast messages.
- /simplebroadcast reload - Reloads the config.
- /simplebroadcast bossbar start - Starts the boss bar broadcast.
- /simplebroadcast bossbar stop - Stops the boss bar broadcast.
- /simplebroadcast bossbar list - Shows all boss bar messages.
- /simplebroadcast bossbar next - Skips the following message in the queue.
- /simplebroadcast bossbar help - Shows the boss bar help pages.
- /simplebroadcast list - Shows you all messages.
- /simplebroadcast now <number> - Immediately broadcasts the given message.
- /simplebroadcast next - Skips the following message in the queue.
- /simplebroadcast add <msg> - Adds the entered message to the list.
- /simplebroadcast remove <number> - Removes the given message from the list.
- /simplebroadcast broadcast <msg> - Broadcasts the message which you've entered.
- /simplebroadcast raw <msg> - Broadcasts the message without formatting.
- /simplebroadcast ignore <name> - Adds/removes a player from the ignore list.
- /simplebroadcast update - Toggles the update check function.
- /simplebroadcast help (1-2) - Shows you all available commands.
- /sb <command> - Alias for "/simplebroadcast".
Permissions
If you aren't an operator or you want that another player can use the commands, you have to use the following permissions:
/simplebroadcast -> - simplebroadcast.info /simplebroadcast start -> - simplebroadcast.start /simplebroadcast stop -> - simplebroadcast.stop /simplebroadcast reload -> - simplebroadcast.reload /simplebroadcast bossbar start -> - simplebroadcast.bossbar.start /simplebroadcast bossbar stop -> - simplebroadcast.bossbar.stop /simplebroadcast bossbar list -> - simplebroadcast.bossbar.list /simplebroadcast bossbar next -> - simplebroadcast.bossbar.next /simplebroadcast bossbar help -> - simplebroadcast.bossbar.help /simplebroadcast list -> - simplebroadcast.list /simplebroadcast now -> - simplebroadcast.now /simplebroadcast next -> - simplebroadcast.next /simplebroadcast add -> - simplebroadcast.add /simplebroadcast remove -> - simplebroadcast.remove /simplebroadcast broadcast -> - simplebroadcast.broadcast /simplebroadcast raw -> - simplebroadcast.broadcast /simplebroadcast ignore -> - simplebroadcast.ignore /simplebroadcast update -> - simplebroadcast.update.toggle /simplebroadcast help-> - simplebroadcast.help - simplebroadcast.update -> You can see the ingame update info if an update is available. - simplebroadcast.* -> Give access to all commands.
Configuration/How to get started with SimpleBroadcast
At first you have to put the SimpleBroadcast.jar into your plugins folder. After a reload / a reboot a folder called "SimpleBroadcast" has been created automatically. In this folder there is the "config.yml". In this file, you can define which messages should be send to the chat, in which delay they should be broadcasted, if the plugin shall check for updates, ...
Todo
- Add messages with permissions.
Add boss bar integration.(-> added in version 1.7)
Add a live broadcast command.(-> added in version 1.5)
Add %n support.(-> added in version 1.4)
Add suffix.(-> added in version 1.3)
Fix prefix.(-> fixed in version 1.3)
Add alias for /simplebroadcast(-> added in version 1.1)
Add more commands.(-> added in version 1.1)
Add message randomizer.(-> added in version 1.0)
Add PluginMetrics.(-> added in version 1.0)
Add updatecheck function.(-> added in version 1.0)
Add editable interval when the messages are broadcasted.(-> added in version 1.0)
Add permissions.(-> added in version 0.4)
Add editable prefix.(-> added in version 0.3)
I have an interesting issue. I have two servers, ones a tester while the other is the main one. I'm working with bukkit 1.7.9 and they're both different server hosts as well.
I decided to test the broadcaster. On one it works perfectly fine, while on the other it only shows the default message regardless of what I do. heres the message:
SimpleBroadcast.
enabled: true
delay: 625 # time in seconds
prefix: enabled: true prefix: '&a[&bR&eB&dN&a]'
suffix: enabled: false suffix: '&d[v1.7]'
pluginmetrics: true
checkforupdates: true
randomizemessages: false
requiresonlineplayers: true
sendmessagestoconsole: false
messages: - '&aType &e/auction &ato learn more about our merchant services.' - '&aAnyone can mine and collect a spawner, given you have the means to a &esilktouch &aenchanted pickaxe and &espawner&a.' - '&aVisit our website by clicking here: &dhttp://rainbow-nation.enjin.com.' - '&aDo you have an idea for the server? or perhaps want a link to our website? Look for a &esuggestion box &aat the spawn.'
Now i've used the reload, the FTP file, the filezila file. they all they this message, but it shows the default message in the game. when i do /simplebroadcast list it even shows the default messages, like i said regardless if i do config reload or even restart the server.
How can i fix this very annoying issue? Thank you for your time.
@XxUNKNOWNxX01
Maybe in a future version.
Can you add a message delete command?
@Dennis000903
At a first glance I can't see any mistake in your config.yml. Please open a ticket and attach there your latest.log please. :)
Hey, it uses the deafult config... :( Whats wrong?? I really cant find the Thing...
My Config: http://pastebin.com/sdKQLCmj
finally! the broadcast plugin i wanted, with an easy config!
@pilot3101
Do you mean that you can't see the broadcast messages in the chat? If yes, I'd advise you to use the "ignore" - function (/sb ignore <name>). At the moment I haven't planned to add this permission if I understand you correctly.
@KingDome24
Can you add the permission simplebroadcast.bypass.messages to bypass all the broadcast messages?
@Gimti
You're not allowed to use " ' " in your messages. Please visit the website for more information. ;)
http://pastebin.com/yWPQU4uV Its just does the default one ;( I am running 1.7.2
@JasonT148796
You forgot a single quote at the end of the fifth message. ;) For the next time, please look into the latest.log and check your config twice before asking.
It just does the default one. Here's my config http://pastebin.com/hVFs1CvS . I am running 1.7.2 CraftBukkit
@TheJamsh
If the plugin only shows the default messages, you made a fault when you've eddited your config. Please check it with a yaml parser.
Doesn't matter what I do, I only ever get the default messages in my game. I'm using this with essentials, factions and a few others but nothing that should conflict.
I've even removed the default messages from the config file... yet still they are the only things that come up. Any reason why that is?
i might have links disabled somewhere ill have to look around, just thought of it looking at your post
@DarkFoxDie
I don't affect the behavior of links in the chat in any way so it might be your server software which is the problem. It would be great if you could tell me, what type of it you're using.
ive tried multiple ways to get my links to work even in the simplest of ways
@ThelandMC
Please create a ticket and attach the latest.log where the error is visible.
A bug that will probably need to be fixed in the new version is "/sb help" will crash the server. Other than that everything works perfectly!
@hallowhead1
Please open a ticket. :)