run method

  1. @override
void run(
  1. String label,
  2. List<String> args
)

Implementation

@override
void run(String label, List<String> args) {
  print("-----");
  final players = server.players;
  print("${players.length} player(s) connected.");
  for (final player in players.entries) {
    print("${player.value.address} (${player.key})");
  }
  print("-----");
}