Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-116824

One can send chat messages when chat is set to "command only", but they won't be able to see them

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      One can send chat messages even when chat is set to "command only" in chat settings. They will be unable to see the message, but others are still able to see it; this is very confusing behavior.

      If this change was performed because the "cannot send chat message" message (chat.cannotSend) is confusing, then perhaps that message should be changed; even still, the current behavior is more confusing than that.

      To reproduce

      1. Connect 2 accounts to the server.
      2. In one account, make sure that chat settings is set to "commands only".
      3. In the other, make sure it is set to "shown".
      4. Say something from the player set to commands only.
      5. Observe that no message is displayed on that player's side, but a message is displayed on the other's side.

      Note

      This issue first surfaced in 13w36a (the first snapshot for 1.7); it was fine in 1.6.4. Prior to 13w36a, the handler for the chat packet rejected non-command chat messages if the player's chat visibility was commands only; now it only rejects chat messages if the visibility is set to hidden.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pokechu22 [Mod] Pokechu22
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: