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
@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
The error message for "/unknown" is correct. The other one is MC-121634.