Message Mixer is a SerenityJS plugin to add a dynamic MOTD
The Config Has 3 keys
- "enabled"
- Boolean - Enable/Disable The Dynamic MOTD
- "enable_formatting"
- Boolean - Allow Minecraft formatting such as
§3Hello
- Boolean - Allow Minecraft formatting such as
- "default_messages"
- Message[] - An Array of objects telling what motd's to show and for how long
{
//ID of MOTD in motds.json
"id": "example",
//How Long To Display The MOTD (in ms)
"length": 5000
}
Default MOTD Config:
{
//The MOTD ID
"default": {
//All The Messages Of The MOTD
"messages": ["SerenityJS"],
//Go In Decending order or random
"random": false,
//Interval Between Each Messages
"rotation_interval": 1000
},
"example": {
"messages": ["h", "he", "hel", "hell", "hello", "hell", "hel", "he"],
"random": false,
"rotation_interval": 500
}
}