mirror of
https://github.com/pelican-eggs/minecraft.git
synced 2024-11-25 20:32:45 +01:00
66 lines
2.9 KiB
JSON
66 lines
2.9 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
"meta": {
|
|
"update_url": null,
|
|
"version": "PTDL_v2"
|
|
},
|
|
"exported_at": "2024-06-01T19:39:48+00:00",
|
|
"name": "Cuberite",
|
|
"author": "parker@parkervcp.com",
|
|
"description": "A lightweight, fast and extensible game server for Minecraft",
|
|
"features": [
|
|
"eula",
|
|
"java_version",
|
|
"pid_limit"
|
|
],
|
|
"docker_images": {
|
|
"ghcr.io/parkervcp/yolks:debian": "ghcr.io/parkervcp/yolks:debian"
|
|
},
|
|
"file_denylist": [],
|
|
"startup": "./Cuberite",
|
|
"config": {
|
|
"files": "{\r\n \"settings.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"Server.Ports\": \"{{server.build.default.port}}\",\r\n \"Server.Description\": \"{{server.build.env.SERV_DESC}}\"\r\n }\r\n },\r\n \"webadmin.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"User:admin.Password\": \"{{server.build.env.ADMIN_PASS}}\",\r\n \"WebAdmin.Ports\": \"{{server.build.env.WEB_PORT}}\"\r\n }\r\n }\r\n}",
|
|
"logs": "{}",
|
|
"startup": "{\r\n \"done\": \"Startup complete\"\r\n}",
|
|
"stop": "stop"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"container": "ghcr.io/parkervcp/installers:debian",
|
|
"entrypoint": "bash",
|
|
"script": "#!/bin/ash\r\n# Cuberite\r\n#\r\n# Server Files: /mnt/server\r\n\r\ncd /mnt/server\r\n\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] \u0026\u0026 echo \"x86_64\" || echo \"aarch64\")\r\n\r\nwget https://download.cuberite.org/linux-${ARCH}/Cuberite.tar.gz\r\n\r\ntar -xzf Cuberite.tar.gz\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Server Description",
|
|
"description": "Server Description",
|
|
"env_variable": "SERV_DESC",
|
|
"default_value": "Cuberite on Pterodactyl!",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "nullable|string",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Admin Password",
|
|
"description": "The password for the webadmin panel 'admin' user",
|
|
"env_variable": "ADMIN_PASS",
|
|
"default_value": "ChangeMe",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "nullable|string",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "WebAdmin Port",
|
|
"description": "Port for the cuberite webadmin panel.",
|
|
"env_variable": "WEB_PORT",
|
|
"default_value": "8080",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"rules": "required|integer|between:1,65535",
|
|
"field_type": "text"
|
|
}
|
|
]
|
|
} |