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: /testfor @a[c=!1]
Than he tests when there isn't own player online. He works than also as 0 players are online, but neveryone 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.
Sorry for the spelling mistakes I'm Dutch.