Pocketmine isnt working for me i dont even think its a plugin. Heres the crashdum[ PHP: PocketMine-MP Crash Dump Sat Jul 22 08:28:26 ACT 2017Error: Return value of pocketmine\plugin\PluginDescription::getVersion() must be of the type string, float returnedFile: src/pocketmine/plugin/PluginDescriptionLine: 275Type: noticeCode:[266] */[267] public function getSoftDepend() : array{[268] return $this->softDepend;[269] }[270] [271] /**[272] * @return string[273] */[274] public function getVersion() : string{[275] return $this->version;[276] }[277] [278] /**[279] * @return string[280] */[281] public function getWebsite() : string{[282] return $this->website;[283] }[284] }[285] Backtrace:#0 src/pocketmine/scheduler/SendUsageTask(92): pocketmine\plugin\PluginDescription->getVersion()#1 src/pocketmine/Server(2351): pocketmine\scheduler\SendUsageTask->__construct(pocketmine\Server object, integer 1, array Array())#2 src/pocketmine/Server(2076): pocketmine\Server->sendUsage(integer 1)#3 src/pocketmine/Server(1680): pocketmine\Server->start()#4 src/pocketmine/PocketMine(511): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/Ben/Desktop/PocketMine-MP/PocketMine-MP.phar/, string C:\Users\Ben\Desktop\PocketMine-MP\, string C:\Users\Ben\Desktop\PocketMine-MP\plugins\)#5 C:/Users/Ben/Desktop/PocketMine-MP/PocketMine-MP.phar(1): require_once(string phar://C:/Users/Ben/Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)PocketMine-MP version: 1.6.2dev #0 [Protocol 113; API 3.0.0-ALPHA7]Git commit: 0000000000000000000000000000000000000000uname -a: Windows NT DESKTOP-KTJJ760 10.0 build 14393 (Windows 10) AMD64PHP Version: 7.0.3Zend version: 3.0.0OS : WINNT, winLoaded plugins:DevTools 1.12.1 by PocketMine Team for API(s) 3.0.0-ALPHA7[PHP/]
Actually, you do not need to fix it for string The error told you $this->version return some value that is not only string or only number. i.e. 1.0.5 PHP: public function getVersion() { return $this->version; } edit: Just leave me alone... I thought this is development forum
I think this was fixed not long ago - you should first try to reproduce with a more recent official build. Are you trying to load any other plugin except DevTools? If so, does that plugin have a version with only one decimal point (x.y) or two (x.y.z)? As a workaround, try turning off auto-report and anonymous-statistics in pocketmine.yml.