This article describes how to setup a MCPE server on a VDS (VPS). The advantage of this solution is the selection of the right cheap resources, more access in settings and the possibility to install an infinite number of slots, which is not available on the various paid hosting servers MCPE.
I want to immediately warn you about the cons of such decisions. This is a weak protection against various types of attacks (Ddos, hacking
) and certainly not user-friendly control panel. These shortcomings will haunt very visited server, but if you plan to create a small multiplayer server, then you should not be afraid for it.
Setup Minecraft PE Server on VPS For a start, it is necessary to order the server with the appropriate set of resources (RAM somewhere 3-4 GB). For example, a cheap solution would be VPS Cloudflare or VPS GodaddyThen, you have to log in ssh console for entering commands. They are suitable for VDS with DebianAfter went in the right section, enter the following command:
The command you need to enter with a break of 5 minutes to all the necessary resources have enough time to installNow you need to select the directory in which to store the files of MCPE server. You can create with help commands or log into SFTP and create manuallyCommands
apt-get install screen
Now Setup a PocketMine:
mkdir name_folder — create folders
cd name_of_the_created_folder — go to directory
Further, to start the server you need to enter:
wget -q -O — https://raw.githubusercontent.com/PocketMine/php-build-scripts/master/installer.sh | bash -s —
Server TipsThat the server will run after the crash, go to the file start.sh and where DO_LOOP, check "yes". But, when you type the command /stop the server immediately turns onTo force the server to run 24/7, use the utility "Screen" (we installed it in the beginning). Enter the command screen, then ./start.sh. After exiting the console, when you login you need to write screen-x to enter it. After restarting the VDS screens will fly