arkflame / CleanMOTD

Simple and light plugin to manage the motd of your server.
https://www.spigotmc.org/resources/58268/
MIT License
15 stars 14 forks source link

Sometime \n (newline) doesn't get parsed. #10

Closed itaquito closed 3 years ago

itaquito commented 3 years ago

Hello!

Sometimes the \n doesn't get parsed and it appears on the MOTD, this only happens sometimes when you ping the server, other times the MOTD appears correctly. Here is a screenshot on how it looks: image

And how it should look like: image

I'm using CleanMotD on Bungee. Version of Bungeecord (Waterfall): This server is running Waterfall version git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:40370a3:388 by md_5 Version of CleanMotD: 0.2.5

Thanks.

linsaftw commented 3 years ago

Of course, motd cant take multiple new lines. It can only take 2 lines. If you exceed the first it will automatically create the new one and not take the \n. Can't really fix this.