Download Message Broadcast — Minecraft Mods — ModStock

Message Broadcast

Active

Downloads

0

Last update

2 months ago
Client
Libraries
Utils

Server only mod that allows the broadcast of messages, can be configured independently for each message.

The config is under serverconfig/message_broadcast

Requires to be an array of Messages, ex:

[
  {
    "message": {
      "text": "First Message",
      "bold": true,
      "italic": true
    },
    "time": 10,
    "open_url": true,
    "url": "https://example.com"
  },
  {
    "message": "Second Message",
    "time": 30
  }
]

By default the messages are in async mode, that means at some point can be more than one message broadcasted.

If you want on sync mode: <world folder>/serverconfig/message_broadcast/message_broadcast_config.json >

{
  "async": false, // Default: true, uses the time defined in the message
  "time_for_sync": 300 // this time is in seconds. Default 300s = 5min
}

You are free to use this mod on your server.
You are not authirized to modify the code without my authorization.

Any question you have feel free to visit the discord server: https://discord.com/invite/2XCPCVa59h

Project members
alec_016

alec_016