I'm trying to activate some command blocks only if there's more than one player online in my vanilla server. Is there a way to accomplish this with command blocks?
The easiest thing to do would be to use the
You could also probably use the
You can also use the c tag:
How it works:
Then it tests there isn't exactly one player online. It will also workif no players are online, but noone can see that. Only in the server data. You place a comparator next to the commandblock and then you can do what you want, but when you want a redstone line, you have to place a repeater.