From d39bfdac129e52f4b5ee511e0453acf01ecc8aae Mon Sep 17 00:00:00 2001 From: Lovinoes Date: Sat, 24 Aug 2024 22:28:18 +0200 Subject: [PATCH] Create egg-tekkit-smp.json --- java/technic/tekkit-smp/egg-tekkit-smp.json | 49 +++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 java/technic/tekkit-smp/egg-tekkit-smp.json diff --git a/java/technic/tekkit-smp/egg-tekkit-smp.json b/java/technic/tekkit-smp/egg-tekkit-smp.json new file mode 100644 index 00000000..bfc99d0a --- /dev/null +++ b/java/technic/tekkit-smp/egg-tekkit-smp.json @@ -0,0 +1,49 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", + "meta": { + "version": "PTDL_v2", + "update_url": "https:\/\/raw.githubusercontent.com\/pelican-eggs\/minecraft\/main\/java\/technic\/tekkit-smp\/egg-tekkit-smp.json" + }, + "exported_at": "2024-08-24T19:18:42+00:00", + "name": "Tekkit SMP", + "author": "lovinoes@lovinoes.de", + "uuid": "c22ea4db-1541-490c-8ee6-296e61d97a1e", + "description": "Tekkit SMP contains the full range of mods from Tekkit 2, plus the extra mods that were originally dropped in the transition from Technic SSP (to Technic SMP) to Tekkit, in favour of multiplayer and Bukkit support: mainly Thaumcraft, Mystcraft, and Mo' Creatures. The new Tekkit SMP expands on that with various carefully selected Thaumcraft and Mystcraft addons, alongside Mo' Creatures Extended, and smaller custom additions such as Re-Crystallized Wing. Electro-Magic Tools is another starring mod, being an addon to both Industrial Craft and Thaumcraft, combining the worlds of tech and magic.", + "features": [ + "eula", + "java_version", + "pid_limit" + ], + "docker_images": { + "Java11": "ghcr.io\/parkervcp\/yolks:java_11", + "Java8": "ghcr.io\/parkervcp\/yolks:java_8" + }, + "file_denylist": [], + "startup": "java -server -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -Dfml.queryResult=confirm -jar forge.jar nogui", + "config": { + "files": "{\n \"server.properties\": {\n \"parser\": \"properties\",\n \"find\": {\n \"server-ip\": \"0.0.0.0\",\n \"server-port\": \"{{server.allocations.default.port}}\",\n \"query.port\": \"{{server.allocations.default.port}}\"\n }\n }\n}", + "startup": "{\n \"done\": \")! For help, type \"\n}", + "logs": "{}", + "stop": "stop" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/ash\r\n# Tekkit SMP Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napk update\r\napk add --no-cache curl zip unzip\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nMODPACK_VERSION=${MODPACK_VERSION:-\"v1.0.0\"} # Default to v1.0.0 if MODPACK_VERSION is not set\r\n\r\necho \"Downloading Tekkit SMP version ${MODPACK_VERSION}\"\r\ncurl -sSL \"https:\/\/servers.technicpack.net\/Technic\/servers\/tekkit-smp\/Tekkit-SMP_Server_${MODPACK_VERSION}.zip\" -o \"Tekkit-SMP_Server_${MODPACK_VERSION}.zip\"\r\nunzip -o \"Tekkit-SMP_Server_${MODPACK_VERSION}.zip\"\r\n\r\nrm -rf \"Tekkit-SMP_Server_${MODPACK_VERSION}.zip\"\r\nrm -f RestoreBackup.bat LaunchServer.bat LaunchServer.sh RestoreBackup.sh\r\n\r\nmv forge-1.12.2-*.jar forge.jar\r\n\r\nif [ ! -f server.properties ]; then\r\n echo \"Downloading MC server.properties\"\r\n curl -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/minecraft\/java\/server.properties\r\nfi\r\n\r\necho \"Done\"", + "container": "ghcr.io\/parkervcp\/installers:alpine", + "entrypoint": "ash" + } + }, + "variables": [ + { + "name": "Modpack Version", + "description": "The version of Tekkit SMP to download.", + "env_variable": "MODPACK_VERSION", + "default_value": "v1.0.0", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:10", + "sort": 1, + "field_type": "text" + } + ] +}