The Playsound command has the following syntax:/playsound <sound> <source> <player> [x] [y] [z] [volume] [pitch] [minVolume]
However, executing:/playsound <sound> <source>
and leaving out <player>
causes an internal server error to happen.
Simple fix is to improve the argument validation.
Linked issues
Comments 4
I have never heard of this new parsing library. Do you know where I can find more information about it?
There's some info on 1.13's changes in this reddit post; brigadier is mentioned here. There's also some more technical discussion of it [in this #mcdevs IRC log] between 2017-07-31 22:47:04 and 2017-07-31 23:49:05.
This seems very similar to your report here: MC-101113.
Confimed. Here's the console message (17w43b):
This'll most likely be fixed when brigadier (the new command parsing library) is implemented, but in the mean time:
The current validation is simply
if (args.length < 2)
; changing that toif (args.length < 3)
would solve it. Alternatively, they could make the player argument optional by checking the number of arguments, as is done for the rest of the optional arguments.