From 77b62d525da232adca403da391851c4af86fcb38 Mon Sep 17 00:00:00 2001 From: Permanently <7469056+Permanently@users.noreply.github.com> Date: Sun, 13 Nov 2022 12:53:29 +0000 Subject: [PATCH] Updated FlameCord download URL This has also resulted in the removal of version specification - explanation in pull request. --- .../minecraft/proxy/java/flamecord/egg-flamecord.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/game_eggs/minecraft/proxy/java/flamecord/egg-flamecord.json b/game_eggs/minecraft/proxy/java/flamecord/egg-flamecord.json index 1447aeeb..9dd82636 100644 --- a/game_eggs/minecraft/proxy/java/flamecord/egg-flamecord.json +++ b/game_eggs/minecraft/proxy/java/flamecord/egg-flamecord.json @@ -29,21 +29,12 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n# FlameCord Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl\r\n\r\n# Get download link\r\nif [ -z \"${FLAMECORD_VERSION}\" ] || [ \"${FLAMECORD_VERSION}\" == \"latest\" ]; then\r\n echo -e \"Downloading latest FlameCord build\"\r\n DOWNLOAD_URL=https:\/\/ci.2lstudios.dev\/job\/FlameCord\/lastSuccessfulBuild\/artifact\/FlameCord-Proxy\/bootstrap\/target\/FlameCord.jar\r\nelse \r\n echo -e \"Downloading FlameCord build ${FLAMECORD_VERSION}\"\r\n DOWNLOAD_URL=https:\/\/ci.2lstudios.dev\/job\/FlameCord\/${FLAMECORD_VERSION}\/artifact\/FlameCord-Proxy\/bootstrap\/target\/FlameCord.jar\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"curl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n\tmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\r\necho \"Install complete\"", + "script": "#!\/bin\/bash\r\n# FlameCord Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl unzip\r\n# Get download link\r\necho -e \"Downloading latest FlameCord build\"\r\nDOWNLOAD_URL=https:\/\/nightly.link\/Permanently\/FlameCord\/workflows\/flamecord-build\/master\/FlameCord-JDK11.zip\r\ncd \/mnt\/server\r\necho -e \"curl -L ${DOWNLOAD_URL} -o flamecord.zip\"\r\ncurl -L ${DOWNLOAD_URL} -o flamecord.zip\r\nif [ -f ${SERVER_JARFILE} ]; then\r\nmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\nunzip flamecord.zip\r\nmv FlameCord.jar ${SERVER_JARFILE}\r\nrm flamecord.zip\r\necho \"Install complete\"", "container": "debian:buster-slim", "entrypoint": "bash" } }, "variables": [ - { - "name": "Flamecord Version", - "description": "The build to pull and install. (Ex. 97), or set to latest.\r\n\r\nYou can find all builds on https:\/\/ci.2lstudios.dev\/job\/FlameCord\/", - "env_variable": "FLAMECORD_VERSION", - "default_value": "latest", - "user_viewable": true, - "user_editable": true, - "rules": "required|string" - }, { "name": "FlameCord Jar File", "description": "The name of the jar file to use when running FlameCord.",