-
Notifications
You must be signed in to change notification settings - Fork 41
Assigning specific icons per MOTD
Jason edited this page Feb 14, 2021
·
3 revisions
To specify a certain icon should be paired with a certain motd, the icon file should be named as the index of the motd in the config. If there is no icon named as the index for any given motd, an icon will be randomly selected from the icons folder. See the images below for an illustrative example.
Contents of plugins/MiniMOTD/icons/:
Contents of config.yml:
motd:
motds:
- "MOTD 0"
- "MOTD 1"
- "MOTD 2"
- "MOTD 3"
- "MOTD 4"
...Resulting Server List MOTDs:
Notice how with "MOTD 4", which has no matching 4.png, a random icon was selected from the folder.




