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

Command block auto-complete suggests player-only commands


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, 1.16.5, 21w07a
    • Confirmed
    • (Unassigned)

      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")

            Unassigned Unassigned
            m124367 AgentM
            11 Vote for this issue
            3 Start watching this issue