I am trying to make a PvP mini-game and I'm trying to make it so that when a certain amount of players are left, it awards the players inside of the arena.
I have already managed to make the player counter for the area using some command blocks and a comparator, but I only know how to find the amount of players with testfor
, not the actual names of the players.
How can I find the names of the players inside the arena?
/testfor
command? You should just be able to use the selector from that in your/give
commands.