Is there a way I can output a list of multiple players? Kind of like the /list command, it will output all the players you can see, with a list.
Yea you can get the list of all online players by using Server#getOnlinePlayers() and Iterate over them or implode them to an string of players delimeted by any string.
PHP: $players = []; foreach ($server->getOnlinePlayers() as $player){ $players[] = $player->getName(); }