strumswell / ServerlistMOTD-X

A plugin for the Spigot API. ServerlistMOTD allows users to change their serverlist motd.
Other
29 stars 3 forks source link

Issue with latest beta build #36

Closed LcyDev closed 3 years ago

LcyDev commented 3 years ago

Trying to use the ClassicMotd will add [Line, Line] to the motd: image

Also using empty slots in RestrictedMode gives []

strumswell commented 3 years ago

Can you share your config.yml?

LcyDev commented 3 years ago

https://pastebin.com/Dd6QGZxR

LcyDev commented 3 years ago

I've disabled the ClassicMotd, this does not happen in random motds.

strumswell commented 3 years ago

Your config is absolutely fucked in many places. Let me fix this up and see if I can reproduce the described problems.

strumswell commented 3 years ago

Ok, good news. You only messed up your config. Here is a fixed version: https://pastebin.com/CEsf6Rp9

Things you have to look out for:

When in doubt, have a look at the default config or the wiki describing the most important things.

Let me know if this fixed your problems.

Bildschirmfoto 2021-11-11 um 14 11 20 Bildschirmfoto 2021-11-11 um 14 13 02
LcyDev commented 3 years ago

I was about to tell you this bc i checked the original config and ClassicMotd doesn't support multiple entries I believe i you can do this too: include_newlines: | exactly as you see will appear these three lines of poetry

fold_newlines: > this is really a single line of text despite appearances

strumswell commented 3 years ago

Yeah, don't really care about that. Are your problems fixed?

LcyDev commented 3 years ago

Yes