mojira.dev
MC-34413

Testfor command not working with a fake player

when having "testfor @a[score_test_min=2]" in a command block, adding a fake player like (/scoreboard players add test etc.) and add points in won't output a redstone signal (using comparator) adding a real player thats on the server works, also running Vanilla Server also happens in singleplay

Re-Produce Steps

1. Place a command block and type "testfor @a[score_test_min=2]" Put a redstone Comperator on any side

2. Link a timer to the command block

3. type in chat "/scoreboard objectives add test dummy"

4. type in chat "/scoreboard players add testplayer test 1"

5. repeat "4" again and no redstone signal is outputting

6. try all steps but on step "3" change testplayer to your username

Thats it hope people can Re-Produce

Linked issues

Comments 8

Update put [ before score and ] after 2

Well, that's working as expected - where's the bug ?

so its not ment to output when using fake players?

Why should it ? There are no "fake" players. There are "real" players and nothing else. You don't create a player just by adding something to a scoreboard.

how do you reset real players that have logged off the server because typing "/scoreboard players reset @a" only resets players that are on the server

"Bump or necro" is you to decide, but if this intended, then why not add filter that searches in tracked "players" or something? Really, Mojang, since beginning it lacking something that could been very useful

Michael Volpe

(Unassigned)

Unconfirmed

command_block, scoreboard

Minecraft 1.6.4, Minecraft 13w39b

Retrieved