Crewlink server v1.0.1

飒爽师叔 · 2026-07-01 03:58

更新日志

[AI翻译] 描述、说明、JSON描述、变量

版本内容

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
    "meta": {
        "update_url": "https://eggs.pterodactyl.top/eggs/199/download/egg-crewlink-server.json",
        "version": "PTDL_v2"
    },
    "exported_at": "2024-06-01T00:17:31+00:00",
    "name": "Crewlink server",
    "author": "panel@oxtroit.com",
    "description": "一个旨在支持Among Us中使用CrewLink Server进行近距离语音聊天的Egg模板。",
    "features": null,
    "docker_images": {
        "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:nodejs_16": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:nodejs_16"
    },
    "file_denylist": [],
    "startup": "yarn start",
    "config": {
        "files": "{}",
        "logs": "{}",
        "startup": "{\r\n    \"done\": \"<info> CrewLink Server started\"\r\n}",
        "stop": "^C"
    },
    "scripts": {
        "installation": {
            "container": "node:16-bookworm",
            "entrypoint": "bash",
            "script": "#!/bin/bash\r\n# Server Files: /mnt/server\r\napt update\r\napt install -y git\r\n\r\nmkdir -p /mnt/server\r\ncd /mnt/server\r\n\r\nINSTALL_REPO=\"https://github.com/ottomated/crewlink-server.git\"\r\necho -e Install repo set to ${INSTALL_REPO}\r\necho -e \"/mnt/server is empty.\\ncloning files from repo\"\r\necho -e \"running 'git clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .'\"\r\ngit clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .\r\n\r\nif [ -f /mnt/server/package.json ]; then\r\n    /usr/local/bin/yarn install\r\nfi\r\n\r\necho -e \"install complete\"\r\nexit 0"
        }
    },
    "variables": [
        {
            "name": "Github 分支",
            "description": "如果你想要运行开发服务器,将其设置为'devel'。",
            "env_variable": "BRANCH",
            "default_value": "master",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:20",
            "field_type": "text"
        },
        {
            "name": "域",
            "description": "您的服务器域名或服务器IP地址",
            "env_variable": "ADDRESS",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:50",
            "field_type": "text"
        },
        {
            "name": "服务器名称",
            "description": "指定你的Crewlink服务器名称",
            "env_variable": "NAME",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:75",
            "field_type": "text"
        },
        {
            "name": "使用HTTPS",
            "description": "启用https。你必须将privkey.pem和fullchain.pem放在你的当前工作目录中。",
            "env_variable": "HTTPS",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:20",
            "field_type": "text"
        },
        {
            "name": "SSL路径",
            "description": "SSL证书的替代路径。",
            "env_variable": "SSLPATH",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:250",
            "field_type": "text"
        },
        {
            "name": "端口",
            "description": "选择服务器运行端口",
            "env_variable": "PORT",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:20",
            "field_type": "text"
        }
    ]
}