Tech articles and more!

Site Menu

How to broadcast links in Minecraft

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).

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:

messages:
– ‘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:

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: