Skip to content

Instantly share code, notes, and snippets.

@yonderbread
Last active January 13, 2024 21:44
Show Gist options
  • Save yonderbread/97c4733a0836cdbcc7b30a082b0759c9 to your computer and use it in GitHub Desktop.
Save yonderbread/97c4733a0836cdbcc7b30a082b0759c9 to your computer and use it in GitHub Desktop.
Termux Minecraft Server Install Script
# This will install a Minecraft 1.16.5 vanilla server on Termux and launch it
pkg install apt curl wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh
chmod +x start-ubuntu.sh
./start-ubuntu.sh
apt install software-properties-common -y
add-apt-repository ppa:openjdk-r/ppa -y && apt update
apt install openjdk-8-jre -y
cd ~ && mkdir mc_server && cd mc_server
wget https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar
echo "eula=true" > eula.txt
echo "Server starting!"
java -jar server.jar
@Ijikov
Copy link

Ijikov commented Jul 31, 2023

Excuse moi je suis un peu nul sur termux qu'est qui faut faire quant on est sur root localhost il faut installer vnc viewer ?

@Jaimston
Copy link

It works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment