Its for my adventure map basically an anti-cheat mechanic that makes sure anyone that isn't me can't join the team "Admin"

1 Answer 1


Use the team selector argument to test for people on a specific team, and the name selector to test for a specific player:

/testfor @a[name=PlayerName,team=Admin]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .