Last active
April 20, 2020 17:46
-
-
Save MrUnknownDE/2cdf25466c27f66ad4de813e0ce987ed to your computer and use it in GitHub Desktop.
Spigot BuildTool Autostart Script
This file contains 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
#/bin/bash | |
clear | |
echo "################################################" | |
echo "# #" | |
echo "# #" | |
echo "# Spigot Buildtool #" | |
echo "# Autostart Script #" | |
echo "# #" | |
echo "# by #" | |
echo "# johanneskr.de #" | |
echo "# #" | |
echo "# #" | |
echo "################################################" | |
echo "" | |
echo "" | |
echo "DE >" | |
echo "Dieses Script startet gleich automatisch. Es holt die aktuellste Version vom "BuildTool" und startet dann gleich damit." | |
echo "" | |
echo "EN >" | |
echo "This script starts automatically. It gets the latest version of the "BuildTool" and then starts with it" | |
sleep 5 | |
echo "" | |
echo "" | |
echo "" | |
echo "" | |
rm BuildTools.jar | |
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar | |
clear | |
echo "Check software packages ..." | |
apt-get install git default-jdk -y > /dev/null | |
echo "starting building ..." | |
sleep 2 | |
java -jar BuildTools.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment