mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-29 05:39:51 +08:00
- 新增 SevenElement.json 配置文件用于管理七元素数据 - 添加 json_path_name 常量对象统一管理配置文件路径 - 优化密钥不匹配错误提示,增加升级说明和文档查看建议 - 实现七元素配置的动态加载和合并功能 - 更新 CD 路径配置使用新的路径常量 - 改进七元素数据解析和排序逻辑 refactor(FullyAutoAndSemiAutoTools): 重构代码结构并优化配置管理 - 修改 getNextCronTimestamp 函数参数,移除默认 URL 参数 - 将全局变量重构为常量对象 auto、dev 和 cd,提高代码可维护性 - 更新团队配置属性名,从 teamFight 和 teamSevenElements 改为 team_fight 和 team_seven_elements - 实现完整的初始化流程,包括工具模块动态加载和配置验证 - 添加 UID 设置持久化功能,支持不同账户的个性化配置 - 重构路径执行逻辑,优化黑白名单过滤和 CD 时间控制 - 移除过时的全局变量和初始化代码,精简代码结构 - 更新设置界面配置,新增 CD 算法开关和改进的半自动模式选项
107 lines
2.2 KiB
JSON
107 lines
2.2 KiB
JSON
[
|
|
{
|
|
"name": "key",
|
|
"type": "input-text",
|
|
"label": "密钥",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "config_run",
|
|
"type": "select",
|
|
"label": "配置模式",
|
|
"options": [
|
|
"刷新","加载","执行"
|
|
],
|
|
"default": "刷新"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"name": "config_white_list",
|
|
"type": "input-text",
|
|
"label": "刷新白名单 以,分割",
|
|
"default": "晶蝶"
|
|
},
|
|
{
|
|
"name": "config_black_list",
|
|
"type": "input-text",
|
|
"label": "刷新黑名单 以,分割",
|
|
"default": "其他,锄地专区,食材与炼金"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"name": "open_cd",
|
|
"type": "checkbox",
|
|
"label": "启用CD算法",
|
|
"default": false
|
|
},
|
|
{
|
|
"name": "http_api",
|
|
"type": "input-text",
|
|
"label": "[默认CD算法api]\ncron解析Http地址\n[请部署bettergi-scripts-tools可支持]",
|
|
"default": "http://<ip:port>/bgi/cron/next-timestamp"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"name": "choose_best",
|
|
"type": "checkbox",
|
|
"label": "择优模式(默认关闭 优先跑之前没跑过的)",
|
|
"default": false
|
|
},
|
|
{
|
|
"name": "mode",
|
|
"type": "select",
|
|
"label": "模式",
|
|
"options": [
|
|
"全自动","半自动"
|
|
],
|
|
"default": "全自动"
|
|
},
|
|
{
|
|
"name": "auto_semi_key_mode",
|
|
"type": "select",
|
|
"label": "[半自动]快捷键模式",
|
|
"options": [
|
|
"继续运行","跳过"
|
|
],
|
|
"default": "继续运行"
|
|
},
|
|
{
|
|
"name": "auto_key",
|
|
"type": "input-text",
|
|
"label": "<继续运行|跳过>本次路线快捷键 (独立BGI的快捷键请勿冲突)"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"name": "team_fight",
|
|
"type": "input-text",
|
|
"label": "战斗队伍配置(同时也是行走队伍配置)"
|
|
},
|
|
{
|
|
"name": "team_seven_elements",
|
|
"type": "input-text",
|
|
"label": "队伍配置 按 `矿物,火,水,风,雷,草,冰,岩` 该顺序填写",
|
|
"default": ""
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"name": "is_debug",
|
|
"type": "checkbox",
|
|
"label": "开发者模式",
|
|
"default": false
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"type": "input-text",
|
|
"label": "调试快捷键(开发者)"
|
|
}
|
|
] |