Resolution: Works As Intended
Minecraft 14w07a, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w33c, Minecraft 14w34b, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.6, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w40b, Minecraft 17w06a
Using /trigger for a player who has no score for an objective (see
MC-79255) shows the error message commands.trigger.invalidObjective:
This is pretty misleading and should instead be something like
If this is no bug, tab-completing the objective argument on /trigger should not return invalid objectives.
Will print "Invalid trigger name someObjective" in chat. Note that trigger objectives that aren't enabled print a different message: "Trigger someObjective is not enabled". Giving the objective a value or enabling its trigger for the player will make it work:
Will set someObjective to 1 for me.