After creating a "Dummy Player" by doing /scoreboard players set Blue Lives 30 I cannot use the /testfor command to check its score. /testfor Blue[score_Lives=0] always outputs false.
Comments 8
No, you don't get what I'm saying with the /scoreboard command can create a player that does not actually exist. The player called "Blue" is not actually on the server but you can still make it show up on the scoreboard. But when i try to /testfor this "Dummy Player" it always returns false.
Creating Dummy Player Command
/scoreboard players set Blue Lives 30
Test Dummy Player Lives Command
/testfor Blue[score_lives=0]
PS: The player "Blue" is NOT on the server but command blocks enable me to create this player for "Dummy" purposes
You can either use a username or a target selector.
This is invalid:
/testfor Blue[score_lives=0]
This is valid:
/testfor @p[score_lives=0]
Is there any way to test for a player that does not exist.
The "Blue" player is not a team or a player it is just a score counter pretty much but there is no way to check the score of a score counter that is not a real player.
You can either use a username or a target selector.
The command should be