Error :/ Code: Warning: file_put_contents(/C:/Users/uzivatel/Desktop/Server-MB1/plugins/Core/config.yml): failed to open stream: Invalid argument in phar://C:/Users/uzivatel/Desktop/Server/PocketMine-MP.phar/src/pocketmine/utils/Config.php on line 207 PHP: public function instanceMb1(){ $newconfig = new Config("C:/Users/uzivatel/Desktop/Server-MB1/plugins/Core/config.yml"); return $newconfig->get("status");}
You can try $config = new Config('path/file.txt',Config::YAML); (if you know the path to your server) otherwise use MySQL to get Data vom other Servers