mojira.dev
MC-69992

Wrong syntax for /scoreboard players test (max value isn't required)

The syntax for /scoreboard players test is:

/scoreboard players test <player> <objective> <min> <max>

But the <max> value isn't required; if you don't specify any value, it will assume the biggest maximum, but not return errors. So the syntax should be:

/scoreboard players test <player> <objective> <min> [max]

Environment

Windows 8
Java 7u55

Attachments

Comments 1

Confirmed.
If <max> is omitted, LONG_MAX is assumedd.

Bentroen

Erik Broes

Confirmed

/scoreboard, command, optional, players, required, string, syntax

Minecraft 14w34d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre5, , Minecraft 15w40a, Minecraft 15w40b, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a

Minecraft 1.10

Retrieved