2018-07-11 22:41:33 +02:00
{
2024-06-02 15:43:14 +02:00
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL" ,
2018-07-11 22:41:33 +02:00
"meta" : {
2023-05-01 18:24:51 +02:00
"version" : "PTDL_v2" ,
2021-07-02 03:36:56 +02:00
"update_url" : null
2018-07-11 22:41:33 +02:00
} ,
2024-06-02 15:43:14 +02:00
"exported_at" : "2024-06-01T19:39:55+00:00" ,
2018-07-11 22:41:33 +02:00
"name" : "Nukkit" ,
"author" : "parker@parkervcp.com" ,
2024-06-02 15:43:14 +02:00
"uuid" : "5669130a-d4a2-4a80-88b6-9edd2d9484bc" ,
2021-12-16 19:33:34 +01:00
"description" : "Nukkit is a Nuclear-Powered Server Software For Minecraft: Pocket Edition\r\n\r\nhttps:\/\/cloudburstmc.org" ,
2021-07-02 03:36:56 +02:00
"features" : null ,
2023-05-01 18:24:51 +02:00
"docker_images" : {
2024-05-01 20:08:56 +02:00
"ghcr.io\/parkervcp\/yolks:java_11" : "ghcr.io\/parkervcp\/yolks:java_11" ,
"ghcr.io\/parkervcp\/yolks:java_16" : "ghcr.io\/parkervcp\/yolks:java_16" ,
"ghcr.io\/parkervcp\/yolks:java_8" : "ghcr.io\/parkervcp\/yolks:java_8" ,
"ghcr.io\/parkervcp\/yolks:java_17" : "ghcr.io\/parkervcp\/yolks:java_17"
2023-05-01 18:24:51 +02:00
} ,
2021-07-02 03:36:56 +02:00
"file_denylist" : [ ] ,
2018-07-11 22:41:33 +02:00
"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}" ,
2023-05-01 18:24:51 +02:00
"startup" : "{\r\n \"done\": \")! \"\r\n}" ,
2024-05-01 20:08:56 +02:00
"logs" : "{}" ,
2018-07-11 22:41:33 +02:00
"stop" : "stop"
} ,
"scripts" : {
"installation" : {
2021-12-16 19:33:34 +01:00
"script" : "#!\/bin\/ash\r\n# Nukkit Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napk add --no-cache curl openssl\r\n\r\ncd \/mnt\/server\r\n\r\n## Only download if a path is provided, otherwise continue.\r\nif [ ! -z \"${DL_PATH}\" ]; then\r\n MODIFIED_DOWNLOAD=`eval echo $(echo ${DL_PATH} | sed -e 's\/{{\/${\/g' -e 's\/}}\/}\/g')`\r\n wget ${MODIFIED_DOWNLOAD} -O ${SERVER_JARFILE}\r\nelif [ -z \"${NUKKIT_VERSION}\" ] || [ \"${NUKKIT_VERSION}\" == \"latest\" ]; then\r\n wget https:\/\/ci.opencollab.dev\/job\/NukkitX\/job\/Nukkit\/job\/master\/lastSuccessfulBuild\/artifact\/target\/nukkit-1.0-SNAPSHOT.jar -O ${SERVER_JARFILE}\r\nelse\r\n wget https:\/\/ci.opencollab.dev\/job\/NukkitX\/job\/Nukkit\/job\/master\/${NUKKIT_VERSION}\/artifact\/target\/nukkit-1.0-SNAPSHOT.jar -O ${SERVER_JARFILE}\r\nfi\r\n\r\nif [ ! -f nukkit.yml ]; then\r\n wget https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/minecraft\/bedrock\/nukkit\/nukkit.yml\r\nfi\r\n\r\nif [ ! -f server.properties ]; then\r\n wget https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/minecraft\/bedrock\/nukkit\/server.properties\r\nfi\r\n\r\necho -s \"Install completed!\"" ,
2024-05-01 20:08:56 +02:00
"container" : "ghcr.io\/parkervcp\/installers:alpine" ,
2018-07-11 22:41:33 +02:00
"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" ,
2021-07-02 03:36:56 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2023-05-01 18:24:51 +02:00
"rules" : "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/" ,
2024-06-02 15:43:14 +02:00
"sort" : null ,
2023-05-01 18:24:51 +02:00
"field_type" : "text"
2018-07-11 22:41:33 +02:00
} ,
{
"name" : "Download Path" ,
2021-12-16 19:33:34 +01:00
"description" : "A URL to use to download Nukkit rather than building it on the server. This is not user viewable. Use <code>{{DL_VERSION}}<\/code> in the URL to automatically insert the assigned version into the URL. If you do not enter a URL Spigot will build directly in the container (this will fail on low memory containers)." ,
2018-07-11 22:41:33 +02:00
"env_variable" : "DL_PATH" ,
"default_value" : "" ,
2021-07-02 03:36:56 +02:00
"user_viewable" : false ,
"user_editable" : false ,
2023-05-01 18:24:51 +02:00
"rules" : "nullable|string" ,
2024-06-02 15:43:14 +02:00
"sort" : null ,
2023-05-01 18:24:51 +02:00
"field_type" : "text"
2018-07-11 22:41:33 +02:00
} ,
{
"name" : "nukkit version" ,
"description" : "The version of Nukkitt to download (using the --rev tag). Use \"latest\" for latest." ,
"env_variable" : "NUKKIT_VERSION" ,
"default_value" : "latest" ,
2021-07-02 03:36:56 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2023-05-01 18:24:51 +02:00
"rules" : "required|string|max:20" ,
2024-06-02 15:43:14 +02:00
"sort" : null ,
2023-05-01 18:24:51 +02:00
"field_type" : "text"
2018-07-11 22:41:33 +02:00
}
]
2024-05-01 20:08:56 +02:00
}