This commit is contained in:
2023-07-22 14:43:50 -04:00
commit 1caf4a6cd6
3 changed files with 81 additions and 0 deletions

21
example.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
include "mcpi.php";
$mcpi = new mcpi();
// ping away !!!
try{
print_r($mcpi->ping("androidmc.hopto.org", 19133));
}catch(Exception $e){}
try{
print_r($mcpi->ping("68.194.116.245", 19132));
}catch(Exception $e){}
try{
print_r($mcpi->ping("146.198.132.171", 19132));
}catch(Exception $e){}
try{
print_r($mcpi->ping("pi-land.minecraft.pe", 19132));
}catch(Exception $e){}