EssentialsX

EssentialsX

2M Downloads

Prefix formatting bleeds into display name

melaniebeedot opened this issue ยท 1 comments

commented

Type of bug

Performance issue or memory leak

/ess dump all output

https://essentialsx.net/dump.html?id=2a7e713c0a5c48d1b5ca90e0a49a40f6

Error log (if applicable)

No response

Bug description

The bold from our prefixes is carrying over into our usernames when we /afk or un-/afk, and switching game modes, and in the /list of players online, even though our prefixes are specifically defined to reset the bold at the end of the prefix:
bold

Steps to reproduce

  1. Update to the latest dev build of EssentialsX
  2. /afk or /gm or /list

Expected behaviour

Prefix is bolded and username is not.

Actual behaviour

Both prefix and username are in bold.

commented

The random format code also causes problems for /list, /whois, /seen, and /msg

Prefix is &1[&9&k::&9CoOwner&9&k::&1]&7

EDIT: I tried adding the reset code &r to the prefix, but it didn't help.

Essentials v2.21.0-dev+56-1929d41
Paper version git-Paper-430 (MC: 1.20.4)

image