Skip to content

Nathan93705/MessageMixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MessageMixer

Message Mixer is a SerenityJS plugin to add a dynamic MOTD


Config

The Config Has 3 keys

  • "enabled"
    • Boolean - Enable/Disable The Dynamic MOTD
  • "enable_formatting"
    • Boolean - Allow Minecraft formatting such as §3Hello
  • "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
}

MOTDS

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
  }
}

About

Message Mixer is a SerenityJS plugin to add a dynamic MOTD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published