[MCPE-21968] Commands in client-only.json cannot be overwritten by servers Created: 18/May/17  Updated: 25/Jan/19  Resolved: 25/Jan/19

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.1.0.9
Fix Version/s: None

Type: Bug
Reporter: Mark White
Resolution: Cannot Reproduce Votes: 1
Labels: command

Confirmation Status: Unconfirmed
Platform: Phone - Android - Oneplus (Specify in description)

 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.



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 25/Jan/19 ]

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

Generated at Sat Jan 11 15:33:06 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.