BungeeCoord - Web Dev

Discussion in 'Vos demande de Code/Script pour CraftMyWebsite' started by NeoGamer_18, Oct 18, 2015.

MineStrator, Votre hébergeur de serveur minecraft
  1. NeoGamer_18

    NeoGamer_18 Major

    439
    47
    28
    Bonjour,
    J'ai besoin d'un script me permettant de récupérer le nombre de joueur connectés sur l'ENSEMBLE de mes serveurs tournant sous BungeeCoord.

    Je vous remercie d'avance,
    NeoGamer_18,
    Staff - Support de CMW.
     
  2. Aslaak

    Aslaak Commandant

    681
    109
    43
    cadeau ( j'pense que ça devrait marcher, aucune idée x)
    ( pour 4 serveurs )
    PHP:
    $n =  file_get_contents('http://api-minecraft.net/API/php/ping/playeronline/playeronline.php?ip=VOTRE.IP&port=VOTRE.PORT');
    $m =  file_get_contents('http://api-minecraft.net/API/php/ping/playeronline/playeronline.php?ip=VOTRE.IP&port=VOTRE.PORT');
    $o =  file_get_contents('http://api-minecraft.net/API/php/ping/playeronline/playeronline.php?ip=VOTRE.IP&port=VOTRE.PORT');
    $p =  file_get_contents('http://api-minecraft.net/API/php/ping/playeronline/playeronline.php?ip=VOTRE.IP&port=VOTRE.PORT');

    $playeronline $n $m $o $p;

    echo 
    $playeronline;

     
    • Gagnant ! Gagnant ! x 1
  3. NeoGamer_18

    NeoGamer_18 Major

    439
    47
    28
    T'es un génie Ahha je vais tester ça tout de suite mais ça m'a l'air très correcte !
    Merci :)
     

Share This Page

Loading...