[MC-6110] Command Block messages are cut short in multiplayer, but not singleplayer Created: 04/Jan/13  Updated: 29/Dec/17  Resolved: 01/Aug/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w05a, Snapshot 13w05b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w23b
Fix Version/s: Minecraft 1.6.2

Type: Bug
Reporter: David Warner Assignee: Unassigned
Resolution: Fixed Votes: 13
Labels: command, command_block, redstone, say, server, tell

Attachments: PNG File 2013-01-04_15.43.37.png     PNG File 2013-01-24_11.17.43.png     PNG File 2013-08-01_13.02.31.png     PNG File jigtest.png    
Issue Links:
Duplicate
is duplicated by MC-11408 Text sent by Command Block is cut off... Resolved
is duplicated by MC-13150 command blocks don't support more tha... Resolved
Relates
relates to MC-8331 Command block text disappears if too ... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

Command blocks, in singleplayer, are capable of displaying messages up to the cap of 254 characters, using /say or /tell.

On a server, these /say commands are truncated, to a limit of ~120 characters displayed. There is no issue entering the characters on the command line, it's just that only 120 characters are displayed on a server.

For screenshot context- the 1st picture is someone testing a map creation of mine, in SMP with one other player. The other picture is in singleplayer & creative, triggering the same command block manually.

To reproduce:

1. Open up a world in singleplayer, and place a command block. Open the command line, type "/say" and as many letters or words as possible. Activate the command block with redstone. It should work as intended.

2. On a server with command blocks / permissions enabled, do the same thing. When the command block is activated, only two lines will be visible, which will only be a portion of the entered "/say" command output.



 Comments   
Comment by GrygrFlzr [ 01/Aug/13 ]

Seems to be fixed as of 1.6.2.

Comment by qmagnet [ 11/May/13 ]

Please fix this. It ruins certain adventure maps.

Comment by Jonathan Lundgren [ 03/Apr/13 ]

This is indeed still a problem in 1.5.1. Please fix this!

Comment by Jesper the End [ 02/Apr/13 ]

confirmed for 1.5.1

Comment by Justin Bagri [ 25/Mar/13 ]

Confirmed in 1.5.0 and 1.5.1, please update.

Comment by Tails [ 17/Mar/13 ]

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

Comment by David Warner [ 27/Jan/13 ]

I found something here, which supports Chad's comment: http://mc.kev009.com/Protocol#Chat_Message_.280x03.29 .

From that page: "Chat Message (0x03)... A message longer than 119 characters will cause the server and client to print the message "Received string length longer than maximum allowed (X > 119)", with no side effects."

The server is only recognizing the first 119 characters in the string before outputting. Since command blocks can be written well past 119 characters, and this chat limit isn't encountered in singleplayer, I'd have to say this is still a bug.

Comment by Caster And [ 25/Jan/13 ]

As far as I know, you can change the chat length (limit) in server.properties. Although I might've misunderstood the problem.

Comment by Chloe Idun Anderson [ 25/Jan/13 ]

I don't know that this is a bug. I remember they put a hard cap on the length of messages in multiplayer a while back. I think it was probably to either prevent problems or make it faster in some way.

Comment by David Warner [ 24/Jan/13 ]

Recent photo from latest snapshot. Notice that only two lines are visible. I have updated the affected version to reflect this.

Comment by David Warner [ 19/Jan/13 ]

Nicholas, the issue is that the characters visible in singleplayer (as many as 256 characters can fill, three or four lines) are only visible up to two whole lines in multiplayer. This is a server related issue, and it appears independent of the client OS.

Comment by Nicholas George [ 18/Jan/13 ]

1. You just type in "say blah blah" and it will work better(should)
2. I don't know I just wanted to type in "2."

Comment by David Warner [ 18/Jan/13 ]

It appears to only display two whole lines of text in multiplayer. I've tested this in the latest snapshot (13w03a), so I'll edit the affected version again.

Comment by Patric Bähr [ 17/Jan/13 ]

I encountered Problems with characters been transfered from Win Client to a Linux Server. Probably the same effect takes place here.

Generated at Sun Jan 12 12:10:07 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.