JSONAPI (Bukkit Minecraft)

Got a suggestion for the forum (or website) ? Here is the place to share it.
Locked
Haribo98
Posts: 7
Joined: Tue Nov 01, 2011 5:04 pm

JSONAPI (Bukkit Minecraft)

Post by Haribo98 »

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
Image
Where there's a Mossy Cobble, there's a Way!
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: JSONAPI (Bukkit Minecraft)

Post by jacek »

Looks simple enough, I will add it to the list.
Image
Haribo98
Posts: 7
Joined: Tue Nov 01, 2011 5:04 pm

Re: JSONAPI (Bukkit Minecraft)

Post by Haribo98 »

Thanks, I can't wait to some how be able to get a Remote console working on this, my current one that my Hosts provides is awful, I'd probably setup a Control panel for my server and make it open source if I knew how!
Image
Where there's a Mossy Cobble, there's a Way!
Haribo98
Posts: 7
Joined: Tue Nov 01, 2011 5:04 pm

Re: JSONAPI (Bukkit Minecraft)

Post by Haribo98 »

Any advances on this?
Image
Where there's a Mossy Cobble, there's a Way!
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: JSONAPI (Bukkit Minecraft)

Post by jacek »

Haribo98 wrote:Any advances on this?

No, please do not bump topics.
Image
Locked