Broadcaster Plugin
THANKS FOR 30000+ DOWNLOADS!!
Description
This plugin allows you to easily broadcast messages on your server.
You can customize broadcast behaviour, messages and even placeholders!
As many people seem to miss this: THIS PLUGIN HAS A !!!REQUIRED!!! DEPENDENCY SINCE A FEW VERSIONS: https://github.com/axelrindle/PocketKnife
The required version is linked at the very bottom of the
file download page.
Features
Always applicable for the latest release.
- Customizable: The broadcast behaviour can be fine tuned to your needs
- Localized: The plugin supports localization. You can request new translations in the comments or on Github
- Integrated: The plugin integrates with other chat-related plugins like PlaceholderAPI
- Multiple message formats: You can define your messages in plain YAML or use JSON components to add some extra interactivity to your messages.
Colors and Variables
Color codes
All standard Minecraft color codes are available. A full list is available in the Minecraft Wiki.
Predefined placeholders
Placeholder | Symbol |
---|---|
<3 |
❤ |
[*] |
★ |
[**] |
✹ |
[p] |
● |
[v] |
✔ |
[+] |
♦ |
[++] |
✦ |
[x] |
█ |
[/] |
▌ |
%n |
New Line |
%online_players% |
Amount of online players |
%max_players% |
Amount of max players |
NEW WITH VERSION 2.2.0: The placeholder %c
can be used to center a message in the chat. To use place it at the very start of a message.
Ideas for placeholders in the comments! (Or open an issue on GitHub)
Commands
The main command is /brc. It will show you a list of available commands.
Permissions
The permission follow the form broadcaster.<command name>
- /brc -> broadcaster.brc
- /brc cast -> broadcaster.cast
- /brc reload -> broadcaster.reload
- /brc start -> broadcaster.start
- /brc stop -> broadcaster.stop
- /brc status -> broadcaster.status
Configuration
Future Updates
- Ideas? Suggest features in the comments or open an issue on GitHub.
It doesn't seem to work with paper builds that support java16.
In reply to kotarobo:
Hello, thanks for the report. I'm currently working on Java 17 & Spigot/Paper 1.18 support.
Using any command results in "/brc" message in chat and nothing else. No errors. 1.16.3, plugin version: 2.3.0, pocket knife: 2.0.0.
I have the jar file downloaded but there is not any config folder.
my server is on 1.15.2
error:
[20:16:28] [Server thread/ERROR]: Could not load 'plugins/Broadcaster-2.2.0.jar'
in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: PocketKnife
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
.java:221) [server.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.j
ava:351) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.ja
va:203) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.jav
a:784) [server.jar:git-Spigot-800b93f-8160e29]
:
In reply to Forge_User_11315811:
Have a look at the Exception: UnknownDependencyException. You're missing PocketKnife as a required dependency.
I put this in my plugins folder and then try the commands, nothing happens, it doesnt say the commands even work
Doesnt work properly for me, broadcasted messages shows only in console and for OPs
G'day
Thanks for the plugin, I quite enjoy it for the server!
Could I request a feature?
Could you pause the timer whenever the player count hits 0 so it doesn't keep broadcasting overnight while nobodies on? Just keeps adding to the log files which isn't necessary. And then obviously auto start it again players are logged in?
Cheers.
Feneck of Motherland.
In reply to feneck000:
That's a great idea. Will implement this for the next release.
In reply to baithoven21:
Hey thanks for the speedy reply and update, but you've broken the plugin. At least on my setup.
First run of 2.2.0 told me I now needed the PocketKnife library... (one of the reason I liked this plugin was that it was small and did what it needed to do without libraries)
After added the PocketKnife library, I continued to receive error messages from Broadcaster:
We're running on spigot-1.15.2 with MC 1.15.2
In reply to feneck000:
Please make sure you use the latest version of PocketKnife (should be v1.3.0). Seems like you're using an old version.
Also I use libraries to reduce boilerplate code in my plugins, which helps in reducing complexity. But I understand your point ;)
I wish that a message could be sent to a single user. Something like: / brc cast [player] [message]
In reply to lyriansminecraft:
This plugin is meant to broadcast messages around the server, not to single players. Use Bukkit/Spigot built-in commands for this.
IDK if I did something wrong but I took out the original broadcast and put my own in and it stopped
working. I have given my server a restart and noting what should I do
In reply to yaxiel11:
Without any kind of stacktrace or error message I won't be able to help you, so please provide some information.
Best would be if you'd open an issue on Github.
This is a very nice plugin! I love it a lot. :D Use it a lot to announce if something happens in my server example if someone purchases anything from my webstore. I do have one issue tho. The plugin is spamming down my console, and I have my console hooked up to my discord server. Is there any way for you to fix this, or something I have to do?
Many thanks
TahSquid <3
https://gyazo.com/d78f571fc3549b63e9b7758da841edf2
In reply to TahSquid:
Hi. First of all thanks for your kind words! If you have a Github account, you may open an issue on the project page, otherwise you may write an email to [email protected].
I will need the following information: your server log file and the plugin's config.yml file. I'll try to identify and fix the issue ASAP.
My Message (which I used /brc cast...) isn't repeating. What can I do to make sure it repeats say every 5 minutes or so?
In reply to morgan_civ:
This command is not intended to create a repeating message, but rather a prefixed equivalent to /say. Define repeating messages in the file messages.yml
Can you add like %c to centre the message please.