From 5c37ae986cf6066fc66dc32c22fed98824eb683b Mon Sep 17 00:00:00 2001 From: Patrick List Date: Tue, 25 Aug 2020 08:56:09 +0200 Subject: [PATCH 1/3] Create README.md --- minecraft/java/technic/the-1-12-2-pack/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 minecraft/java/technic/the-1-12-2-pack/README.md diff --git a/minecraft/java/technic/the-1-12-2-pack/README.md b/minecraft/java/technic/the-1-12-2-pack/README.md new file mode 100644 index 00000000..06a20128 --- /dev/null +++ b/minecraft/java/technic/the-1-12-2-pack/README.md @@ -0,0 +1,14 @@ +# Minecraft: The 1.12.2 Pack + +https://www.technicpack.net/modpack/the-1122-pack.1406454 + +## Server Ports +The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. + + +| Port | default | +|-------|---------| +| Game | 25565 | + + +Egg is based on the "1.7.10 Pack"-Egg From c107b6a88d9ae6a2ee82eaaa8ed4ca51a29bdb5c Mon Sep 17 00:00:00 2001 From: Patrick List Date: Tue, 25 Aug 2020 08:57:05 +0200 Subject: [PATCH 2/3] Add egg install file --- .../the-1-12-2-pack/egg-the1-12-2-pack.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json diff --git a/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json b/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json new file mode 100644 index 00000000..8a2e5f3c --- /dev/null +++ b/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-08-25T08:44:51+02:00", + "name": "The 1.12.2 Pack", + "author": "contact@irequire.dev", + "description": "The 1.12.2 Pack", + "image": "quay.io\/pterodactyl\/core:java", + "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar forge-*.jar", + "config": { + "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\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\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sS http:\/\/solder.endermedia.com\/repository\/downloads\/the-1122-pack\/the-1122-pack_$MODPACK_VERSION.zip -o the-1122-pack_$MODPACK_VERSION.zip\r\n\r\nunzip the-1122-pack_$MODPACK_VERSION.zip\r\n\r\nrm -rf the-1122-pack_$MODPACK_VERSION.zip", + "container": "alpine:3.9", + "entrypoint": "ash" + } + }, + "variables": [ + { + "name": "Modpack Version", + "description": "Version of the modpack to use", + "env_variable": "MODPACK_VERSION", + "default_value": "1.2.2", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:20" + } + ] +} \ No newline at end of file From 22f390f5ceaa7a7876909ee058e5ee7e355283d0 Mon Sep 17 00:00:00 2001 From: Patrick List Date: Tue, 25 Aug 2020 08:58:03 +0200 Subject: [PATCH 3/3] Update alpine container --- .../java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json b/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json index 8a2e5f3c..fb7f6758 100644 --- a/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json +++ b/minecraft/java/technic/the-1-12-2-pack/egg-the1-12-2-pack.json @@ -18,7 +18,7 @@ "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\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sS http:\/\/solder.endermedia.com\/repository\/downloads\/the-1122-pack\/the-1122-pack_$MODPACK_VERSION.zip -o the-1122-pack_$MODPACK_VERSION.zip\r\n\r\nunzip the-1122-pack_$MODPACK_VERSION.zip\r\n\r\nrm -rf the-1122-pack_$MODPACK_VERSION.zip", - "container": "alpine:3.9", + "container": "alpine:3.12", "entrypoint": "ash" } }, @@ -33,4 +33,4 @@ "rules": "required|string|max:20" } ] -} \ No newline at end of file +}