Jump to content

Serverwide Announcements [Server-only]


reisnersteve

Recommended Posts

Posted

This is a simple, server-only mod that allows you to automatically broadcast messages in server chat with the prefix [Info]. I'll update it soon to make the prefix customizable.

How to use:

Put the zip file into your mods folder, and start the server. This will create 2 files in your Data Folder (where the serverconfig.json etc. are). One is called messages.txt and the other one messages.config.
Open messages.txt and type whatever you want (each line represents one message). To set the interval, open messages.config and edit the number after "interval" to your liking (default is 10, in minutes, positive natural numbers only, make sure there is only one space between "interval" and your number). Restart the server, now a message will be sent to chat every x minutes.

If you're experiencing any issues, please report them here!

 

Hope you enjoy it :)

announce_v1.0.0.zip

Posted
On 6/28/2020 at 10:47 AM, Martin Moser said:

I am still looking for a solution or a mod
to send links that can be clicked.
Is this possible with this mod?

Yes, that's possible. Just use <a> Tags like you do in HTML.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.