- Termux app installed (from F-Droid recommended)
- Stable internet connection
- Basic understanding of Termux commands
1 . Open Termux and run the following commands:
apt update -y
apt upgrade -y
apt install wget -y
wget https://raw.githubusercontent.com/debojitsantra/BedrockServerTermux/refs/heads/main/setup_ubuntu.sh
bash setup_ubuntu.sh
2 . After installation completes, type the following command to log in to Ubuntu:
proot-distro login ubuntu 1 . Inside the Ubuntu session, run these commands:
apt update -y
apt upgrade -y
apt install wget -y
wget https://github.com/Hikari2w2/1.18.12-Bedrock-Server-Termux/blob/main/setup_ubuntu.sh
bash setup_env.sh
2 . This will:
- Install necessary packages like Box64, Playit, and Git.
- Download and unzip the Minecraft Bedrock server files.
1 . Open two Termux sessions.
2 . In both sessions, log in to Ubuntu by running:
proot-distro login ubuntu 3 . In the first session, run the following to start the server:
cd /root
./run 4 . In the second session, run:
playit 1 . After running playit, you'll see a link.
2 . Copy that link, open it in your browser, and follow the instructions on playit.gg to configure your server.
✅ Make sure you're inside the /root directory before running ./run.
✅ If any script shows an error, try running apt update first.
✅ For stability, avoid closing Termux sessions once the server is running.