Skip to content

Assigning specific icons per MOTD

Jason edited this page Feb 14, 2021 · 3 revisions

⚠️ NOTE: This page is left up for reference, it is no longer relevant as of MiniMOTD v2.0.0. ⚠️

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.

Example

Contents of plugins/MiniMOTD/icons/:

files

Contents of config.yml:

motd:
  motds:
    - "MOTD 0"
    - "MOTD 1"
    - "MOTD 2"
    - "MOTD 3"
    - "MOTD 4"
...

Resulting Server List MOTDs:

ex1

ex2

ex3

Notice how with "MOTD 4", which has no matching 4.png, a random icon was selected from the folder.

ex4

Clone this wiki locally