2020-10-15 12:13:58 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
2021-04-25 15:20:59 +08:00
|
|
|
"version": "PTDL_v1",
|
|
|
|
"update_url": null
|
2020-10-15 12:13:58 +08:00
|
|
|
},
|
2021-12-15 02:19:37 +08:00
|
|
|
"exported_at": "2021-12-09T13:32:14-05:00",
|
2020-10-15 12:13:58 +08:00
|
|
|
"name": "Waterdog",
|
|
|
|
"author": "parker@pterodactyl.io",
|
|
|
|
"description": "Waterdog is fork of the well-known Waterfall, which is a fork of the well-known BungeeCord, server teleportation suite.",
|
2021-11-26 08:14:52 +08:00
|
|
|
"features": [
|
|
|
|
"eula",
|
2022-01-21 01:43:40 +08:00
|
|
|
"java_version",
|
|
|
|
"pid_limit"
|
2021-11-26 08:14:52 +08:00
|
|
|
],
|
2021-01-06 03:39:42 +08:00
|
|
|
"images": [
|
2021-12-15 02:19:37 +08:00
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_17",
|
2021-11-26 08:14:52 +08:00
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_16",
|
2021-12-15 02:19:37 +08:00
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_11",
|
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_8"
|
2021-01-06 03:39:42 +08:00
|
|
|
],
|
2021-04-25 15:20:59 +08:00
|
|
|
"file_denylist": [],
|
2020-10-15 12:13:58 +08:00
|
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
|
|
|
"config": {
|
|
|
|
"files": "{}",
|
|
|
|
"startup": "{\r\n \"done\": \"Listening on \"\r\n}",
|
|
|
|
"logs": "{}",
|
|
|
|
"stop": "end"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
2021-07-02 09:36:56 +08:00
|
|
|
"script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y curl\r\n\r\nif [ ! -d \/mnt\/server ]; then\r\n mkdir \/mnt\/server\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\n# Adding '.jar' if it isn't part of the file name\r\nif [[ \"${SERVER_JARFILE}\" == \"*\\.jar\" ]]; then\r\n echo -e \"adding.jar to server file name\"\r\n SERVER_JARFILE=\"${SERVER_JARFILE}.jar\"\r\nfi\r\n\r\nif [ -z \"${WATERDOG_VERSION}\" ] || [ \"${WATERDOG_VERSION}\" == \"latest\" ]; then\r\n echo -e \"downloading latest waterdog build\\n\"\r\n curl -sSL -o ${SERVER_JARFILE} https:\/\/jenkins.waterdog.dev\/job\/Waterdog\/job\/Waterdog\/job\/master-zlib\/lastSuccessfulBuild\/artifact\/Waterfall-Proxy\/bootstrap\/target\/Waterdog.jar\r\nelse \r\n echo -e \"downloading waterdog build ${WATERDOG_VERSION}\\n\"\r\n curl -sSL -o ${SERVER_JARFILE} https:\/\/jenkins.waterdog.dev\/job\/Waterdog\/job\/Waterdog\/job\/master-zlib\/${WATERDOG_VERSION}\/artifact\/Waterfall-Proxy\/bootstrap\/target\/Waterdog.jar\r\nfi\r\n\r\nif [ ! -f config.yml ]; then\r\n echo -e \"Downloading waterfall config.yml\"\r\n curl -o config.yml https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/minecraft\/proxy\/java\/waterfall\/config.yml\r\nelse\r\n echo -e \"Waterfall config.yml exists. Will not pull a new file\"\r\nfi",
|
2020-10-15 12:13:58 +08:00
|
|
|
"container": "debian:buster-slim",
|
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "Waterdog Version",
|
2021-04-25 15:20:59 +08:00
|
|
|
"description": "The build to pull and install. (Ex. 23), or set to latest\r\n\r\nThis is the build number on https:\/\/jenkins.waterdog.dev\/",
|
2020-10-15 12:13:58 +08:00
|
|
|
"env_variable": "WATERDOG_VERSION",
|
|
|
|
"default_value": "latest",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string|max:20"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server Jar File",
|
|
|
|
"description": "The jar to run to",
|
|
|
|
"env_variable": "SERVER_JARFILE",
|
|
|
|
"default_value": "server.jar",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string|max:20"
|
|
|
|
}
|
|
|
|
]
|
2022-01-21 01:43:40 +08:00
|
|
|
}
|