From 4ede54de79ab66e67e608a342e1b9f8000daef0d Mon Sep 17 00:00:00 2001 From: tmunsch Date: Tue, 10 Nov 2020 04:13:51 -0500 Subject: [PATCH] Egg for Fabric Minecraft Fabric is a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots. --- minecraft/java/fabric/egg-fabric.json | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 minecraft/java/fabric/egg-fabric.json diff --git a/minecraft/java/fabric/egg-fabric.json b/minecraft/java/fabric/egg-fabric.json new file mode 100644 index 00000000..29fe81a4 --- /dev/null +++ b/minecraft/java/fabric/egg-fabric.json @@ -0,0 +1,48 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-11-10T04:10:30-05:00", + "name": "Fabric", + "author": "accounts@bofanodes.io", + "description": "Fabric is a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots.", + "features": [ + "eula" + ], + "image": "quay.io\/pterodactyl\/core:java", + "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}", + "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 }\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\/bash\r\n# Fabric MC Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl jq unzip dos2unix wget\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\nwget https:\/\/maven.fabricmc.net\/net\/fabricmc\/fabric-installer\/$FABRIC_VERSION\/fabric-installer-$FABRIC_VERSION.jar\r\njava -jar fabric-installer-$FABRIC_VERSION.jar server -downloadMinecraft\r\necho -e \"Install Complete\"", + "container": "openjdk:8-jdk-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Server Jar File", + "description": "The name of the server jarfile to run the server with.", + "env_variable": "SERVER_JARFILE", + "default_value": "fabric-server-launch.jar", + "user_viewable": true, + "user_editable": true, + "rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/" + }, + { + "name": "Fabric Version", + "description": "The version of Fabric to install.", + "env_variable": "FABRIC_VERSION", + "default_value": "0.6.1.51", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|between:3,15" + } + ] +}