EssentialsX

EssentialsX

2M Downloads

Add formatting capability of player names text when using /alts <player> command

aaronlclark opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=5b98504219c54891a3f173dc3c776f18

Error log (if applicable)

No response

Bug description

Would it be possible to add formatting capabilities to the player names that appear when the /alts is submitted, please?
i.e allow for the final 'aaronlclark' text to be formatted, as it appears to currently be unformatted.

I cannot seem to locate a line/field for this in either config.yml nor messages_en.properties.

If this already exists, could someone point me in the right direction, please?
2023-12-09_20 26 05

Steps to reproduce

type /alts

Expected behaviour

I'd hope there'd be a way to format the text that shows the player name(s) either via config.yml or messages_en.properties.

Actual behaviour

I cannot seem to find a way to format this specific text.

commented

Yeah there isn't a way to change this right now, looks like it just gets printed as a string:

sender.sendMessage(StringUtil.joinList(matches));