getPlayers

fun CommandContext<CommandSourceStack>.getPlayers(name: String): List<Player>

Retrieves a list of Players from the command context.