This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-13 12:18:07 +01:00
parent dff26611e5
commit ce7c7efc79
4 changed files with 118 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ the Free Software Foundation, either version 3 of the License, or
*/
class PluginAPI extends stdClass{
private $server
private $server;
private $plugins = array();
public function __construct(PocketMinecraftServer $server){
$this->server = $server;

View File

@@ -27,8 +27,8 @@ the Free Software Foundation, either version 3 of the License, or
class ServerAPI{
var $restart = false;
private $server
private $config
private $server;
private $config;
private $apiList = array();
public function run(){