Creating a Minecraft PE Server
Basically it boils down to this running on Ubuntu:
minecraft@minecraftpe01:~$ wget -q -O – https://raw.githubusercontent.com/PocketMine/php-build-scripts/master/installer.sh | bash -s –
If the above doesn't work, try this:
wget -q -O compile.sh https://raw.githubusercontent.com/PocketMine/php-build-scripts/master/compile.sh
then install any dependencies it complains about.
To ensure you are compatible with the latest protocols, ensure your .phar file is updated. Direct link is here:
wget -O PocketMine-MP_1.6dev-27_ef8227a0_API-2.0.0.phar https://bintray.com/pocketmine/PocketMine/download_file?file_path=PocketMine-MP_1.6dev-27_ef8227a0_API-2.0.0.phar
minecraft@minecraftpe01:~$ cp -ip PocketMine-MP_1.6dev-27_ef8227a0_API-2.0.0.phar PocketMine-MP.phar
cp: overwrite 'PocketMine-MP.phar'? y
minecraft@minecraftpe01:~$ ls -altri *phar
694443 -rw-rw-r– 1 minecraft minecraft 3966174 Jun 15 18:50 PocketMine-MP.phar
701448 -rw-rw-r– 1 minecraft minecraft 3966174 Jun 15 18:50 PocketMine-MP_1.6dev-27_ef8227a0_API-2.0.0.phar
minecraft@minecraftpe01:~$ ls -altri *phar*
700731 -rw-rw-r– 1 minecraft minecraft 287 May 2 00:34 PocketMine-MP.phar.sig
700960 -rw-rw-r– 1 minecraft minecraft 3961710 May 2 00:38 PocketMine-MP.phar-old
694443 -rw-rw-r– 1 minecraft minecraft 3966174 Jun 15 18:50 PocketMine-MP.phar
701448 -rw-rw-r– 1 minecraft minecraft 3966174 Jun 15 18:50 PocketMine-MP_1.6dev-27_ef8227a0_API-2.0.0.phar
minecraft@minecraftpe01:~$
minecraft@minecraftpe01:~$
You can also download the latest .phar file to allow your latest client to work with this server. The .phar file can be found here: https://ci.itxtech.org/job/Genisys/lastSuccessfulBuild/
Source documentation. Further sources available here and here.
Cheers,
TK