M BUZZ CRAZE NEWS
// news

Command block team selector

By John Parsons

I'm trying to make a command for a hide and seek map but I'm having this problem. The following is the command I use:

/effect @a[team=S] minecraft:slowness 20 10

The selector @a[team=S] doesn't work. It says:

Selector '@a[team=S]' found nothing

This should work because I made sure someone was on that team (me) and the team did exist. Though no matter what command I use it still comes up with the same result. The map won't really work without it.

3

1 Answer

If you used the actual team name "S" as in

/scoreboard teams add S

and put players on that team, it should work fine. Try using

/scoreboard teams add seeker

and use that team instead. Additionally, try using a lowercase "s".