You can also use the installer on these platforms to update your installation. Passing the
-u flag will update the PocketMine-MP installation.
cd into your server directory.
wget to update PocketMine-MP using the following command:
curl -sL https://get.pmmp.io | bash -s - -u wget -q -O - https://get.pmmp.io | bash -s - -u
- Download the PHP binary for your OS (Downloads)
- Delete the
bindirectory in your server folder.
- Extract the new PHP binary. You should see a new
bindirectory has been created.
Updating using .phar¶
This is very straightforward.
- Delete your current PocketMine-MP.phar
- Download the updated PocketMine-MP phar you want to use (Downloads)
- Change the name to
- Place it in the server folder
Don’t forget to rename the file to
Updating a Git installation¶
If you used Git to install, updating is very simple.
cd into the server directory and run the following:
git pull # get the latest source from GitHub git submodule update # update submodules to the required versions composer install [... optional extra composer flags] # install/update dependencies managed by Composer
See Installing using Git for more details.
Previous versions of PocketMine-MP used submodules
src/raklib, which have now been removed. These submodules need to be manually deleted in your local installation.
To do so, delete the
raklib directories in the
src directory, and then re-run Composer.