I can be really useful to broadcast links in Minecraft. It’s a great way to advertise your server’s website, or to allow people to donate. It can also be used to link to a texture pack that doesn’t allow re-hosting on your server (per example, Conquest, my favourite texture pack).
So how can we broadcast a link in our Minecraft server? Well, we need a plugin called Simple Broadcast, The 1.7.2 version can be downloaded here: http://dev.bukkit.org/bukkit-plugins/simplebroadcast/files/22-simple-broadcast-v1-7/.
Download and install Simple Broadcast. When this is done, reload your Minecraft server. This will create a SimpleBroadcast folder (in your plugins folder), which looks something like this:
Now, we need to open the config.yml file with notepad. For the sake of this tutorial, let’s just broadcast a message every 5 minutes that reminds everyone on the server to download the Conquest texture pack.
Scroll down the config.yml file until you see this:
– ‘Thank you for using SimpleBroadcast!’
– ‘Plugin by &oKingDome24.’
– ‘If you have questions, please visit the BukkitDev page!’
– ‘%laquo%Many new and cool variables are now available%raquo%’
These are the messages that will be broadcast by the plugin. Let’s replace it with our own. In my case, I’ll give a link to Conquest, so my message will look something like this:
Don’t forget to download the Conquest texture pack!
To write our own messages, we need to respect a few rules. First off, need to enclose our messages in single quotes (‘). Furthermore, line breaks are new allowed.
So how do we add single quotes and line breaks INSIDE of our message? We need to use something called variables, the full list of which can be found here: http://www.simplebroadcast.net/documentation/#variables. Variables also allow us do add formatting to our text, so our link looks more like a link.
So let’s go back to our message, we’ll need to replace our single quote with it’s corresponding variable, ie. %sq%. Let’s also add a line break before the link. We now have this:
– ‘Don%sq%t forget to download the Conquest texture pack! %nhttp://www.minecraftforum.net/topic/1452033-174-32×32-conquest-wip-weekly-updates/’
Now, we need to give some style to our link. Let’s make it blue and underlined. We can do this by adding the &9 (blue) and &n (underline) variables before the link.
– ‘Don%sq%t forget to download the Conquest texture pack! %n&9&nhttp://www.minecraftforum.net/topic/1452033-174-32×32-conquest-wip-weekly-updates/’
So now, let’s say we want to make this link appear every 5 minutes. Still in the config file, we need to find the following line of text:
delay: 60 # time in seconds
This line corresponds to how often (in seconds) the message will be displayed. If we want it to appear every 5 seconds, then we’ll write:
delay: 300 # time in seconds
Ok, we can now save the file and reload SimpleBroadcast by typing /sb reload in the minecraft chat (or sb reload when using the console). Our link should now appear in Minecraft!
We can now open the chat and click on the link, which will give us the following prompt. Were we to click yes, it would open the page in our browser!
That concludes this article, I hope you’ve enjoyed it and don’t forget to come back for more!