mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
45 lines
2.4 KiB
JSON
45 lines
2.4 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v1"
|
|
},
|
|
"exported_at": "2020-10-19T23:26:54+00:00",
|
|
"name": "Sponge (SpongeVanilla)",
|
|
"author": "support@pterodactyl.io",
|
|
"description": "SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.",
|
|
"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": {
|
|
"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"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Sponge Version",
|
|
"description": "The version of SpongeVanilla to download and use.",
|
|
"env_variable": "SPONGE_VERSION",
|
|
"default_value": "1.11.2-6.1.0-BETA-21",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"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",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/"
|
|
}
|
|
]
|
|
} |