xqwtxon

xqwtxon

I do alot of minecraft related things.

How to install PocketMine-MP in any platforms/devices.

Posted on July 21, 2022

Introduction

This tutorial will show, How to install PocketMine-MP in any platforms/devices!

NOTE
This site is for educational purposes only!!
Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.

Setup Requirements

A computer or device with the following is required:

  • 64-bit CPU
  • 64-bit operating system
  • 1GB RAM or better

The following are not requirements, but recommended:

  • Dual-core or better CPU

Linux/MacOS only

Create a directory which you want to install PocketMine-MP into, and cd into it.

Then use curl to install PocketMine-MP using the following command:

curl -sL https://get.pmmp.io | bash -s -

or, if you don’t have curl, try wget:

wget -q -O - https://get.pmmp.io | bash -s -

Installing manually

No installer available for your platform? Did the installer fail? It is not your taste? YOLO? DIY!

Getting PHP for your server

  1. Download your flavor PHP binary (Downloads)
  2. Extract the PHP binary into your server directory. If everything went well, you should have a bin folder in your server directory.
  3. (Windows only) Download and install Microsoft Visual C++ Redistributable 2019 (Downloads)

Getting PocketMine-MP

  1. Create a new directory for PocketMine-MP.
  2. Download PocketMine-MP.phar (Downloads)
  3. Rename the .phar to PocketMine-MP.phar.
  4. Place it in the PocketMine-MP directory you just created.
  5. Get the start script for your platform (Windows, Linux/MacOS bash)
  6. (Linux/MacOS only) Make start.sh executable (chmod +x start.sh)

Downloads for manual install/update

PocketMine-MP prebuilt phars

TIP:
Can’t see the downloads? Click on ‘Assets’ to expand the downloads list.

Prebuilt PHP binaries and related packages

NOTE:
If there are no prebuilt binaries of the version you want available for your platform, you may be able to build your own using our compile scripts.

Android and IOS only