mojira.dev
MCPE-21968

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

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.

Comments 1

Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Mark White

(Unassigned)

Unconfirmed

Phone - Android - Oneplus (Specify in description)

command

1.1.0.9

Retrieved