VPSTutorial.com

VPS Tutorials for the masses!

minecraft-pocket-edition

Setup a Minecraft PE Server

We have had several requests from our readers for a how-to on setting up a Minecraft PE server. We already covered How-to Setup a Minecraft Server in our previous tutorial. Minecraft PE is very similar but can be played from your iPhone or Android Phone. You can download the client from your respective App Store. Setting up a Minecraft PE server using PocketMine on CentOS 6 is easy and this whole tutorial should only take about 15 minutes to complete.

Setting it all up

Setting up the server is fairly straight forward. First you need a server. A small VPS would do. We recommend ZoomCloud.net’s VPS 1 GB for a small to medium sized server.

Once you have a VPS server setup you can continue to install PocketMine-MP. Don’t forget you also need the Minecraft PE application from your App store. So you should install that now as well.

Getting PocketMine – MP

PocketMine-MP is a cross platform Minecraft Server that runs on Linux as well as windows. For this tutorial we will use linux, specifically CentOS 6.X x86_64. First things first you need to download the installer script from Sourceforge located here: http://sourceforge.net/projects/pocketmine/.  If you are on your VPS, just use wget to download the script.

Installing the required dependancies

You need a few other packages to start the build of PocketMine-MP. Use the following command to download the required dependencies. *note this also installs the GCC compiler.

Installing PocketMine-MP

Next you will need to make the install script executable and then run it. 

The script will run and download even more packages such as PHP and then compiles it all.


Now we need to start the server


That is all there is to it. Your server is now setup. 

Configure Minecraft PE to connect to your server

Hopedfully by now you have downloaded the Minecraft PE app from your respective app store. Configuring it is easy.

Launch the app and click ‘play’

IMG_0835

Next click Edit to add a new world

IMG_0836

Click new to add your new world

IMG_0837

Click External to add your new server, then click add server.

IMG_0839

Now your new server will appear in your world list

IMG_0840

Click on your newly created server to connect.

IMG_0841

Thats it your now connected to your server. You should see something like this on the console of your VPS

Registering your server for the world to see

Now that your server is running you should definitely head over to MCPEIndex and register your new MineCraft PE Server. MCPEIndex offers a unique service to register your MCPE server. This will allow other players to see your server and join to play along.

PocketMine-MP Additional Commands

If you have followed along so far you should be mining and crafting away right now. There will come a time when you need to make some tweaks to your server or ban or whit list players or IP’s. Here is the commands you can use on the terminal session:

Conclusion

Setting up a Minecraft PE server using PocketMine-MP is very easy and straightforward. This tutorial only scratches the surface. I would recommend you check out http://www.pocketmine.net for even more plugins and information on editing the default server.properties file.

Enjoy!

-Tutor