mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
Temporarily replace GTNH ServerPacks call with restify+jq (#3938)
This commit is contained in:
0
scripts/start-deployAutoCF
Normal file → Executable file
0
scripts/start-deployAutoCF
Normal file → Executable file
0
scripts/start-deployFolia
Normal file → Executable file
0
scripts/start-deployFolia
Normal file → Executable file
2
scripts/start-deployGTNH
Normal file → Executable file
2
scripts/start-deployGTNH
Normal file → Executable file
@@ -8,7 +8,7 @@ function getGTNHdownloadPath(){
|
||||
gtnh_download_path=""
|
||||
current_java_version=$(mc-image-helper java-release)
|
||||
|
||||
if ! packs_data="$(curl -sfL 'http://downloads.gtnewhorizons.com/ServerPacks/?raw')"; then
|
||||
if ! packs_data="$(restify --tag=a https://www.gtnewhorizons.com/version-history/ | jq -r '.[].href | select(test("Server"))')"; then
|
||||
logError "Failed to retrieve data from http://downloads.gtnewhorizons.com/ServerPacks/?raw"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
0
scripts/start-deployLeaf
Normal file → Executable file
0
scripts/start-deployLeaf
Normal file → Executable file
0
scripts/start-deployModrinth
Normal file → Executable file
0
scripts/start-deployModrinth
Normal file → Executable file
0
scripts/start-deployNeoForge
Normal file → Executable file
0
scripts/start-deployNeoForge
Normal file → Executable file
0
scripts/start-deployPoseidon
Normal file → Executable file
0
scripts/start-deployPoseidon
Normal file → Executable file
0
scripts/start-rconcmds
Normal file → Executable file
0
scripts/start-rconcmds
Normal file → Executable file
0
scripts/start-setupRbac
Normal file → Executable file
0
scripts/start-setupRbac
Normal file → Executable file
Reference in New Issue
Block a user