mojira.dev
MC-19605

the /playsound command does not work with @a when >1 player passes the query

The /playsound command doesn't work with multiple players, meaning when you use @a with parameters that limit it to one person, it works, however when more than one player qualifies it fails.

how to reproduce
Two people on a server
One types /playsound random.explode @a[r=1], should work assuming they are more than 1 block apart.
type /playsound random.explode @a, should fail

Linked issues

Comments 8

I am able to play sounds with @a on a command block without a problem. Are you sure you aren't doing something wrong?

ok yes it does work on single player but when there is more then one player on a server it will not play

/playsound mob.enderdragon.end @p

/playsound mob.enderdragon.end @a

Both work fine for me

Confirmed when there is more than one player.

Works easily on Single player but when using the server software @a doesn't work with more then one person on. Keeps giving me the msg "the player cannot be found"

This is also happening on Mac OSX 10.8.4

Confirmed on external server with two players

Confirmed on Mac 10.7.5 on a server... '/playsound note.pling @a' Says "the player cannot be found"

Eli

Nathan Adams

Unconfirmed

/playsound, command_block

Minecraft 1.6.1

Minecraft 1.6.2

Retrieved