ServerlistMOTD X

ServerlistMOTD X

90.1k Downloads

Different colours for various states of day

Lethaquell opened this issue · 1 comments

commented

Hello!
Today I've downloaded your plugin and configured it for my server, it's fits really well for my purposes. But after a few tries I've faced a problem that I can't set different text colours for different time of the day, so I'm here

For example:
image
image

I'm using

  • PaperMC version git-Paper-229 (MC: 1.16.3)
  • ProtocolLib v4.6.0-SNAPSHOT-b482
  • ServerlistMOTD vX-2020-09-05

Config.yml

commented

As already mentioned in our private conversation: It should work. Just replace day or night under TimeVariable with e.g. '&aday' and/ or '&cnight'. Do not forget the ' around the new variable. Sorry for the back and forth! I hope it works for you :)

Edit: But I will look into it later to verify a working solution for multiple versions.
This worked for me (newest ServerlistMOTD, Spigot 1.16.1):

Variables:
  TimeVariable:
    NightText: '&4night'
    DayText: '&cday'
    World: world

OR

Variables:
  TimeVariable:
    NightText: '§4night'
    DayText: '§cday'
    World: world