变更: v1.0.2 → v1.0.3
2026-06-30 08:34 → 2026-06-30 10:28
v1.0.2
v1.0.3
-10
+10
| 1 | { | |
| 2 | "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", | |
| 3 | "meta": { | |
| 展开 27 行未改动 | ||
| 31 | }, | |
| 32 | "variables": [ | |
| 33 | { | |
| 34 | - | "name": "App ID", |
| 35 | - | "description": "app id required for server download/updates. end users should not see this.", |
| 36 | "env_variable": "SRCDS_APPID", | |
| 37 | "default_value": "2533070", | |
| 38 | "user_viewable": false, | |
| 39 | "user_editable": false, | |
| 40 | "rules": "required|integer|in:2533070", | |
| 41 | "field_type": "text" | |
| 42 | }, | |
| 43 | { | |
| 44 | - | "name": "Server Password", |
| 45 | - | "description": "required password to enter the server, leave blank for public server", |
| 46 | "env_variable": "SERVER_PASSWORD", | |
| 47 | "default_value": "", | |
| 48 | "user_viewable": true, | |
| 49 | "user_editable": true, | |
| 50 | "rules": "nullable|alpha_dash|max:128", | |
| 51 | "field_type": "text" | |
| 52 | }, | |
| 53 | { | |
| 54 | - | "name": "Max Players", |
| 55 | - | "description": "Specifies the maximum amount of players able to join the server.", |
| 56 | "env_variable": "MAX_PLAYERS", | |
| 57 | "default_value": "6", | |
| 58 | "user_viewable": true, | |
| 59 | "user_editable": true, | |
| 60 | "rules": "required|numeric|min:1|max:6", | |
| 61 | "field_type": "text" | |
| 62 | }, | |
| 63 | { | |
| 64 | - | "name": "[Advanced] Use Windows Branch", |
| 65 | - | "description": "Tells the installer/updater to only download the Windows branch of the server (the only branch currently available) so that it can run on Wine. Cannot be changed.", |
| 66 | "env_variable": "WINDOWS_INSTALL", | |
| 67 | "default_value": "1", | |
| 68 | "user_viewable": false, | |
| 69 | "user_editable": false, | |
| 70 | "rules": "required|string|in:1", | |
| 71 | "field_type": "text" | |
| 72 | }, | |
| 73 | { | |
| 74 | - | "name": "Auto Update", |
| 75 | - | "description": "Auto update the server on startup.", |
| 76 | "env_variable": "AUTO_UPDATE", | |
| 77 | "default_value": "1", | |
| 78 | "user_viewable": true, | |
| 展开 3 行未改动 | ||
| 82 | } | |
| 83 | ] | |
| 84 | } | |
| 1 | { | |
| 2 | "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", | |
| 3 | "meta": { | |
| 展开 27 行未改动 | ||
| 31 | }, | |
| 32 | "variables": [ | |
| 33 | { | |
| 34 | + | "name": "应用ID", |
| 35 | + | "description": "服务器下载/更新所需的应用程序ID。最终用户不应看到此信息。", |
| 36 | "env_variable": "SRCDS_APPID", | |
| 37 | "default_value": "2533070", | |
| 38 | "user_viewable": false, | |
| 39 | "user_editable": false, | |
| 40 | "rules": "required|integer|in:2533070", | |
| 41 | "field_type": "text" | |
| 42 | }, | |
| 43 | { | |
| 44 | + | "name": "服务器密码", |
| 45 | + | "description": "进入服务器所需的密码,留空则为公共服务器", |
| 46 | "env_variable": "SERVER_PASSWORD", | |
| 47 | "default_value": "", | |
| 48 | "user_viewable": true, | |
| 49 | "user_editable": true, | |
| 50 | "rules": "nullable|alpha_dash|max:128", | |
| 51 | "field_type": "text" | |
| 52 | }, | |
| 53 | { | |
| 54 | + | "name": "最大玩家数", |
| 55 | + | "description": "指定服务器允许的最大玩家数量。", |
| 56 | "env_variable": "MAX_PLAYERS", | |
| 57 | "default_value": "6", | |
| 58 | "user_viewable": true, | |
| 59 | "user_editable": true, | |
| 60 | "rules": "required|numeric|min:1|max:6", | |
| 61 | "field_type": "text" | |
| 62 | }, | |
| 63 | { | |
| 64 | + | "name": "[高级] 使用 Windows 分支", |
| 65 | + | "description": "告知安装程序/更新程序仅下载服务器的Windows分支(目前唯一可用的分支),以便其能在Wine上运行。此设置不可更改。", |
| 66 | "env_variable": "WINDOWS_INSTALL", | |
| 67 | "default_value": "1", | |
| 68 | "user_viewable": false, | |
| 69 | "user_editable": false, | |
| 70 | "rules": "required|string|in:1", | |
| 71 | "field_type": "text" | |
| 72 | }, | |
| 73 | { | |
| 74 | + | "name": "自动更新", |
| 75 | + | "description": "启动时自动更新服务器。", |
| 76 | "env_variable": "AUTO_UPDATE", | |
| 77 | "default_value": "1", | |
| 78 | "user_viewable": true, | |
| 展开 3 行未改动 | ||
| 82 | } | |
| 83 | ] | |
| 84 | } | |
更新说明
v1.0.2
[AI翻译] 名称、描述、说明、JSON描述、变量
v1.0.3
[AI翻译] 说明、变量