«

»

Nov 01 2013

Setup A Minecraft Pocket Edition Dedicated Server

Minecraft is awesome, we all know that. For the most part the game has been played on the PC and recently been developed to work on the xBox. Even more recently Mojang has developed pocket editions of this great game. Android and iOS users can now download Minecraft – Pocket Edition that runs on their mobile devices. In recently updated, Mojang has even added support for multiplayer.Β  Unfortunately, they have yet to release anΒ  official server. Officially, the only way to create a multiplayer server is through direct hosting through the app itself. However, there is currently an unofficial server being developed that can run on a desktop computer.

The server is developed in PHP verses the usual java environment. What this means that instead of being majorly RAM dependent, you will need a powerful processor to handle the server.

PocketMine is what the new pocket edition server is called. It comes with a super easy to follow instruction set as well. It even has support for plugins developed by the community making it vary similar to CraftBukkit. Here’s how to install it.

Windows (7 and above)

To install PocketMine on a Windows computer follow the simple instructions below.

  1. Download the latest Windows installer from the PocketMine website.
  2. Launch the installer and follow the on-screen setup instructions. The setup wizard will handle all the technicalities.
  3. Go to the installation directory and click on the ‘start.cmd’ icon. The server will start and you will be able to connect using your Minecraft client on your mobile device.

Linux (Debian & CentOS)

Linux is not as simple as Windows. There are a few requirements that we must first fulfill.

  1. Paste in the following command to install the required dependencies.

    Debian

    apt-get -f -y install && apt-get -y install m4 automake autoconf make gcc libtool

    CentOS

    yum -y install m4 automake autoconf make gcc libtool
  2. Once that’s done, go to the directory where you downloaded the installation script. Then run the following command: (Optional: Replace ‘Alpha_1.3.1’ with your desired version.)
    wget -q -O - http://get.pocketmine.net/ | bash -s - -v Alpha_1.3.12
  3. With that the installer will finish up the installation process and configure everything as necessary. When it’s complete, you can start your server with the following command:
    ./start.sh

Hopefully by following those instructions you now have a fully functioning MCPE server! Note that you will still need to do the necessary port forwarding if you are running this from inside your home network and would like people outside of your network to connect to your server.

If you get stuck along the way, feel free to ask for help in the comments!

Get a professionally hosted Minecraft Pocket Edition server from TNAHosting. Plans starting at just $3.99 per month. Click here to get yours now!

  • Chris

    I can set up the server, but no one can connect. I have forwarded the port for the server…i know this isn’t much info, but any idea? Can you not play these servers on the 1.0 version of PE?

    • Are you able to connect locally, on your own network? This would at least tell you if it’s an issue with port forwarding or an issue with the server/server computer itself.

      • Chris

        Well here’s the thing. If I connect on PE on my phone, the console says 1/20 people are online. If I type /list, it says 0 players online. On my phone, it gets stuck at the “dirt” loading screen…I’ve run a full minecraft server for almost 5 years and I can’t figure out why I can’t connect to this one lol.

        Thanks for the reply btw

        • DS

          To support 1.0 client you need the latest dev release. The stable release is only good for older (0.14.0) client.

          • Chris

            I’ll try that thank you.

  • kslawko

    Is there any way to get the world that I’ve already generated on my mobile in the MCPE and put it on such server? I’ve spent many hours playing in it and I like my world πŸ˜‰

    • I’ve done this with Android before but I’m not sure if it’s possible with iOS.

      With Android you just need to navigate to “/games/com.mojang/minecraftWorlds/” on your SD card.

    • Austin Ethridge

      uh yes it is definetely possible. it is very complicated and invloves sshing into your idevice and it has to be jailbroken. youll also need ifile installed (for iphone, ipod, ipad only)

  • JohnC

    Seem to be missing the code sniper to install from the install.sh after installing dependencies…?

    • Woops! Updated the post. Thanks!

  • Rct. Tsoul

    how much RAM does a Linux server need to run also how do I load of certain map or seed?

    • The PocketMine server uses very little memory. From what I’ve seen, you can run a 32 player server with less than 256MB of RAM. You do however need a good processor to handle the php based server.

      You are able to load your own world folder and adjust the seed in the server.properties file just like you would on a normal Minecraft server.