PocketMine-MP4Android by TukangM runs a PocketMine-MP server on your rooted phone, so you can host a Minecraft: Bedrock Edition server without a PC. The module includes a native ARM64 build of PHP 8 and PocketMine-MP 5.19.0.
Requirements
- An arm64 device. The installer aborts on anything else.
- Android 9 or newer is the supported minimum. The installer only warns you on older versions, but the module may not work properly there.
- A terminal app such as Termux, with a root shell.
- Magisk, KernelSU or APatch. The installer doesn't block any root manager.
Running the server
- Flash the zip in your root manager and reboot.
- Open a root shell in your terminal.
- Run
start-pmmp.
Server files live in /data/local/pmmp, which is also the folder the server starts from. This is the first place to look for your worlds and settings when you back up.
Updating
Run update-pmmp in the terminal to see its options. It can download the latest PocketMine-MP.phar from the PocketMine project and a new PHP build from the developer's builds repo.
The script warns that it overwrites the binaries in /data/local/pmmp/bin and the .phar, and that your server may not start correctly afterwards, so back up first.
Project status
The latest release is from October 2024 and bundles PocketMine-MP 5.19.0. The README says the repo is planning a code revamp and rewrite, so expect changes. PocketMine-MP is under LGPL-3.0, and the Android module is under the MIT license.