Egg for Fabric Minecraft
Fabric is a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots.
This commit is contained in:
		
							
								
								
									
										48
									
								
								minecraft/java/fabric/egg-fabric.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								minecraft/java/fabric/egg-fabric.json
									
									
									
									
									
										Normal file
									
								
							| @@ -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" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user