mojira.dev
MC-99199

Capitalisation in commands results in unknown command

If you use capitalisation in a command, then the command comes up as Unknown Command, but all lowercase allows the command to work.

Affects any variety of capitalised and lowercase letters, for example:
"/gamemode 1" works, "/Gamemode 1" does not.
"/help" works, "/Help" does not. Nor does "/HELP".

Attachments

Comments 5

That's not a bug. Commands are case-sensitive.

Oh, I hadn't noticed that before..

@unknown I actually see no reason why they are, as far as I know, only gamerules have capitalization in them, I'll leave it open for another mod/mojang to decide.

@@unknown Command names are case-sensitive, IDs (entities, blocks, items) are case-sensitive, all NBT data is, all text component data is, all selectors & selector parameters are, essentially all arguments are, including but not limited to: the values for /gamemode, objective names, player names, tag values, and team names for /scoreboard, achievements for /achievement, values for /gamerule (both the gamerule name and the value to provide them), sound names for /playsound, particle names for /particle, slot values for /replaceitem, and values for /worldborder.

The only cases I can think of where it's not case-sensitive are values for /weather and non-custom input for /scoreboard, and since they are in the extreme minority, it's more likely they are meant to be case-sensitive rather than changing everything else to be case-insensitive.

@unknown true, resolving

Jake Major

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved