Skip to content

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

@Aliorpse

Description

@Aliorpse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions