From f7b2360a705d2a7e86bc6d600668b94e0f847a1f Mon Sep 17 00:00:00 2001 From: AevumDecessus Date: Mon, 26 Feb 2018 23:53:52 -0500 Subject: [PATCH] Added FTB Revelation modpack Their download URL system sucks much --- .../ftb-revelation/egg-f-t-b-revelation.json | 36 +++++++++++++++++++ README.md | 6 +++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Minecraft/ftb-revelation/egg-f-t-b-revelation.json diff --git a/Minecraft/ftb-revelation/egg-f-t-b-revelation.json b/Minecraft/ftb-revelation/egg-f-t-b-revelation.json new file mode 100644 index 00000000..46974916 --- /dev/null +++ b/Minecraft/ftb-revelation/egg-f-t-b-revelation.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-02-26T23:48:51-05:00", + "name": "FTB Revelation", + "author": "aevum@decess.us", + "description": "Revelation is a general all-purpose pack that is designed for solo play as well as small and medium population servers. This pack contains a mix of magic, tech and exploration mods, and is the largest pack ever built and released by the Feed The Beast Team.", + "image": "quay.io\/pterodactyl\/core:java", + "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar FTBserver-*.jar", + "config": { + "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \")! For help, type \",\r\n \"userInteraction\": [\r\n \"Go to eula.txt for more info.\"\r\n ]\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "stop" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/ash\r\n# Forge Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napk update\r\napk add curl --no-cache\r\n\r\nBASEURL=https:\/\/www.feed-the-beast.com\/projects\/ftb-revelation\/files\r\nPATTERN=\"(projects\\\/ftb-revelation\\\/files\\\/\\d{7,})\"\r\nID=`curl -sl ${BASEURL}| grep -A2 ${MODPACK_VERSION} | grep -oE \"${PATTERN}\"`\r\nSECONDURL=https:\/\/www.feed-the-beast.com\/${ID}\r\nGOOD_ID=`curl -sl ${SECONDURL} | grep -B2 Server_${MODPACK_VERSION}.zip | grep -oE \"${PATTERN}\"`\r\n\r\nDL_URL=https:\/\/www.feed-the-beast.com\/${GOOD_ID}\/download\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -L ${DL_URL} -o ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nunzip ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nrm -rf ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nsh .\/FTBInstall.sh", + "container": "alpine:3.7", + "entrypoint": "ash" + } + }, + "variables": [ + { + "name": "Modpack Version", + "description": "Version of the modpack to use", + "env_variable": "MODPACK_VERSION", + "default_value": "1.6.0", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:20" + } + ] +} diff --git a/README.md b/README.md index 7c99b99b..0ae617cf 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ This is a direct fork of the default spigot service with the added benefit of be This is a direct fork of the default forge service - Has a version detection fix for "latest" +#### FTB Packs +##### FTB Revelation +[FTB Revelation](https://www.feed-the-beast.com/projects/ftb-revelation) + #### Tekkit Packs ##### Hexxit [Hexxit](https://www.technicpack.net/modpack/hexxit.552552) @@ -60,4 +64,4 @@ The [xonotic](http://www.xonotic.org/) official dedicated server. ## Bot Eggs ### Discord #### ATLBot -The [ATLauncher Bot](https://github.com/ATLauncher/discord-bot/) \ No newline at end of file +The [ATLauncher Bot](https://github.com/ATLauncher/discord-bot/)