Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different colours for various states of day #18

Open
Lethaquell opened this issue Nov 4, 2020 · 1 comment
Open

Different colours for various states of day #18

Lethaquell opened this issue Nov 4, 2020 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@Lethaquell
Copy link

Lethaquell commented Nov 4, 2020

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

@strumswell
Copy link
Owner

strumswell commented Nov 4, 2020

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

@strumswell strumswell self-assigned this Nov 4, 2020
@strumswell strumswell added the feature New feature or request label Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants