2018-02-28 15:02:19 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1"
|
|
|
|
},
|
2018-03-10 14:34:27 +08:00
|
|
|
"exported_at": "2018-03-10T00:34:01-06:00",
|
2018-03-08 15:17:38 +08:00
|
|
|
"name": "Taco Spigot",
|
2018-02-28 15:02:19 +08:00
|
|
|
"author": "hostmaster@waterfallgaming.net",
|
|
|
|
"description": "A even-higher higher performance PaperSpigot fork that adds new features.",
|
|
|
|
"image": "quay.io\/pterodactyl\/core:java-glibc",
|
|
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
|
|
|
"config": {
|
2018-03-10 14:34:27 +08:00
|
|
|
"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}",
|
|
|
|
"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"
|
2018-02-28 15:02:19 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
2018-03-08 15:18:40 +08:00
|
|
|
"script": "#!\/bin\/ash\r\n# Taco Spigot 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\nif [ -z \"${DL_VERSION}\" ] || [ \"${DL_VERSION}\" == \"latest\" ]; then\r\n DL_VERSION=\"lastSucessfulBuild\"\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} https:\/\/ci.techcable.net\/job\/TacoSpigot\/${DL_VERSION}\/artifact\/build\/TacoSpigot.jar",
|
2018-02-28 15:02:19 +08:00
|
|
|
"container": "alpine:3.4",
|
|
|
|
"entrypoint": "ash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "Server Jar File",
|
|
|
|
"description": "The name of the server jarfile to run the server with.",
|
|
|
|
"env_variable": "SERVER_JARFILE",
|
|
|
|
"default_value": "server.jar",
|
|
|
|
"user_viewable": 1,
|
|
|
|
"user_editable": 1,
|
|
|
|
"rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TacoSpigot Version",
|
|
|
|
"description": "The version of TacoSpigot to download, Use \"latest\" for latest.",
|
|
|
|
"env_variable": "DL_VERSION",
|
|
|
|
"default_value": "latest",
|
|
|
|
"user_viewable": 1,
|
|
|
|
"user_editable": 1,
|
|
|
|
"rules": "required|string|between:3,7"
|
|
|
|
}
|
|
|
|
]
|
2018-03-10 14:34:27 +08:00
|
|
|
}
|