2021-06-28 23:15:50 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1",
|
|
|
|
"update_url": null
|
|
|
|
},
|
2021-06-28 23:56:28 +08:00
|
|
|
"exported_at": "2021-06-28T11:55:37-04:00",
|
2021-06-28 23:15:50 +08:00
|
|
|
"name": "VIAaaS",
|
|
|
|
"author": "regulad@outlook.com",
|
|
|
|
"description": "VIAaaS - ViaVersion as a Service - Standalone ViaVersion proxy",
|
|
|
|
"features": null,
|
|
|
|
"images": [
|
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_16"
|
|
|
|
],
|
|
|
|
"file_denylist": [],
|
2021-06-30 02:30:02 +08:00
|
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} -sslPort={{WEBSERVER_PORT}}",
|
2021-06-28 23:15:50 +08:00
|
|
|
"config": {
|
|
|
|
"files": "{\r\n \"config\/viaaas.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"bind-address\": \"0.0.0.0\"\r\n }\r\n }\r\n}",
|
2021-06-28 23:56:28 +08:00
|
|
|
"startup": "{\r\n \"done\": \"Application started:\"\r\n}",
|
2021-06-28 23:15:50 +08:00
|
|
|
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
|
|
|
"stop": "end"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
|
|
|
"script": "#!\/bin\/bash\r\n# VIAaaS Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -Lf -o ${SERVER_JARFILE} \"https:\/\/jitpack.io\/com\/github\/ViaVersion\/VIAaaS\/master-SNAPSHOT\/VIAaaS-master-SNAPSHOT-all.jar\"",
|
|
|
|
"container": "debian:buster-slim",
|
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "VIAaaS Jar File",
|
2021-06-28 23:56:28 +08:00
|
|
|
"description": "The name of the jarfile to be used when downloading & running VIAaaS.",
|
2021-06-28 23:15:50 +08:00
|
|
|
"env_variable": "SERVER_JARFILE",
|
|
|
|
"default_value": "VIAaaS-all.jar",
|
2021-06-28 23:56:28 +08:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Webserver Port",
|
|
|
|
"description": "The port to listen to webserver connections on.",
|
|
|
|
"env_variable": "WEBSERVER_PORT",
|
|
|
|
"default_value": "25543",
|
|
|
|
"user_viewable": true,
|
2021-06-30 02:30:02 +08:00
|
|
|
"user_editable": true,
|
2021-06-28 23:15:50 +08:00
|
|
|
"rules": "required|string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|