updates
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
# Copyright (c) 2022 fithwum
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
#export DISPLAY=0
|
||||
|
||||
# Main Install Links
|
||||
SERVER_FILE=https://meta.fabricmc.net/v2/versions/loader/$MC_VERSION/$FABRIC_VERSION/$INSTALLER_VERSION/server/jar
|
||||
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/fabric/run.sh
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
# Copyright (c) 2022 fithwum
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
#export DISPLAY=0
|
||||
|
||||
# Variables.
|
||||
echo " "
|
||||
echo "INFO ! Checking for latest Minecraft Server version."
|
||||
|
||||
@@ -5,12 +5,6 @@
|
||||
# Display setup
|
||||
#export DISPLAY=0
|
||||
|
||||
# https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.deb
|
||||
# JAVA_DOWNLOAD=https://download.java.net/java/GA/jdk22.0.1/c7ec1332f7bb44aeba2eb341ae18aca4/8/GPL/openjdk-22.0.1_linux-x64_bin.tar.gz
|
||||
# curl -s $JAVA_DOWNLOAD
|
||||
# tar xvf openjdk-13*_bin.tar.gz
|
||||
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/testing/run.sh
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
# Copyright (c) 2022 fithwum
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
#export DISPLAY=0
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/vanilla/run.sh
|
||||
|
||||
Reference in New Issue
Block a user