Jump to content
reisnersteve

Serverwide Announcements [Server-only]

Recommended Posts

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

  • Amazing! 1

Share this post


Link to post
Share on other sites

Yes works perfectly.nice

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

Thanks for your Answer.

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.