mojira.dev
MC-129814

Function ran, title, or tellraw with score or selector component, in translate's with, kicks clients

See title:
works fine:

title @a actionbar "hi"
title @a actionbar {"score":{"name":"@s","objective":"FlyTime"},"color":"green"}

Kicks clients:

title @a actionbar {"translate":"%s","with":[{"score":{"name":"@s","objective":"FlyTime"},"color":"green"}]}

errors:

[20:22:39] [Netty Server IO #1/ERROR]: io.netty.handler.codec.EncoderException: String too big (was 34931 bytes encoded, max 32767)
[20:22:39] [Server thread/INFO]: FVbico lost connection: Disconnected

it doesn't crash when you just run it once. It starts to freeze (and eventually) crash if the command is run often.

  • Try putting the function in a 'needs redstone' repeating command block with a comparator attached to it which reads the output of a hopper chain.

  • Then throw an item in the hopper chain (so the comparator turns the command block on for a few ticks),

  • you'll notice the fps gets less and less,

  • and eventually it's crash (if you do this twice in a row, for example)

Linked issues

Comments 18

Still affects 18w21a

kicks clients -> fills memory of clients, went from 7% to 74%, Timed Out message

and yeah, it crashes the game rather than just kicking

Still kicks me, but that may be because I use a server.

8 more comments

affects 1.13-pre5
and I think this should be updated; it doesn't crash when you just run it once. It starts to freeze (and eventually) crash if the command is run often. Try putting the function in a 'needs redstone' repeating command block with a comparator attached to it which reads the output of a hopper chain. Then throw an item in the hopper chain (so the comparator turns the command block on for a few ticks), you'll notice the fps gets less and less, and eventually it's crash (if you do this twice in a row, for example)

I cannot seem to confirm in 1.13-pre6. If anyone else can confirm, please do so.

Me neither, this seems to be fixed in 1.13-pre6

Confirmed fixed, sadly the highly related MC-124241 is not though...

user-f2760

(Unassigned)

Community Consensus

Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, ..., Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5

Minecraft 1.13-pre6

Retrieved