mojira.dev
MC-112699

Server motd is sent as plain text component making it impossible to use text components for formatting

The bug

Based on 1.11 decompiled using MCP 9.35 rc1

The server sends the motd as plain text component (method net.minecraft.server.MinecraftServer.run()). This requires the player to use the legacy formatting character (§) because the string is displayed as plain text for the client.

Expected behavior

The motd should be a text component which is then parsed and send to the client.

This would require old motd messages to be converted to a text component.

Linked issues

Comments 1

Still in 1.21.4.

marcono1234

(Unassigned)

Confirmed

Networking, Text

formatting, formatting-codes, motd, server, text

Minecraft 1.11.2, 20w07a, 1.19.3, 1.21.4

Retrieved