Vine/egg-vine.json
Alexander Medvedev b1b2fe2e4a feat: add ci
2026-09-08 18:15:10 +02:00

74 lines
4.3 KiB
JSON

{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2026-09-08T18:00:00+00:00",
"name": "Vine",
"author": "lilalexmed@proton.me",
"description": "Vine is a high-performance, lightweight, multi-version Minecraft proxy built entirely in Rust, offering sub-millisecond packet routing, WASM plugin support, and modern protocol compatibility.",
"features": null,
"docker_images": {
"Alpine": "ghcr.io/pterodactyl/yolks:alpine",
"Debian": "ghcr.io/pterodactyl/yolks:debian"
},
"file_denylist": [],
"startup": "./vine",
"config": {
"files": "{\r\n \"vine.toml\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"bind_address = \\\"0.0.0.0:25565\\\"\": \"bind_address = \\\"0.0.0.0:{{server.build.default.port}}\\\"\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Vine Minecraft Proxy is listening on\"\r\n}",
"logs": "{}",
"stop": "stop"
},
"scripts": {
"installation": {
"script": "#!/bin/ash\r\nset -eux\r\n\r\napk add --no-cache curl jq\r\nmkdir -p /mnt/server\r\ncd /mnt/server\r\n\r\nARCH=$(uname -m)\r\ncase \"$ARCH\" in\r\n x86_64|amd64)\r\n VINE_ARCH=\"X64\"\r\n ;;\r\n aarch64|arm64)\r\n VINE_ARCH=\"ARM64\"\r\n ;;\r\n *)\r\n echo \"Unsupported architecture: $ARCH\"\r\n exit 1\r\n ;;\r\nesac\r\n\r\nBINARY_NAME=\"vine-${VINE_ARCH}-Linux-musl\"\r\n\r\nif [ -n \"${DOWNLOAD_URL:-}\" ]; then\r\n URL=\"$DOWNLOAD_URL\"\r\nelif [ \"${VERSION:-nightly}\" = \"latest\" ] || [ \"${VERSION:-nightly}\" = \"nightly\" ]; then\r\n URL=\"https://github.com/${GITHUB_PACKAGE:-Pumpkin-MC/Vine}/releases/download/nightly/${BINARY_NAME}\"\r\nelse\r\n URL=\"https://github.com/${GITHUB_PACKAGE:-Pumpkin-MC/Vine}/releases/download/${VERSION}/${BINARY_NAME}\"\r\nfi\r\n\r\necho \"Downloading Vine from: $URL\"\r\ncurl -fsSL \"$URL\" -o /mnt/server/vine\r\nchmod +x /mnt/server/vine\r\n\r\n# Quickly start and kill proxy to generate initial configuration if not present\r\nif [ ! -f /mnt/server/vine.toml ]; then\r\n timeout 2 ./vine || true\r\nfi",
"container": "ghcr.io/pterodactyl/installers:alpine",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Rust backtrace",
"description": "\"0\" -> No backtrace is generated. This is the default behavior.\r\n\"1\" -> Generates a minimal backtrace showing only relevant information about where the panic occurred.\r\n\"full\" -> Generates a detailed backtrace, showing all frames leading to the panic, including functions in the Rust standard library and dependencies.",
"env_variable": "RUST_BACKTRACE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|in:1,0,full",
"field_type": "text"
},
{
"name": "Vine Version",
"description": "The version of Vine to install. Options: 'nightly', 'latest', or a specific release tag (e.g. 'v0.1.0').\r\nScope: installation",
"env_variable": "VERSION",
"default_value": "nightly",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64",
"field_type": "text"
},
{
"name": "GitHub Repository",
"description": "GitHub repository in 'owner/repo' format to download releases from. Useful if you are using a fork.\r\nScope: installation",
"env_variable": "GITHUB_PACKAGE",
"default_value": "Pumpkin-MC/Vine",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:128",
"field_type": "text"
},
{
"name": "Direct Download URL",
"description": "Direct URL to download the Vine binary from. If provided, this overrides VERSION and GITHUB_PACKAGE.\r\nScope: installation",
"env_variable": "DOWNLOAD_URL",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
}
]
}