• Register
Welcome to Minecraft Help - Questions & Answers

Here you can ask Minecraft related questions or help other players by answering their questions.
Community driven website maintained by Minecraft Servers - A list with thousands of playable servers for Minecraft.

We recommend Mojangs new official bug tracker, letting them know about errors, will help speed up development to close bugs. Visit at Minecraft Bug Tracker
  • Minecraft Skins
  • Minecraft Statistics
  • How do I make a Commandblock test that there is only one player ?

    +1 vote
    How do I make a Commandblock test that there is only one player in the radius with the new command "testfor"? Is there any way to do this?
    asked Mar 19, 2013 in Redstone Circuits by anonymous
      

    1 Answer

    0 votes

    testfor @[r=10, c=1]

     

    r is radius

    c is player count

    and of course, you need to power command block with redstone so it can try to detect anything, and comparator for output redstone

    answered Jun 16, 2015 by Jabuto_sama (170 points)
    I tried this. It activates even if there are multiple players.  Also, would you use @p or @a?

    Please Donate To Bitcoin Address: [[address]]

    Donation of [[value]] BTC Received. Thank You.
    [[error]]
    ...