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


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]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.