Hello! I am @Legoboy0215 and I am going to show you how to update a server. First of all, I am writing this post because as some of you noticed, people ask questions like or So here I am trying to help. Basic knowledge first: Know how to install a PM-MP server. Knows how to start a server. An '*' is a wildcard Not required knowledge: Knowing how to code Updating a server (Obviously, if you know how to you won't be reading this...) IMPORTANT STUFF: PocketMine Version || MCPE Version PM 1.3 || 0.8.* PM 1.4beta || 0.9.* PM 1.4.1 || 0.10.* PM 1.5dev || 0.11.* PM 1.6bleeding || 0.12.*So let's start! Stop your server (If you haven't yet) Download the .phar of the build you want. (The links are on the chart ) Rename the file to 'PocketMine-MP' or 'PocketMine-MP' depends on your system's setting. Replace the old file with the renamed file. Start the server Type Code: version ON THE CONSOLE If the version is the PM-MP version you want to run, then you did it all right! Notice: The current version, PM 1.6 has some builds that uses PHP 7. Those builds REQUIRE PHP 7, so if you don't have PHP 7 download the none PHP 7 version. (It will say if it uses PHP 7 or not in the file name ) Leave a like if I helped!
Yes. The problem is that some programmers of some PHP extensions used by PocketMine aren't updating them to PHP 7
Shoghi and other developers released some builds of Pm that uses PHP 7. but they say nothing how we can use it.. :/
I was able to do this. I downloaded PHP7 from the jenkins server. The only extension that was missing was php-leveldb (only needed if you use LevelDB format worlds). I was using CentOS 7, 64 bit for my Linux.
Me too, had no problem running the PHP7 dev builds with the pocketmine PHP7 installer from the Jenkins server (pthreads, yaml etc are already configured). Most plugins work too as long as you update the API versions
http://jenkins.pocketmine.net/job/PHP-PocketMine-Linux/ Woow!! I'll try it. Hope to see PocketMine with PHP 7 running Thank you
Someone Know what are causing it ? Spoiler: Crash Dump PocketMine-MP Crash Dump Sat Oct 10 04:24:17 ADT 2015 Error: Call to a member function hasPermission() on null File: /src/pocketmine/Player Line: 449 Type: E_ERROR Code: [440] return $this->perm->isPermissionSet($name); [441] } [442] [443] /** [444] * @param permission\Permission|string $name [445] * [446] * @return bool [447] */ [448] public function hasPermission($name){ [449] return $this->perm->hasPermission($name); [450] } [451] [452] /** [453] * @param Plugin $plugin [454] * @param string $name [455] * @param bool $value [456] * [457] * @return permission\PermissionAttachment [458] */ [459] public function addAttachment(Plugin $plugin, $name = null, $value = null){ Backtrace: #0 /src/pocketmine/Server(0): pocketmine\Server->crashDump(boolean) #1 /EssentialsPE.phar/src/EssentialsPE/BaseFiles/BaseSession(66): pocketmine\Player->hasPermission(boolean) #2 /EssentialsPE.phar/src/EssentialsPE/Loader(832): EssentialsPE\BaseFiles\BaseSession->__construct(boolean) #3 /EssentialsPE.phar/src/EssentialsPE/Loader(873): EssentialsPE\Loader->createSession(boolean) #4 /EssentialsPE.phar/src/EssentialsPE/Loader(894): EssentialsPE\Loader->getSession(boolean) #5 /EssentialsPE.phar/src/EssentialsPE/Tasks/AFK/AFKKickTask(27): EssentialsPE\Loader->isAFK(boolean) #6 /src/pocketmine/scheduler/TaskHandler(150): EssentialsPE\Tasks\AFK\AFKKickTask->onRun(boolean) #7 /src/pocketmine/scheduler/ServerScheduler(247): pocketmine\scheduler\TaskHandler->run(boolean) #8 /src/pocketmine/Server(2479): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(boolean) #9 /src/pocketmine/Server(2222): pocketmine\Server->tick(boolean) #10 /src/pocketmine/Server(2100): pocketmine\Server->tickProcessor(boolean) #11 /src/pocketmine/Server(1701): pocketmine\Server->start(boolean) #12 /src/pocketmine/PocketMine(464): pocketmine\Server->__construct(boolean) #13 (1): (boolean) #14 (0): {main}(boolean) PocketMine-MP version: 1.6dev #357 [Protocol 34; API 1.13.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Windows NT LUCAS-PC 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) i586 PHP Version: 5.6.6 Zend version: 2.6.0 OS : WINNT, win Loaded plugins: EconomyJob 2.0.3 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 PeacefulSpawn 2.4 by LDX for API(s) 1.3.1, 1.4.0 AdvancedKits 2.2 by luca28pet for API(s) 1.12.0 BackDeath 1.0.0 by EkiFoX for API(s) 1.0.0 BasicHUD 1.0.6 by aliuly for API(s) 1.12.0 BetterGenerators 0.8.1 by Chezzik for API(s) 1.12.1 ChestLocker 1.2 by EvolSoft for API(s) 1.8.0 ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0 CustomAlerts 1.6 by EvolSoft for API(s) 1.12.0 DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1 EconomyAPI 2.0.8 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomySell 2.0.6 by onebone for API(s) 1.12.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 EssentialsPE 1.1.2 by LegendsOfMCPE Team for API(s) 1.12.0 FactionsPro 1.2.0 by Tethered_ for API(s) 1.4.0 Farms 1.0-non-alpha by hm for API(s) 1.4.1 GrabBag 2.2.7 by aliuly for API(s) 1.10.0, 1.11.0, 1.12.0 HealthStats 1.1.1 by Striker209_MPE for API(s) 1.3.1 iProtector 3.1a by LDX for API(s) 1.9.0 KillHeart 1.0.0 by BukkitPlaysMC for API(s) 1.0.0 LiveSigns 1.2.1 by aliuly for API(s) 1.12.0 MagicTelePortal 1.3.2 by aliuly for API(s) 1.10.0 ManyWorlds 2.0.1 by aliuly for API(s) 1.10.0 PurePerms 1.1.12 by 64FF00 for API(s) 1.13.0 PvPWorlds 1 by for API(s) 1.0.0 RandomItem 4.2 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 Slapper 1.2.5 by jojoe77777 for API(s) 1.12.0 Sneak 1.1 by CrazedMiner for API(s) 1.12.0 TapToDo 2.2 by Falk for API(s) 1.0.0 TimeCommander 2 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0 VoteBan 1.0.2 by GmWM for API(s) 1.12.0 VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0 WorldEditArt 1.0.0_beta_dev_#048 by PEMapModder for API(s) 1.0.0 xyz 1.0.1 by unerds for API(s) 1.0.0 PureChat 1.2.8 by 64FF00 for API(s) 1.11.0 SimpleAuthHelper 2.0.4 by aliuly for API(s) 1.12.0 KillRate 2.1.0 by aliuly for API(s) 1.12.0
It doesn't work anyway. PocketMine starts with an error message which says that Weakref extension can't be found. I've already tried to edit PocketMine source and removing Weakref extension check but it crashes anyway.