Minecraft Server PE - Setting Up a Server
This section deals with setting up a Minecraft Server for the PE edition. Refer to Minecraft Server - Setting Up a Server for information on setting up a standard Minecraft server.
Contents
My Requirements
These were the requirements for this project:
- PE-compatible server
- Server running on OpenSuSE 13.1
- Local LAN access only (for now)
- plain 'vanilla' Minecraft - no mods (yet)
NOTE: Minecraft PE Lite versions cannot connect to this server
How to Setup a Server
The online resource for the Minecraft PE Server can be found at the PocketMine-MP/wiki.
The documentation states that the server requires certain packages to be installed, notably perl, gcc, make, automake, libtool, and m4. It also suggested that for 64bit O/S's, gcc-multilib may be required.
Interestingly, the documentation suggest trying to do the installation first, and see if you need to install these packages. I did not need to install anything else - though I have installed a number of packages over time for other tools; who knows what that situation would have been if i was working with a newly built server.
Step 1. Set Up a User/Group Specific for Minecraft
Set up a user and group specific to minecraft if you do not have one. It is not a good idea to install or run the software as root. I used the same user account as i built for the normal Minecraft Server (see Create User and Group Specific to Minecraft);
I then created a directory specific to the PE server
cd mkdir PE cd PE
Step 2. Download and Unpack the Software
Use the following command to get the server software and unpack it
wget -q -O - http://cdn.pocketmine.net/installer.sh | bash -s -
Step 3. Finish the Installation
The first time running the start.sh script will complete the installation. Say Y to asked if you want to run the creation process
./start.sh <answer questions> stop
Step 4. Edit server.properties
Edit the server.properties file to set up your world.
Step 5. Open UDP Port in Firewall
If the server is running a firewall, use YasT to open the UDP port 19132
- open port 19132 as UDP
Starting and Stopping the PE Server
To start the server:
<ssh to server as minecraft> cd PE ./start.sh
To stop the server, enter the following command in the console
stop
Online Resources
Back to Minecraft -or- OpenSuSE Linux