Can’t install as user root

Warning

This script is running as root, this is discouraged. It is recommended to run it as a normal user as it doesn’t need further permissions.

We recommend you to install PocketMine-MP as a normal user, not as root. Create one if you don’t have one.

useradd -d /home/pocketmine -m pocketmine
passwd pocketmine