Example Configs
Default Config
motds: foo: icon: noob motd: '&5It looks like someone needs to join this server!' foo1: icon: noob motd: '&6It looks like someone needs to join this server!' foo2: icon: noob motd: '&7It looks like someone needs to join this server!' foo3: icon: noob motd: '&9It looks like someone needs to join this server!' bar: icon: noob motd: '&3Welcome back {player}!' bar1: icon: noob motd: '&6Hi {player}! It is currently {date}' bar2: icon: noob motd: '&e{player}! Yellow text!' bar3: icon: noob motd: '&9{date}' groups: the-foo-group: - foo - foo1 - foo2 - foo3 the-bar-group: - bar - bar1 - bar2 - bar3 default: known: the-bar-group unknown: the-foo-group
This is the config autogenerated by the plugin. This config creates 8 different MOTDs, foo, foo1, foo2, foo3, bar, bar1, bar2, bar3, and bar4. MOTDs and groups can have any name. MOTDs accept an icon and a message. In the icons folder, you will see a noob.png file, which is being used by all of the motds above. You can add more png files for more pictures. There are also 2 groups. These groups each have a list of the above named motds. Below, you can see the names of the groups being used. If a player has not logged into the server, the default unknown group is used. If a player has logged into the server, the default known group is used.
motds: motds-can-be-any-name: icon: noob motd: A Minecraft Server another-motd: icon: noob motd: '&6Welcome back {player}' groups: groups-can-be-too: - motds-can-be-any-name the-other-group: - another-motd default: known: groups-can-be-too unknown: groups-can-be-too
This config is different. Not only does it only have 2 motds, but the motd another-motd is not being used. You can execute the command /pmotd p <player> the-other-group to change the motd a player will see to another-motd. You can do the same by doing /pmotd p <player> groups-can-be-too so they see the default motd
Is it possible to make motd text for 2 lines? Cause right now by default it writes only on 1 line.. For example:
line1: Welcome guest! line2: This is MyCool server!