This script allows you to open Minecraft server easily from your phone.
Warning
Above 1.20.4 versions requires JDK 21, official Termux repos have JDK17. Those versions won't be able to use until JDK21 added.
Caution
Crashes and overheat may occur use this at your own risk.
- Add custom server.jar installing options to script. (Only Vanilla Minecraft)
- PaperMC installation option.
- Better launch script with adjustable things.
- Install Git
pkg install git
- Clone the repo
git clone https://github.com/denizxss/termux-minecraft-server-script.git
- Open script directory
cd termux-minecraft-server-script
- Make scripts executable
chmod +x main.sh
chmod +x launch.sh
- Launch script
./main.sh
Tip
Don't forget to change IP address and lower view distance for less memory and CPU usage.
./launch.sh