So I have this map that me and my brother Zeal Etage (Minecraft name) play together using LAN. I created a command block system using the /testfor
command for a money system that rewards on mob-killing. I have a command like this:
/testfor [name=ZealEtage,score_skeleton_min=1]
but it says the UUID doesn't match. What am I doing wrong?
testfor
? There are a few good reasons to usetestfor
, but without seeing more of your command blocks, I can't say for sure that this is such a case. If you're only usingtestfor
for demonstration purposes, then you'd probably be better served but using the actual command from your contraption.testfor
? What I'm saying is thattestfor
generally isn't as useful as people think it is, especially in 1.8 and earlier. There's usually better ways of doing things that don't use thetestfor
command. You have at least a basic knowledge of scoreboards, and you're already using it in a selector, which makes me wonder why thetestfor
hasn't already been made redundant.testfor
often leads to designs that are less than optimal, which is why I recommend avoiding it, especially by beginners. It's one of the easiest commands to misuse because it's a very simple command, but that simplicity makes it very inflexible. In this specific case, you can probably very easily do away with this instance oftestfor
, unless it's triggering a redstone device. If you're using it to control other command blocks, the scoreboard is probably the better option.