Hey everyone. I need a command that sencers for one and only 1 player. If there is two I don't want it to activate a comparator if theres 0 I don't want it to activate a comparator.
That didn't work properly. When I teleport me and my friend within 250 blocks of the command blocks AT THE SAME TIME. It activates the comparator. Which is a big problem as as it teleports me away meaning I can't access the command blocks. Can I get rid of the command by using another one?
1. That won't work as Staff is never removed from the player meaning they can't move without removing there tag.
2. That's not what I mean. When ever I'm wthen 250 blocks of a command block it teleports me somewhere else meaning I can't access the command block contraption.
You don't get it. When I'm within 250 blocks of the command block. It teleports me back to the lobby. I don't want to be at the lobby I want to be where the command blocks are but I can't as when I'm within 250 blocks of them it teleports me back to the lobby.
If you want to protect your command block area from other players you can give yourself a tag or join a team and then teleport away any player that doesn't have the tag.
/scoreboard players tag <player> add Staff
/tp @a[x=0,y=0,z=0,r=250,tag=!Staff] x y z
You only need the tp command to run constantly. You can tag players with the Staff tag by running the first command and remove the tag by changing "add" to "remove" in the first command.
Oh never mind I see what you mean. But it teleports everyone away incuding me. I'm not using this contraption but the first command you gave me didn't work.
You can only target entities with @e. What do you mean by targeting blocks? You can use /execute and run a command at specific coordinates if that's what you mean.
Targetting blocks means using the /testforblock or /testforblocks command. I am presuming that's what he mean
Hey everyone. I need a command that sencers for one and only 1 player. If there is two I don't want it to activate a comparator if theres 0 I don't want it to activate a comparator.
Any ideas?
Thank You very much!
not a repeater
That didn't work properly. When I teleport me and my friend within 250 blocks of the command blocks AT THE SAME TIME. It activates the comparator. Which is a big problem as as it teleports me away meaning I can't access the command blocks. Can I get rid of the command by using another one?
1. That won't work as Staff is never removed from the player meaning they can't move without removing there tag.
2. That's not what I mean. When ever I'm wthen 250 blocks of a command block it teleports me somewhere else meaning I can't access the command block contraption.
You don't get it. When I'm within 250 blocks of the command block. It teleports me back to the lobby. I don't want to be at the lobby I want to be where the command blocks are but I can't as when I'm within 250 blocks of them it teleports me back to the lobby.
Oh never mind I see what you mean. But it teleports everyone away incuding me. I'm not using this contraption but the first command you gave me didn't work.
Forget it. Can I use the @e command to target blocks? If not is there another way to target them?
Targetting blocks means using the /testforblock or /testforblocks command. I am presuming that's what he mean
I want to use the /execute command for a block I roughly know where it is but I can't get within 250 of it.
I created a new thread to help me.
http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/command-blocks/2741413-i-made-a-problem-with-my-mini-game
just use @p instead of @a in the command
That won't work.