mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-23 13:13:00 +08:00
aa13403503
Other eggs might benefit from this as well, but for now will stick with MC that are known to spawn a lot of processes when modded.
58 lines
2.6 KiB
JSON
58 lines
2.6 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v1",
|
|
"update_url": null
|
|
},
|
|
"exported_at": "2021-05-09T06:18:25-04:00",
|
|
"name": "Krypton",
|
|
"author": "callum.seabrook@prevarinite.com",
|
|
"description": "A fast, lightweight Minecraft server written in Kotlin",
|
|
"features": [
|
|
"eula",
|
|
"java_version",
|
|
"pid_limit"
|
|
],
|
|
"images": [
|
|
"ghcr.io\/pterodactyl\/yolks:java_8",
|
|
"ghcr.io\/pterodactyl\/yolks:java_11",
|
|
"ghcr.io\/pterodactyl\/yolks:java_16",
|
|
"ghcr.io\/pterodactyl\/yolks:java_17"
|
|
],
|
|
"file_denylist": "",
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JAR}}",
|
|
"config": {
|
|
"files": "{\r\n \"config.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" port\": \" port = {{server.build.default.port}}\",\r\n \" ip\": \" ip = \\\"0.0.0.0\\\"\"\r\n }\r\n }\r\n}",
|
|
"startup": "{\r\n \"done\": \")! Type \\\"help\\\" for help.\"\r\n}",
|
|
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
|
"stop": "stop"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n#\r\n# Krypton installation script for Pterodactyl\r\n# Created by BomBardyGamer\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt-get update\r\napt-get install -y curl jq unzip\r\n\r\ncd \/mnt\/server\r\nif [ -z \"${KRYPTON_VERSION}\" ] || [ \"${KRYPTON_VERSION}\" == \"latest\" ]; then\r\n KRYPTON_VERSION=\"lastSuccessfulBuild\"\r\nfi\r\n\r\nBASE_URL=\"https:\/\/ci.kryptonmc.org\/job\/Krypton\/${KRYPTON_VERSION}\"\r\nARTIFACT=`curl \"${BASE_URL}\/api\/json?tree=artifacts%5BrelativePath%5D\" | jq '.artifacts[0].relativePath' | sed 's\/\"\/\/g'`\r\n\r\ncurl -o ${SERVER_JAR} ${BASE_URL}\/artifact\/${ARTIFACT}\r\nunzip ${SERVER_JAR} \"config.conf\"",
|
|
"container": "debian:buster-slim",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Server JAR File",
|
|
"description": "The name of the server JAR to run the server with.",
|
|
"env_variable": "SERVER_JAR",
|
|
"default_value": "Krypton.jar",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:20"
|
|
},
|
|
{
|
|
"name": "Krypton Version",
|
|
"description": "The version of Krypton to download and use.",
|
|
"env_variable": "KRYPTON_VERSION",
|
|
"default_value": "latest",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|alpha_num|between:1,6"
|
|
}
|
|
]
|
|
}
|