变更: v1.0.0 → v1.0.1
2026-07-01 16:32 → 2026-07-01 16:35
v1.0.0
v1.0.1
-19
+19
| 1 | { | |
| 2 | "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
| 3 | "meta": { | |
| 展开 3 行未改动 | ||
| 7 | "exported_at": "2025-05-03T00:23:00+00:00", | |
| 8 | "name": "python generic", | |
| 9 | "author": "parker@parkervcp.com", | |
| 10 | - | "description": "A Generic Python Egg for Pterodactyl\r\n\r\nTested with: https://github.com/Ispira/pixel-bot", |
| 11 | "features": null, | |
| 12 | "docker_images": { | |
| 13 | "Python 3.13": "ghcr.io/ptero-eggs/yolks:python_3.13", | |
| 展开 22 行未改动 | ||
| 36 | }, | |
| 37 | "variables": [ | |
| 38 | { | |
| 39 | - | "name": "Git Repo Address", |
| 40 | - | "description": "Git repo to clone\r\n\r\nI.E. https://github.com/parkervcp/repo_name", |
| 41 | "env_variable": "GIT_ADDRESS", | |
| 42 | "default_value": "", | |
| 43 | "user_viewable": true, | |
| 44 | "user_editable": true, | |
| 45 | "rules": "nullable|string", | |
| 46 | "field_type": "text" | |
| 47 | }, | |
| 48 | { | |
| 49 | - | "name": "Git Branch", |
| 50 | - | "description": "What branch to pull from github.\r\n\r\nDefault is blank to pull the repo default branch", |
| 51 | "env_variable": "BRANCH", | |
| 52 | "default_value": "", | |
| 53 | "user_viewable": true, | |
| 54 | "user_editable": true, | |
| 55 | "rules": "nullable|string", | |
| 56 | "field_type": "text" | |
| 57 | }, | |
| 58 | { | |
| 59 | - | "name": "User Uploaded Files", |
| 60 | - | "description": "Skip all the install stuff if you are letting a user upload files.\r\n\r\n0 = false (default)\r\n1 = true", |
| 61 | "env_variable": "USER_UPLOAD", | |
| 62 | "default_value": "0", | |
| 63 | "user_viewable": true, | |
| 64 | "user_editable": true, | |
| 65 | "rules": "required|boolean", | |
| 66 | "field_type": "text" | |
| 67 | }, | |
| 68 | { | |
| 69 | - | "name": "Auto Update", |
| 70 | - | "description": "Pull the latest files on startup when using a GitHub repo.", |
| 71 | "env_variable": "AUTO_UPDATE", | |
| 72 | "default_value": "0", | |
| 73 | "user_viewable": true, | |
| 74 | "user_editable": true, | |
| 75 | "rules": "required|boolean", | |
| 76 | "field_type": "text" | |
| 77 | }, | |
| 78 | { | |
| 79 | - | "name": "App py file", |
| 80 | - | "description": "The file that starts the App.", |
| 81 | "env_variable": "PY_FILE", | |
| 82 | "default_value": "app.py", | |
| 83 | "user_viewable": true, | |
| 84 | "user_editable": true, | |
| 85 | "rules": "required|string", | |
| 86 | "field_type": "text" | |
| 87 | }, | |
| 88 | { | |
| 89 | - | "name": "Additional Python packages", |
| 90 | - | "description": "Install additional python packages.\r\n\r\nUse spaces to separate", |
| 91 | "env_variable": "PY_PACKAGES", | |
| 92 | "default_value": "", | |
| 93 | "user_viewable": true, | |
| 94 | "user_editable": true, | |
| 95 | "rules": "nullable|string", | |
| 96 | "field_type": "text" | |
| 97 | }, | |
| 98 | { | |
| 99 | - | "name": "Git Username", |
| 100 | - | "description": "Username to auth with git.", |
| 101 | "env_variable": "USERNAME", | |
| 102 | "default_value": "", | |
| 103 | "user_viewable": true, | |
| 104 | "user_editable": true, | |
| 105 | "rules": "nullable|string", | |
| 106 | "field_type": "text" | |
| 107 | }, | |
| 108 | { | |
| 109 | - | "name": "Git Access Token", |
| 110 | - | "description": "Password to use with git.\r\n\r\nIt's best practice to use a Personal Access Token.\r\nhttps://github.com/settings/tokens\r\nhttps://gitlab.com/-/profile/personal_access_tokens", |
| 111 | "env_variable": "ACCESS_TOKEN", | |
| 112 | "default_value": "", | |
| 113 | "user_viewable": true, | |
| 114 | "user_editable": true, | |
| 115 | "rules": "nullable|string", | |
| 116 | "field_type": "text" | |
| 117 | }, | |
| 118 | { | |
| 119 | - | "name": "Requirements file", |
| 120 | - | "description": "if there are other requirements files to choose from.", |
| 121 | "env_variable": "REQUIREMENTS_FILE", | |
| 122 | "default_value": "requirements.txt", | |
| 123 | "user_viewable": true, | |
| 展开 3 行未改动 | ||
| 127 | } | |
| 128 | ] | |
| 129 | } | |
| 1 | { | |
| 2 | "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
| 3 | "meta": { | |
| 展开 3 行未改动 | ||
| 7 | "exported_at": "2025-05-03T00:23:00+00:00", | |
| 8 | "name": "python generic", | |
| 9 | "author": "parker@parkervcp.com", | |
| 10 | + | "description": "用于Pterodactyl的通用Python Egg\n\n测试于:https://github.com/Ispira/pixel-bot", |
| 11 | "features": null, | |
| 12 | "docker_images": { | |
| 13 | "Python 3.13": "ghcr.io/ptero-eggs/yolks:python_3.13", | |
| 展开 22 行未改动 | ||
| 36 | }, | |
| 37 | "variables": [ | |
| 38 | { | |
| 39 | + | "name": "Git 仓库地址", |
| 40 | + | "description": "要克隆的Git仓库\n\n例如:https://github.com/parkervcp/repo_name", |
| 41 | "env_variable": "GIT_ADDRESS", | |
| 42 | "default_value": "", | |
| 43 | "user_viewable": true, | |
| 44 | "user_editable": true, | |
| 45 | "rules": "nullable|string", | |
| 46 | "field_type": "text" | |
| 47 | }, | |
| 48 | { | |
| 49 | + | "name": "Git 分支", |
| 50 | + | "description": "从 GitHub 上拉取哪个分支。\n\n默认为空,表示拉取仓库的默认分支。", |
| 51 | "env_variable": "BRANCH", | |
| 52 | "default_value": "", | |
| 53 | "user_viewable": true, | |
| 54 | "user_editable": true, | |
| 55 | "rules": "nullable|string", | |
| 56 | "field_type": "text" | |
| 57 | }, | |
| 58 | { | |
| 59 | + | "name": "用户上传的文件", |
| 60 | + | "description": "如果你让用户上传文件,跳过所有安装内容。\n\n0 = false (default)\n1 = true", |
| 61 | "env_variable": "USER_UPLOAD", | |
| 62 | "default_value": "0", | |
| 63 | "user_viewable": true, | |
| 64 | "user_editable": true, | |
| 65 | "rules": "required|boolean", | |
| 66 | "field_type": "text" | |
| 67 | }, | |
| 68 | { | |
| 69 | + | "name": "自动更新", |
| 70 | + | "description": "当使用 GitHub 仓库时,在启动时拉取最新文件。", |
| 71 | "env_variable": "AUTO_UPDATE", | |
| 72 | "default_value": "0", | |
| 73 | "user_viewable": true, | |
| 74 | "user_editable": true, | |
| 75 | "rules": "required|boolean", | |
| 76 | "field_type": "text" | |
| 77 | }, | |
| 78 | { | |
| 79 | + | "name": "App py 文件", |
| 80 | + | "description": "启动应用程序的文件。", |
| 81 | "env_variable": "PY_FILE", | |
| 82 | "default_value": "app.py", | |
| 83 | "user_viewable": true, | |
| 84 | "user_editable": true, | |
| 85 | "rules": "required|string", | |
| 86 | "field_type": "text" | |
| 87 | }, | |
| 88 | { | |
| 89 | + | "name": "额外的Python包", |
| 90 | + | "description": "安装额外的 python 包。\n\n使用空格分隔。", |
| 91 | "env_variable": "PY_PACKAGES", | |
| 92 | "default_value": "", | |
| 93 | "user_viewable": true, | |
| 94 | "user_editable": true, | |
| 95 | "rules": "nullable|string", | |
| 96 | "field_type": "text" | |
| 97 | }, | |
| 98 | { | |
| 99 | + | "name": "Git用户名", |
| 100 | + | "description": "用于git认证的用户名。", |
| 101 | "env_variable": "USERNAME", | |
| 102 | "default_value": "", | |
| 103 | "user_viewable": true, | |
| 104 | "user_editable": true, | |
| 105 | "rules": "nullable|string", | |
| 106 | "field_type": "text" | |
| 107 | }, | |
| 108 | { | |
| 109 | + | "name": "Git 访问令牌", |
| 110 | + | "description": "用于 Git 的密码。\n\n最佳实践是使用个人访问令牌。\nhttps://github.com/settings/tokens\nhttps://gitlab.com/-/profile/personal_access_tokens", |
| 111 | "env_variable": "ACCESS_TOKEN", | |
| 112 | "default_value": "", | |
| 113 | "user_viewable": true, | |
| 114 | "user_editable": true, | |
| 115 | "rules": "nullable|string", | |
| 116 | "field_type": "text" | |
| 117 | }, | |
| 118 | { | |
| 119 | + | "name": "需求文件", |
| 120 | + | "description": "如果有其他需求文件可供选择。", |
| 121 | "env_variable": "REQUIREMENTS_FILE", | |
| 122 | "default_value": "requirements.txt", | |
| 123 | "user_viewable": true, | |
| 展开 3 行未改动 | ||
| 127 | } | |
| 128 | ] | |
| 129 | } | |
更新说明
v1.0.0
批量导入
v1.0.1
[AI翻译] 名称、描述、说明、JSON描述、变量