mc-utils icon indicating copy to clipboard operation
mc-utils copied to clipboard

[Util Change]: `Server Info` should support another syntax of `Description` field the remote server sent.

Open Aliorpse opened this issue 7 months ago • 0 comments

Util Name

Server Info

Changes

Quote from wiki

The description field is optional. If specified, it should be a text component. Note that the Notchian server has no way of providing actual text component data; instead section sign-based codes are embedded within the text of the object. However, third-party servers such as Spigot and Paper will return full components, so make sure you can handle both.

Furthermore, some servers do not obey the rules and use § in text components. The Minecraft client can successfully analyse this kind of Description.

But in fact, the util only supports the legacy one.

Extra Info

No response

Aliorpse avatar Jul 20 '25 19:07 Aliorpse