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

Option to change the color of {bonuses} placeholder #517

Closed
Sikatsu opened this issue Jun 1, 2019 · 5 comments
Closed

Option to change the color of {bonuses} placeholder #517

Sikatsu opened this issue Jun 1, 2019 · 5 comments

Comments

@Sikatsu
Copy link

Sikatsu commented Jun 1, 2019

It shows pink by default, but it doesn't fit with my server colour scheme.

http://prntscr.com/nw7sbj

@Sikatsu Sikatsu changed the title Option to change the layout of {bonuses} placeholder Option to change the color of {bonuses} placeholder Jun 17, 2019
@Rocologo
Copy link
Owner

Rocologo commented Jul 6, 2019

I think you can change the color in the lang file

bonus.happyhour.name=Happy Hour

to

bonus.happyhour.name=§aHappy Hour

?

@Sikatsu
Copy link
Author

Sikatsu commented Jul 6, 2019

I tried, but it seems hardcoded.

@Rocologo
Copy link
Owner

Rocologo commented Jul 6, 2019

You should be able to overrule this

return ChatColor.LIGHT_PURPLE + MobHunting.getInstance().getMessages().getString("bonus.happyhour.name");

@Sikatsu
Copy link
Author

Sikatsu commented Jul 6, 2019

Well.. it didn't work when I tried, that's odd.

@Rocologo
Copy link
Owner

Rocologo commented Jul 6, 2019

bonus.happyhour.name=§bHappy Hour

worked fine on my test server

2019-07-06_20 05 51

@Rocologo Rocologo closed this as completed Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants