mojira.dev
MC-48223

Adding mobs to the scoreboard results in IOException caused by packet length (multiplayer)

Adding mobs to the scoreboard using a command such as:

/scoreboard teams join TeamName @e[type=Creeper]

Adds a new "player" to the team with the matched entites UUID value. On a multiplayer server this prevents additional players from joining the server with the IOException:

Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException:
The received string length is longer than the maximum allowed (36 > 16)

As the packet is only meant to accept player names as values (which are a maximum of 16 characters long). This issue does not appear to disconnect players who are already on the server however.

Linked issues

Comments 4

Mobs were never intended to be added to scoreboard.

@Fluffy89502 Which kind of makes that a bug, no? 😛

May be duplicate of https://bugs.mojang.com/browse/MC-49305 which is now resolved.

Is this still a concern in the current Minecraft version 14w18b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Zuriki

(Unassigned)

Unconfirmed

Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w08a

Retrieved