Last active
January 13, 2024 21:44
-
-
Save yonderbread/97c4733a0836cdbcc7b30a082b0759c9 to your computer and use it in GitHub Desktop.
Termux Minecraft Server Install Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works for me