mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-10-31 18:27:46 +00:00
Added example url & removed un-needed information
This commit is contained in:
parent
a876584e5d
commit
8265db2382
@ -35,7 +35,8 @@ a.showApi:hover, a.hideApi:hover {
|
|||||||
<tr><td>then pull an arraylist for $srvinfo from 0-2 to get motd, players online, and max players. </td></tr>
|
<tr><td>then pull an arraylist for $srvinfo from 0-2 to get motd, players online, and max players. </td></tr>
|
||||||
<tr><td>Server and port are just echoed $ip and $port. To check online status, use testserver.php. </td></tr>
|
<tr><td>Server and port are just echoed $ip and $port. To check online status, use testserver.php. </td></tr>
|
||||||
<tr><td>Call testserver.php and use the GetServerStatus($ip, $port); function - echo that and done :3</td></tr>
|
<tr><td>Call testserver.php and use the GetServerStatus($ip, $port); function - echo that and done :3</td></tr>
|
||||||
<tr><td>Example: (remove spaces in color) <code><pre>
|
<tr><td>Example call: http://unps-gama.tk/mcping.php?ip=unps-gama.tk&port=25565</td></tr>
|
||||||
|
<tr><td>Example:<code><pre>
|
||||||
include('http://unps-gama.tk/mcping.php?ip=$ip&port=$port')
|
include('http://unps-gama.tk/mcping.php?ip=$ip&port=$port')
|
||||||
echo "Server:<font color='red'> " . $ip . "</font> on port:<font color='yellow'> " . $port . " </font> is: ";
|
echo "Server:<font color='red'> " . $ip . "</font> on port:<font color='yellow'> " . $port . " </font> is: ";
|
||||||
include('http://unps-gama.tk/testserver.php');
|
include('http://unps-gama.tk/testserver.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user