2017-11-04 04:07:18 +00:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1"
|
|
|
|
},
|
2020-11-03 04:24:24 +00:00
|
|
|
"exported_at": "2020-11-03T04:22:56+00:00",
|
2017-11-04 04:07:18 +00:00
|
|
|
"name": "Sponge (SpongeVanilla)",
|
|
|
|
"author": "support@pterodactyl.io",
|
|
|
|
"description": "SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.",
|
2020-11-03 04:24:24 +00:00
|
|
|
"features": ["eula"],
|
2017-11-04 04:07:18 +00:00
|
|
|
"image": "quay.io\/pterodactyl\/core:java-glibc",
|
|
|
|
"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 \"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"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
2020-10-20 00:29:03 +00:00
|
|
|
"script": "#!\/bin\/bash\r\n# Sponge Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSL \"https:\/\/repo.spongepowered.org\/maven\/org\/spongepowered\/spongevanilla\/${SPONGE_VERSION}\/spongevanilla-${SPONGE_VERSION}.jar\" -o ${SERVER_JARFILE}",
|
|
|
|
"container": "debian:buster-slim",
|
|
|
|
"entrypoint": "bash"
|
2017-11-04 04:07:18 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "Sponge Version",
|
|
|
|
"description": "The version of SpongeVanilla to download and use.",
|
|
|
|
"env_variable": "SPONGE_VERSION",
|
2020-12-22 16:48:28 +00:00
|
|
|
"default_value": "1.12.2-7.3.0",
|
2020-10-20 00:29:03 +00:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": false,
|
2017-11-04 04:07:18 +00:00
|
|
|
"rules": "required|regex:\/^([a-zA-Z0-9.\\-_]+)$\/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server Jar File",
|
|
|
|
"description": "The name of the Jarfile to use when running SpongeVanilla.",
|
|
|
|
"env_variable": "SERVER_JARFILE",
|
|
|
|
"default_value": "server.jar",
|
2020-10-20 00:29:03 +00:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2017-11-04 04:07:18 +00:00
|
|
|
"rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/"
|
|
|
|
}
|
|
|
|
]
|
2020-11-03 04:24:24 +00:00
|
|
|
}
|