Install Minecraft Pocket Edition Server on your VPS
Updated Guide Here: https://www.beastnode.com/portal/knowledgebase/158/How-to-Install-PocketMine-Server-014-on-CentOS-6-64-bit.html
Installing a Minecraft: Pocket Edition server onto your BeastNode VPS is quite simple. Just follow these steps and you'll be ready in no time!
Before we start, make sure the following is true as this guide was created with these conditions:
Make sure you have CentOS 6 64-bit installed on your VPS. This guide will explain how to reformat your VPS with a different OS if needed.
This guide is only valid for MC:PE version 0.12.1 alpha (on mobile and Windows 10 Edition) as of this writing (will be updated later on as needed).
1. First, log into your VPS as root and run the following command:
yum install perl gcc g++ make automake libtool autoconf m4 gcc-multilib screen
(press y to accept when asked)
2. Now create your non-root user to manage the server:
Then set the password for that account:
(enter password when asked)
3. Now login to your VPS with the new user account.
4. Create a folder for your server data to go into:
Enter the folder:
5. Now download and install the necessary software for MCPE:
wget -q -O - http://get.pocketmine.net/ | bash
It should be completed if the last output line is this message:
[*] Everything done! Run ./start.sh to start PocketMine-MP
6. Since this downloads a version that won't work with the current version of MCPE on mobile/Windows 10, we'll need to take a few more steps before we can start the server:
wget -N http://jenkins.pocketmine.net/job/PocketMine-MP-Bleeding/35/artifact/PocketMine-MP_1.6dev-35_mcpe-0.12_a7e5e33d_API-1.13.0.phar -O PocketMine-MP.phar
7. Now you can start up the server:
8. It will ask you to set the language, accept the license, and to go through the setup wizard (or skip it - we recommend using it). The setup wizard will go over settings such as your server name, server port, creative/survival mode, max player slots, spawn protection, op, whitelist, query, rcon, etc. Alternatively, you can also set those settings in the server.properties file later on.
Once that is all done, your server should now start up and you should see the server message console indicating that it is done. However, with this method, your server will shut down if you log off of your VPS, so run this command in the MCPE server console to stop the server:
9. Now you can start up your server to stay online even if you're not logged into your VPS with this command:
(make sure you are in your "server" directory" before using this command):
screen -m -d -S peserver ./start.sh
To access your server console with this method, just use this command:
To exit the "screen" session, use the following key combos on your keyboard:
CTRL+A then press the "d" key.
10. You're all done! Now all you have to do is join your server by entering the IP of your VPS into your game in the add server menu and you're all set!
It is recommended that you follow some basic security guidelines in this guide to secure your server.
Was this answer helpful?
In order to change the operating system on your VPS or reformat it, you will need to login to the...
This is a list of frequently used Linux SSH/shell commands. It may not apply to all Linux...
To run your very own Team Fortress 2 server on a BeastNode VPS (running CentOS 6 64-bit, not...
If for any reason you need to disable the firewalld service on your CentOS 7 VPS (such as to test...
Install MySQL on your Linux Server This guide is based on a standard install of CentOS - other...