Paper: Command Block string length issue

Created on 12 May 2020  路  4Comments  路  Source: PaperMC/Paper

Entering a command line into a command block that is greater than 256 characters:

sudo PlayerName ct command add /summon minecraft:dolphin ~ ~2 ~ {Moistness:2147483647, Passengers: [{"id": "drowned", Count:1, HandItems:[{},{id: trident, Count: 1, tag:{Enchantments:[{id: impaling, lvl:1}, {id: channeling, lvl: 1}]}}], HandDropChances:[0.0f,0.1f]}]}

Errors at maximum string length and disconnects me from server:

io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (272 > 256)

Steps/models to reproduce:

Simply type in more than 256 characters into a command block command line

Plugin list:

N/A

Paper build number:

281

All 4 comments

Not an issue, but rather limit set by mojang.

No. Mojangs command block command limit is 32500.

That's a plugin issue. The plugin that is providing the command "sudo" is somehow executing that command as a chat message from the player.
The vanilla "execute" command don't have that limitation.

this is fixed in latest

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TNTUP picture TNTUP  路  3Comments

James94665 picture James94665  路  3Comments

zedwick picture zedwick  路  3Comments

greenywd picture greenywd  路  3Comments

molor picture molor  路  3Comments