I'm building on a map in Minecraft, where a player (myself for example) will press a button and his status changes into "The Player is ready for the game to begin". So, press button -> /scoreboard players set @p IsReady 1

Now I want to test if the player is ready, so

Redstone clock -> /testfor Untertreiberman[score_IsReady=1]

The command block tells me that it can't find the player, but I'm there with a status of "IsReady 1".

  • Welcome to StackExchange. I edited your question to improve its readability and (hopefully) clarified it a little bit.
    – 3ventic
    Dec 21 '13 at 21:51

When you use a /testfor command, you can't use specific usernames to test for people on the server/world.

When testing for people with your score IsReady, use:

/testfor <selector(@p)>[score_IsReady=1]

So when someone is near by the commandblock, it will return true only if someone has IsReady=1.

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.