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

/tellraw security issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11.2, Minecraft 17w06a
    • None
    • Unconfirmed

      Doing

      /tellraw (selector) []

      will kick them with a big long message:

      Internal Exception: io.netty.handler.codec.DecoderException: com.google.JsonSyntaxException:
      com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1

      This works with any other array of square brackets, ex.

      [[]]

      Now, this can be exploited by using a Repeating Command Block to do

      /tellraw @a []

      , effectively denying anyone from joining a server/realm/world.

      This doesn't work with curly brackets, as it says "Invalid json: ".

      The only good use for this is to give Realm owners a limited version of

      /kick

      to kick spamming players from the server.

            Unassigned Unassigned
            TheMuffinPony TheMuffinPony
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: