Add multiple java images to minecraft eggs
This commit is contained in:
		| @@ -9,6 +9,10 @@ | ||||
|     "description": "A generic egg for a forge modpack", | ||||
|     "features": null, | ||||
|     "image": "quay.io\/pterodactyl\/core:java", | ||||
|     "images": [ | ||||
|         "quay.io\/pterodactyl\/core:java", | ||||
|         "quay.io\/pterodactyl\/core:java-11" | ||||
|     ], | ||||
|     "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar server.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}", | ||||
|   | ||||
| @@ -9,6 +9,10 @@ | ||||
|     "description": "Minecraft Forge Server. Minecraft Forge is a modding API (Application Programming Interface), which makes it easier to create mods, and also make sure mods are compatible with each other.", | ||||
|     "features": ["eula"], | ||||
|     "image": "quay.io\/pterodactyl\/core:java", | ||||
|     "images": [ | ||||
|         "quay.io\/pterodactyl\/core:java", | ||||
|         "quay.io\/pterodactyl\/core:java-11" | ||||
|     ], | ||||
|     "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -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            \"query.port\": \"{{server.build.default.port}}\"\r\n        }\r\n    }\r\n}", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user