Files
bettergi-scripts-list/repo/js/ActivitySwitchNotice/settings.json
云端客 7809496731 活动期限/周本通知器 0.0.8 (#2763)
* feat(ActivitySwitchNotice): 添加地图任务识别功能

- 新增 mapMission 工具模块用于OCR地图任务识别
- 在初始化工具列表中加入 mapMission 模块
- 修改 main 函数增加异常处理和开关控制逻辑
- 优化代码格式和缩进一致性
- 添加地图任务OCR识别区域配置参数

* feat(ActivitySwitchNotice): 添加地图任务识别功能并优化配置管理

- 实现地图任务识别功能,支持伴月纪闻任务和每日委托奖励识别
- 新增initSettings函数用于统一管理配置文件读取和初始化
- 在settings.json中添加地图任务相关的多选框配置选项
- 更新manifest.json版本至0.0.8并添加最低BGI版本要求
- 重构ocrMapMission函数以支持多任务名称匹配
- 添加openMap和mapMission工具函数用于地图操作和任务识别
- 优化通知系统,移除不必要的参数并完善错误处理
- 调整设置界面布局,添加分隔符提升用户体验

* feat(map): 添加地图任务识别功能

- 实现多复选框配置映射表获取功能
- 添加根据复选框名称获取对应值的方法
- 重构OCR地图任务识别函数,优化参数和错误处理
- 集成UID识别并在通知中显示
- 更新地图任务识别流程和结果显示格式
- 添加地图任务识别数量统计日志
- 在README中更新版本历史记录

* feat(map): 添加地图任务识别功能

- 实现多复选框配置映射表获取功能
- 添加根据复选框名称获取对应值的方法
- 重构OCR地图任务识别函数,优化参数和错误处理
- 集成UID识别并在通知中显示
- 更新地图任务识别流程和结果显示格式
- 添加地图任务识别数量统计日志
- 在README中更新版本历史记录

* feat(ActivitySwitchNotice): 添加新的活动任务选项并设置默认值

- 添加探索派遣奖励选项
- 添加豪斗旅纪奖励选项
- 设置伴月纪闻任务为默认选项之一
- 设置探索派遣奖励为默认选项之一
- 设置每日委托奖励为默认选项之一
- 更新配置结构以支持多选默认值
2026-01-23 00:01:53 +08:00

135 lines
3.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"name": "toMainUi",
"type": "checkbox",
"label": "启用先返回主界面后执行切换",
"default": true
},
{
"name": "noticeType",
"type": "select",
"label": "通知模式(默认BGI通知-使用独立通知需要开启JS HTTP权限)",
"options": [
"BGI通知",
"独立通知",
"独立通知和BGI通知"
],
"default": "BGI通知"
},
{
"type": "separator"
},
{
"label": "地图识别任务提醒",
"type": "multi-checkbox",
"name": "mapMissionKeys",
"options": [
"伴月纪闻任务",
"探索派遣奖励",
"豪斗旅纪奖励",
"每日委托奖励"
],
"default": [
"伴月纪闻任务",
"探索派遣奖励",
"每日委托奖励"]
},
{
"type": "separator"
},
{
"name": "relationship",
"type": "checkbox",
"label": "剩余时间,白名单 启用`和`关系(默认`或`关系)",
"default": false
},
{
"name": "whiteActivityNameList",
"type": "input-text",
"label": "白名单活动名称(使用|分割)<可不填 默认推送所有有剩余时间的活动>"
},
{
"name": "blackActivity",
"type": "input-text",
"label": "黑名单活动名称(使用|分割)<可不填,默认没有不推送的活动>(新增语法指定条件的黑名单活动1-条件1,条件2|活动2-条件1)"
},
{
"name": "notifyHoursThreshold",
"type": "input-text",
"label": "通知剩余时间阈值<单位:小时>(默认 8760小时=365天)",
"default": "8760"
},
{
"name": "activityKey",
"type": "input-text",
"label": "打开活动页面按键(不填默认F5)",
"default": "F5"
},
{
"type": "separator"
},
{
"name": "campaignAreaReminderDay",
"type": "select",
"label": "周本提醒日(0-6,0=周日,1=周一,2=周二,3=周三,4=周四,5=周五,6=周六)",
"options": [
"0",
"1",
"2",
"3",
"4",
"5",
"6"
],
"default": "0"
},
{
"name": "campaignAreaKey",
"type": "input-text",
"label": "打开冒险之证按键(不填默认F1)",
"default": "F1"
},
{
"type": "separator"
},
{
"name": "ws_proxy_url",
"type": "input-text",
"label": "独立通知配置:\n==============================\nWebSocketProxyUrl(列:http://127.0.0.1:8081/ws-proxy/message/send)",
"default": "http://127.0.0.1:8081/ws-proxy/message/send"
},
{
"name": "ws_url",
"type": "input-text",
"label": "WebSocket客户端 Url(列:ws://127.0.0.1:8080)",
"default": "ws://127.0.0.1:8080/"
},
{
"name": "ws_token",
"type": "input-text",
"label": "WebSocket客户端 token(没有可不填)",
"default": ""
},
{
"name": "action",
"type": "select",
"label": "发送类型",
"options": [
"私聊",
"群聊"
],
"default": "私聊"
},
{
"name": "send_id",
"type": "input-text",
"label": "(发送id 群号|QQ号 对应发送类型)",
"default": ""
},
{
"name": "at_list",
"type": "input-text",
"label": "@某人列表使用,隔开(QQ号)",
"default": ""
}
]