1

Command Block Teams List

furf 4/24/14 8:28 pm
231
4/24/2014 8:53 pm
Hey guys.

I am making a map that requires 4 colored teams (Red, Yellow, Green. Blue, respectively.).

I have the basics down where you make the teams, assign players to teams, etc.
However, I have been unsuccessful in trying to list how many players are on a specific team.
For example, Player goes to the Red lobby and wants to see how many players are on the Red team currently. He pushes the button and the number of players on the Red team show up in the chat, but only he can see the text that appears.

This will be on a Bukkit server running the Essentials plugin, which I believe Command Blocks can use some Essentials commands (if not all non-player commands).

Any ideas to list the number of players in a team via Command Block?



Thanks in advance.
Posted by
furf
Level 24 : Expert Artist
16

  Have something to say?

JoinSign in

2

Rast
04/24/2014 8:38 pm
Level 1 : New Miner
Can I come on and see what you are doing exactly
1
furf
04/24/2014 8:53 pm
Level 24 : Expert Artist
Perhaps, but first I need to know why, for security reasons... Sorry.

Edit: I've gotten a system to work, however it is not with numbers, but instead, just lists the player names. Thanks anyways.

What I used was this: tell @p Current players in Red Team: &c @a[team=Red]

(The &c is the Red color for Essentials.)
1

Welcome