Minecraft Server

Host Java + PE Minecraft Server on Android for FREE

Share:

Download & Install These Apps

Downloading Ubuntu in Termux

Now open the Termux app, paste the script given below and tap the “Enter” key. Termux will start downloading Ubuntu and it will take few minutes to install Ubuntu.

pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh

when the downloading is completed, paste and run the following command to launch Ubuntu.

./start-ubuntu.sh

Install Java Development Kit

Enter the following commands one by one


apt update && apt upgrade -y

apt install sudo

apt install openjdk-21-jre

Minecraft Server Setup

apt-get install nano

mkdir mcserver

cd mcserver

Copy the server.jar file in this folder using “Files” App.

nano start-server

java -Xmx8G -Xms8G -jar server.jar nogui

bash start-server

nano eula.txt

bash start-server

stop

nano server.properties

In server.properties file edit “onlinemode=false”

Copy the Plugins in Plugins folder using “Files” App.

Playit Setup for Tunneling

apt install curl

curl -SsL https://playit-cloud.github.io/ppa/key.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/playit.gpg >/dev/null

echo "deb [signed-by=/etc/apt/trusted.gpg.d/playit.gpg] https://playit-cloud.github.io/ppa/data ./" | sudo tee /etc/apt/sources.list.d/playit-cloud.list

apt update

apt install playit

playit

Now for the first time it will show a link to claim and setup the ports to tunnel, copy that link and open in a browser and complete the setup as I shown in the Tutorial Video.

Now you can start your Minecraft Server

bash start-server

Your Java + PE Minecraft server is ready and running for you and your friends, now you guys can join and play together.

To stop Server just use this command in terminal

stop
From Next Time you just have to open Termux and Run these few commands to start your Minecraft Server.
./start-ubuntu.sh

cd mcserver

bash start-server

open new termux session and run playit with these command

./start-ubuntu.sh

playit
Watch Complete Step by Step Tutorial – How to Host Java + PE Minecraft Server on Android
Share:

Leave a Reply

Your email address will not be published. Required fields are marked *