This has got me. I need a command that tells me if all players on a server are in a radius of a command block. If one of them isn't in the radius, the command will be false. Any ideas? Thanks!
Minecraft – How to test if all minecraft players on a server are in a radius
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – How to give an effect to all players that are not in the radius of 4 around the villager
- Minecraft – how to add multiple players to a level specific team in minecraft
- Minecraft Commands – TP Players to a Certain Block When They First Spawn
- Minecraft – How to target a player that is both in a certain Y coordinate and in a certain radius
- Minecraft Java Edition – How to Identify All Players Within a Given Radius Using Minecraft Commands
Best Answer
Use a command block with the command
/testfor @a[rm=RADIUS]
. point a comparator from the command block into another block, and on that block, place a redstone torch. This tests if anyone is outside of the radius, and inverts the signal, providing the output you want.