JSONAPI (Bukkit Minecraft)
Posted: Sun Dec 04, 2011 10:46 am
I recently found out about JSONAPI, but I don't know how to call the array and place it into a list like you did on your Minequery video
Here is what I have
[syntax=php]
<?php
require('JSONAPI.php'); // get this file at: https://github.com/alecgorge/jsonapi/ra ... SONAPI.php
$api = new JSONAPI("178.33.122.54", 20059, "**user**", "**password**", "**salt**");
var_dump($api->call("getPlayerLimit"));
?>
<p>
<strong>Players:</strong> <?php echo $api->call['getPlayerLimit'];?>
</p>[/syntax]
Could you do a Video explaining it?
http://forums.bukkit.org/threads/admn-i ... 70/page-18
Here is what I have
[syntax=php]
<?php
require('JSONAPI.php'); // get this file at: https://github.com/alecgorge/jsonapi/ra ... SONAPI.php
$api = new JSONAPI("178.33.122.54", 20059, "**user**", "**password**", "**salt**");
var_dump($api->call("getPlayerLimit"));
?>
<p>
<strong>Players:</strong> <?php echo $api->call['getPlayerLimit'];?>
</p>[/syntax]
Could you do a Video explaining it?
http://forums.bukkit.org/threads/admn-i ... 70/page-18