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

Command block auto-complete suggests player-only commands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 17w18a, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, 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 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, 1.14.4, 1.15 Pre-release 6
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The /reload command is only available to opped players in singleplayer and multiplayer.
      So are /stop, /kick, /ban, etc. in multiplayer.

      Although when inserting "/r" and "Tab" a couple of times, the list will suggest /reload.
      Likewise with "/s", "/k", "/s", etc.

      This happens because the same list of commands available for an opped player is used in the command block as well.

      What should happen: All commands that the command block has no permission to, need not to be suggested using tab completion.

      This can be achieved by only showing commands for players with op-level=2
      (because any regular commands are shown to players with this op-level correctly)

      This may confuse newer players why those commands would not work in a command block, because clearly they are suggested. (And the error message might need some attention too: "This command can not be run by command blocks")

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              m124367 Melvin S.
              Votes:
              9 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: