mojira.dev
MC-128449

Brigadier: Sometimes the error message is not useful

You input a command with an unknown name, or a missing but unrequired command, then the error message is not useful for it.
For example:

You input: /unknown
Error message: Unknown command at position 0: <--[HERE]
Expected: Unknown command "unknown". Type /help for help.

You input: /kill
Error message: Unknown command at position 4: /kill <--[HERE]
Expected: Missing variable: /kill <target> or "<target>" is a required variable.

Affected versions include earlier 1.13 snapshots, maybe since when the command system is changed.

Attachments

Comments 8

The error message for "/unknown" is correct. The other one is MC-121634.

@unknown your the owner of this ticket you don't need to comment what version it affects you can just add it yourself in affected versions.

Cannot reproduce in 1.17.1 with the provided examples. Typing /unknown says "Unknown or incomplete command, see below for error". And /kill kills the player. There might be some other cases though.

Can't reproduce in 24w39a for the same reasons as listed by ampolive. Missing variable errors is duplicated by MC-121634 which was marked as Won't Fix.

Is this still an issue as of 24w39a? If so, then please edit the description with updated steps to reproduce.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

SolidBlock

(Unassigned)

Confirmed

(Unassigned)

brigadier, command, description, error-message, syntax

Minecraft 18w15a, Minecraft 18w19b, Minecraft 1.13-pre7, Minecraft 1.13-pre10, Minecraft 1.13, ..., Minecraft 18w32a, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 2, 1.16.5

Retrieved