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

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

Open
aaronlclark opened this issue Dec 10, 2023 · 1 comment · May be fixed by #5595
Open

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

aaronlclark opened this issue Dec 10, 2023 · 1 comment · May be fixed by #5595
Labels
bug: confirmed Confirmed bugs in EssentialsX. status: open to PR Low priority enhancements that anyone is welcome to contribute.

Comments

@aaronlclark
Copy link

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.

@aaronlclark aaronlclark added the bug: unconfirmed Potential bugs that need replicating to verify. label Dec 10, 2023
@pop4959 pop4959 added bug: confirmed Confirmed bugs in EssentialsX. and removed bug: unconfirmed Potential bugs that need replicating to verify. labels Dec 10, 2023
@pop4959
Copy link
Member

pop4959 commented Dec 10, 2023

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));

@pop4959 pop4959 added the status: open to PR Low priority enhancements that anyone is welcome to contribute. label Dec 10, 2023
@Evidentsinger14 Evidentsinger14 linked a pull request Dec 10, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed Confirmed bugs in EssentialsX. status: open to PR Low priority enhancements that anyone is welcome to contribute.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants