mojira.dev
MC-51583

Command Blocks Can't Specify Players

I am creating a map, and when a player dies there Kill score on the scoreboard will go up by one, then I have a command block to track that player, with the command of:
/tp @a -748 64 -626 [score_Kills=1,score_Kills_min=1]
which should teleport any players with 1 kill, but instead, it says I must specify a player, but I can easily do the command myself by typing
/tp @a -748 64 -626, but the scoreboard tracker half just messes it up, there is a command I was working off of, and it works just fine:
/say Players With Kills Between 5 and 10 are: @a[score_Kills=1,score_Kills_min=1]

Comments 3

Maybe you should read something about how to use commands before reporting about them
/tp @a[score_Kills=1,score_Kills_min=1] -748 64 -626

Try using "{}" instead of "[]"

Thanks! My fault, I wasn't paying attention that well, I will work on that! (I forgot that the score extension was part of the separation of the players, so it goes right next to the @a)

Alex Murrell

(Unassigned)

Unconfirmed

Minecraft 14w11b

Retrieved