[MC-12177] Command block scoreboard @p acting as @a Created: 17/Mar/13  Updated: 21/May/13  Resolved: 21/May/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.5
Fix Version/s: None

Type: Bug
Reporter: Wesley Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: None
Environment:

Vanilla Creative mode world, played on a mac, hosted on a PC.


Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

EDIT: actually incorrect use of command blocks, not a bug
Type "testfor @p[ score_password=64,score_password_min=64 ]" into a command block. As long as one player on the server has "password" set to 64, the command block will act like everyone has it set to 64, and output signal even if the closest player to the command block has it set to something else. Video demonstration: http://youtu.be/7XTNHYsGgmg



 Comments   
Comment by Wesley [ 18/Mar/13 ]

oops, sorry. the wiki was a little vague about it, it said command blocks "can also be used to check a player's score for any objective", and I assumed it meant.... well, what made sense to me. i can't currently think of a useful way to use the correct syntax :/

Comment by Moe [ 18/Mar/13 ]

Well, the Syntax of the commandblock works exactly like that: It will check for the nearest player that has those data sets attached. If you want to check if the nearest player has those things set, I dont know a possible way of doing that :/

Generated at Sun Jan 12 12:30:04 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.