Setup Minecraft Pocket Edition on Debian

This guide will show you how to setup a Minecraft PE server on Debian. The server setup is very easy, you can start having fun in just a few minutes.

Pre-requisites

Your server needs a minimum of 1GB of RAM for 8 players. More players means more memory. Before you begin, you need a non-root user account set up on your server. We will be using the demo user here.

Installing Dependencies

Install GCC and other build tools. If you are using a 32-bit version Debian, you will not need to install gcc-multilib.

sudo apt-get update
sudo apt-get install perl gcc g++ make automake libtool autoconf m4 gcc-multilib

Installing The PocketMine-MP Server

Download and compile PocketMine-MP and PHP. This process may take up to 20 minutes.

wget -q -O - http://get.pocketmine.net/ | bash

Upon success, you will see the following output.

...
[INFO] Cleaning up... done!
[PocketMine] You should start the server now using "./start.sh."
[PocketMine] If it doesn't work, please send the "install.log" file to the Bug Tracker.

Configuring Your Server

Start your server in screen.

screen
./start.sh

On the first run, you will be prompted for settings, such as language, server name, and RAM. Upon success, you will see the following output.

18:05:05 [INFO] Starting Minecraft: PE server version v0.10.5 alpha
18:05:05 [INFO] Loading pocketmine.yml...
18:05:05 [INFO] Loading server properties...
18:05:05 [INFO] Starting Minecraft PE server on 0.0.0.0:19132
18:05:05 [INFO] This server is running PocketMine-MP version 1.4.1-980 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
18:05:05 [INFO] PocketMine-MP is distributed under the LGPL License
18:05:06 [INFO] Preparing level "world"
18:05:06 [INFO] Starting GS4 status listener
18:05:06 [INFO] Setting query port to 19132
18:05:06 [INFO] Query running on 0.0.0.0:19132
18:05:06 [INFO] Default game type: CREATIVE
18:05:06 [INFO] Done (0.611s)! For help, type "help" or "?"

The settings can be changed again at any point by editing the server.properties file and restarting the server.

Congratulations, you now have Minecraft PE running on Debian.

  • Minecraft, Game Servers, Debian
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing Debian on Drives Larger Than 2 TB

The following tutorial requires a motherboard that is EFI compatible (most boards since 2012 are...

How to Update CentOS 7, Ubuntu 16.04, and Debian 8

When setting up a new Linux server, updating the system's Kernel and other packages to the latest...

Simple Mailserver With Postfix, Dovecot, And Sieve On Debian 7

The following tutorial describes how to set up a simple mailserver using Postfix as MTA, Dovecot...

Setup Your Own Private Network With OpenVPN

AKLWEB Host offers you awesome private network connectivity for servers running at the same...

Setup File Mirroring Using Rsync in Debian/Ubuntu

Introduction If you run a critical website, it is a good practice to mirror your files to a...