I am using JSONAPI to get my users permission group, if it would work. When I run the php script nothing happens. I contacted both my web host and MC server host and both say that the port I use is open.
Here is my log: http://pastebin.com/X6CtmG9g
and now my PHP code:
<?php include('JSONAPI.php'); if(!empty($_SESSION['user'])){ $obj = new JSONAPI('198.8.95.3', 20059, 'myuname', 'mypass', 'mysaltnum'); $group = $obj->permissions.getGroups("{$_SESSION['user']['username']}"); echo $group; }else{ echo "Not logged in!"; } //I also tried the following code: if(!empty($_SESSION['user'])){ $obj = new JSONAPI('198.8.95.3', 20059, 'myuname', 'mypass', 'mysaltnum'); $group = $obj->permissions.getGroups("killfrog47"); echo $group; }else{ echo "Not logged in!"; } ?>I have contacted the developer but he doesnt seem to care lol. Any ideas? Help of any kind would be GREAT! Maybe another idea on a plugin I can use?