Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-21968

Commands in client-only.json cannot be overwritten by servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.1.0.9
    • Unconfirmed
    • Phone - Android - Oneplus (Specify in description)

      Since 1.1.0.5 the commands' overloads in the file 'assets/commands/client-only.json' cannot be changed from server using the AvailableCommands packet.

      For example, I send to the client the available commands in this format:

      {
          "help": {
              "versions": [
                  {
                      "aliases": [
                          "?"
                      ],
                      "overloads": {
                          "0": {
                              "input": {
                                  "parameters": [
                                      {
                                          "name": "page",
                                          "optional": true,
                                          "type": "int"
                                      }
                                  ]
                              },
                              "output": {}
                          },
                          "1": {
                              "input": {
                                  "parameters": [
                                      {
                                          "name": "command",
                                          "type": "rawtext"
                                      }
                                  ]
                              },
                              "output": {}
                          }
                      },
                      "permission": "any"
                  }
              ]
          }
      }
      

      The format is the same as the one in client-only.json except the names of the overloads and when the client types /help it send a CommandStep packet with the overload name set as 'byPage' instead of '1', as it did before 1.1.0.5.

            Kripth Mark White
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: