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

/tellraw fails to execute a command if the player who interacts would be unable to execute it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 13w37a, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w05b
    • Windows 7, Java 1.7
    • Unconfirmed

      If a player or a command block executes a /tellraw command which has some interactivity with it, (eg. Click here to reset the minigame), the command which it is told to execute is done from the permission level of the player who clicks the dialog. This means that if a server owner wants to use /tellraw for a store or some minigame, the players who interact with it need to be able to use the commands the /tellraw uses, which could be dangerous for the server. Adventure maps that use /tellraw would need to keep cheats enabled, which is not ideal.

      This may be intended for safety reasons, but it seems to break the tellraw feature.

      A solution might be to execute commands that are part of /tellraw from the permissions of the person/commandblock issuing the /tellraw command. This way, for example, if a player who can use /tellraw and /give, but not /ban would not be able to create a dialog that would ban players, but could make one that can give a player an item.

            Unassigned Unassigned
            itsZN ItsZN
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: