Product docs and API reference are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search API reference.
Search for “” in API reference.
Search Results
 results matching 
 results
No Results
Filters
PocketMine Server on Debian 7
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
DeprecatedThis guide has been deprecated and is no longer being maintained.
PocketMine is a third party server for the MineCraft - Pocket Edition game for Android and iOS. It features plugin support, allowing you to customize your gameplay with others. This guide details installing PocketMine on a Linode running Debian 7.
Prerequisites
Your Linode should already be configured per our Getting Started guide, and secured per our Securing Your Server guide.
Ensure that your Linode is up to date:
sudo apt-get update && sudo apt-get upgrade
Install dependencies:
sudo apt-get install perl gcc g++ make automake libtool autoconf m4
Create a user for the PocketMine server:
sudo adduser pocketmine
Note If you’ve followed the steps in our Securing Your Server guide, you will need to add your public key to/home/pocketmine/.ssh/authorized_keys
in order to log in as this user later in the guide. You will also need to add an iptables exception for port19132
Installation
Log in as the
pocketmine
user and go to its home directory:cd ~/
Download and run the PocketMine installer script:
wget -q -O - http://get.pocketmine.net/ | bash
The installation will take several minutes.
Running PocketMine Server
Run the
start.sh
script within a GNU-screen instance:screen ./start.sh
Note If you’ve used
su
to switch to the pocketmine user, you will get an error message statingCannot open your terminal '/dev/pts/0' - please check.
when attempting to start screen. You can resolve this by first running the command:script /dev/null
Important PocketMine may not run properly on systems not running PHP7. You can manually install it, or modify
start.sh
, replacing all instances ofphp7
withphp5
:sed -i -e ’s/php7/php5/g’ start.sh
The set-up wizard will begin by asking you to select a language. Enter the two-character value for your language of choice, or just press return for English.
[*] PocketMine-MP set-up wizard [*] Please select a language: English => en Español => es 中文 => zh Pyccĸий => ru 日本語 => ja Deutsch => de 한국어 => ko Nederlands => nl Français => fr Italiano => it Melayu => ms Norsk => no Svenska => sv Suomi => fi Türkçe => tr [?] Language (en):
Type
y
to accept the license agreement:Welcome to PocketMine-MP! Before starting setting up your new server you have to accept the license. PocketMine-MP is licensed under the LGPL License, that you can read opening the LICENSE file on this folder. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. [?] Do you accept the License? (y/N):y
The set-up wizard will ask if you would like to skip ahead. If you would like to configure additional non-standard options, press return. Otherwise, you can enter
y
to skip the remainder of the wizard:[?] Do you want to skip the set-up wizard? (y/N): y
You are now at the PocketMine console. You can type
help
to see all available commands, and begin using your new server!23:16:35 [INFO] Starting Minecraft: PE server version v0.10.5 alpha 23:16:35 [INFO] Loading pocketmine.yml... 23:16:35 [INFO] Loading server properties... 23:16:35 [INFO] Starting Minecraft PE server on 0.0.0.0:19132 sh: 1: ifconfig: not found 23:16:36 [INFO] This server is running PocketMine-MP version 1.4.1-980 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0) 23:16:36 [INFO] PocketMine-MP is distributed under the LGPL License 23:16:36 [NOTICE] Level "world" not found 23:16:36 [INFO] Preparing level "world" 23:16:36 [NOTICE] Spawn terrain for level "world" is being generated in the background 23:16:36 [INFO] Starting GS4 status listener 23:16:36 [INFO] Setting query port to 19132 23:16:36 [INFO] Query running on 0.0.0.0:19132 23:16:36 [INFO] Default game type: SURVIVAL 23:16:36 [INFO] Done (275.348s)! For help, type "help" or "?"
You can detach from the PocketMine screen session with the command
ctrl+a
thend
. To reattach, run:screen -r
Connecting to The Server
Open Minecraft - Pocket Edition on your phone or tablet. Tap on Play:
From the next screen, tap Edit, then External.
Enter a name under
Server Name
, and your Linode’s domain or IP address underAddress
. When you’re done, tap Add Server:You can now connect to your server, and begin playing!
Installing Plugins
You can downloaded plugins for PocketMine from their site. As an example, we’ll download and install the RandomItem plugin.
From the plugin page, copy the Download Plugin link address:
In your Linode terminal, while detached from your screen session, use
curl
to download the plugin into theplugins
directory:cd /home/pocketmine/plugins curl -OJL http://forums.pocketmine.net/plugins/randomitem.203/download?version=1461
Reattach to the screen session, and reload to activate the plugin:
screen -r reload
Confirm that your plugin is loaded with the command
plugins
:plugins 18:36:45 [INFO] Plugins (1): RandomItem v4.2
More Information
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on