PMMP is currently under heavy development and there is no stable build available as of yet. All installations are hereby provided as-is and should not be used on production servers.
Instructions below were written with Linux in mind. Official support for other platforms will be added when we release a stable release.
Step 1: Install PocketMine
Make sure you have PHP 7 installed on your machine before beginning installation.
Using the installation script
curl -sL https://get.pmmp.io | bash -s - or
wget -q -O - https://get.pmmp.io | bash -s - in your Linux/macOS terminal.
Using a PHAR
The PHAR for the latest cutting-edge build can be found on our Jenkins server.
Install using Git
Install completely manually (not recommended)
Install the dependencies necessary to compile and run the code. You may have to install
perl gcc g++ make automake libtool autoconf m4. If you want to compile from x86_64, you might have to install
Navigate where you want to install PocketMine-MP.
Clone the latest version of the master branch. Be sure to also grab the proper versions of RakLib, SPL and LANG/LOCALE.
master.zip, navigate into the directory and extract the contents of RakLib, SPL and LANG/LOCALE into
./start.sh, PocketMine-MP will now start.
Step 2: Customize server settings
In the folder where PocketMine-MP has been installed, open the
server.properties file with a normal text editor.
Step 3: Allow connections from the rest of the world
If you are setting up PocketMine-MP on a home network, you have to port forward the PocketMine-MP UDP (and TCP if using RCON) port on your router.
If you don't know how to do port-forwarding, go to Port Forward, search your router, and follow the instructions.