EssentialsX

EssentialsX

2M Downloads

Can't change color of command help in locale

nymphlode opened this issue · 1 comments

commented

Type of bug

Other unexpected behaviour

/ess version output

[10:45:45 INFO]: CONSOLE issued server command: /ess version
[10:45:45 INFO]: Server version: 1.17.1-R0.1-SNAPSHOT git-Paper-157 (MC: 1.17.1)
[10:45:45 INFO]: Brand version: Paper
[10:45:45 INFO]: EssentialsX version: 2.19.0-dev+232-b84207f
[10:45:45 INFO]: LuckPerms version: 5.3.55
[10:45:45 INFO]: EssentialsXSpawn version: 2.19.0-dev+232-b84207f
[10:45:45 INFO]: EssentialsXChat version: 2.19.0-dev+232-b84207f
[10:45:45 INFO]: Economy Layer: None
[10:45:45 INFO]: Vault is not installed. Chat and permissions may not work.
[10:45:45 INFO]: Fetching version information...
[10:45:45 INFO]: You're running the latest EssentialsX dev build!

Server startup log

https://paste.gg/p/anonymous/5469c4ea109b4283b918a0313966ecda

EssentialsX config files

https://paste.gg/p/anonymous/e33f0585a9794e1787cb216c7b650147

Error log (if applicable)

No response

Bug description

Can't change the color of some of the localized text in EssentialsX, specfiically the orange and yellow parts (not including the join message). I was able to make some parts grey, but that's about all I could do. Attached is a screenshot of the issue.
image

Steps to reproduce

  1. Set up a messages_en.properties within the Essentials folder for editing (I got mine from the .jar)
  2. Replace all instances of §6 (orange) and §e (yellow) with any other color. Or even try searching for the string of text shown in the screenshot provided. It doesn't exist in this file.
  3. Run any command to trigger the "command help" prompt (for example, just run "/tpa" with no arguments) and find that the colors are still orange and yellow for this.

Expected behaviour

The colors should be changed to whatever I'd like.

Actual behaviour

The colors stay orange and yellow.

commented

The following usage strings used for this are;

commandArgumentOptional=\u00a77
commandArgumentRequired=\u00a7e

commandHelpLineUsage={0} \u00a76- {1}

I have added

commandArgumentOr=\u00a7c

in #4480