Minecraft
  1. Minecraft
  2. MC-43984

Normal players can use player selectors

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.7.4, Minecraft 14w02a, Minecraft 14w02c, Minecraft 14w03a, Minecraft 1.7.5, Minecraft 14w11b
    • Fix Version/s: Minecraft 14w04a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
    • Environment:

      Ubuntu 12.04 64bit
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

    • Confirmation Status:
      Unconfirmed
    • Game Mode:
      Survival

      Description

      With enough players online, entering a command like the following kicks all players because @a gets expanded to a list of all online players.

      /me @a @a @a @a @a @a @a @a @a @a @a @a ...

      This is what it looks like from the logfile.

      derp lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: io.netty.handler.codec.EncoderException: java.io.IOException: String too big (was 33145 bytes encoded, max 32767)

      At this point my server has become unplayable with more than 10 people online. This issue is well-known and spreading. I expect waves of players doing this to every vanilla server.

        Issue Links

          Activity

          Hide
          Arne König added a comment - - edited

          Please fix this soon. Running an open vanilla server is impossible with this bug. Fixing it should be as simple as disabling selectors in /me.

          Show
          Arne König added a comment - - edited Please fix this soon. Running an open vanilla server is impossible with this bug. Fixing it should be as simple as disabling selectors in /me.
          Hide
          Arne König added a comment - - edited

          I've heard that MC-44000 may be a duplicate of this but I don't have access and cannot confirm this myself.

          Show
          Arne König added a comment - - edited I've heard that MC-44000 may be a duplicate of this but I don't have access and cannot confirm this myself.
          Hide
          [Mod] Kumasasa added a comment -

          Setting that ticket to public since most of the duplicates are public too.

          Show
          [Mod] Kumasasa added a comment - Setting that ticket to public since most of the duplicates are public too.
          Hide
          Anthony Martin added a comment -

          Tested in 14w11b. Can still use /tell @a without being op. Using various selectors, it is possible to locate other players, for example:

          @a[x=0,z=0,r=1000]
          @p[x=1000,z=-2000,r=100]

          Using trigonometry, a player can obtain the exact cords of a player in 3 whispers.

          Show
          Anthony Martin added a comment - Tested in 14w11b. Can still use /tell @a without being op. Using various selectors, it is possible to locate other players, for example: @a[x=0,z=0,r=1000] @p[x=1000,z=-2000,r=100] Using trigonometry, a player can obtain the exact cords of a player in 3 whispers.
          Hide
          [Mod] Kumasasa added a comment -

          Reopened because of /tell

          Show
          [Mod] Kumasasa added a comment - Reopened because of /tell
          Hide
          Samuel Ward added a comment -

          Using the selector @e and arguments like [r=1000000] is is possible to crash Minecraft. (That is, if the radius is above 500,000)

          Show
          Samuel Ward added a comment - Using the selector @e and arguments like [r=1000000] is is possible to crash Minecraft. (That is, if the radius is above 500,000)
          Hide
          Tokes added a comment -

          Well they finally fixed the "nuke a map with the give command" bug last month, maybe they'll get around to this.

          Show
          Tokes added a comment - Well they finally fixed the "nuke a map with the give command" bug last month, maybe they'll get around to this.

            People

            • Assignee:
              [Mojang] Dinnerbone (Nathan Adams)
              Reporter:
              Arne König
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: