Updating the server - randomblink/PocketMine-MP GitHub Wiki
-
New versions of the server get released, and you'll have to update.
-
If you are using the Auto Installer for Linux/Mac, you can use the flag
-u
so it does not recompile PHP again, updating only server files. Like./<INSTALLER_NAME>.sh -u
Step 0 (optional)
- Make a backup of your files
Step 1
- Delete the folder "src".
- This will ensure you get all the files correctly
Step 2
- Download the latest Stable (Source code zip or tar.gz) or Development version.
Step 3
- Extract the downloaded file and overwrite all the files (no settings or data will be modified)
Step 4
- Run the server to ensure it works correctly
- It's also recommended to re-download or re-compile the PHP Installer that comes with PocketMine, it's updated frequently