mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-29 05:39:51 +08:00
- 新增云端配置功能 - 改变wsproxy授权方式为授权token或bettergi-scripts-tools授权拉取 - 在设置界面添加独立通知配置选项包括自定义通知和bgi-tools通知 - 添加bgi-tools获取授权wsproxy api地址输入框 - 添加bgi_tools授权token配置项 - 更新WebSocketProxyUrl默认路径 - 实现从bgi-tools获取ws信息的功能 - 添加getToken函数用于解析授权token - 实现pullAccessWsProxyConfig函数用于拉取ws代理配置 - 更新发送消息时携带uid和授权token信息
178 lines
4.5 KiB
JSON
178 lines
4.5 KiB
JSON
[
|
||
{
|
||
"name": "toMainUi",
|
||
"type": "checkbox",
|
||
"label": "启用先返回主界面后执行切换",
|
||
"default": true
|
||
},
|
||
{
|
||
"name": "noticeType",
|
||
"type": "select",
|
||
"label": "通知模式(默认BGI通知-使用独立通知需要开启JS HTTP权限)",
|
||
"options": [
|
||
"BGI通知",
|
||
"独立通知",
|
||
"独立通知和BGI通知"
|
||
],
|
||
"default": "BGI通知"
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"name": "newActivityNotice",
|
||
"type": "checkbox",
|
||
"label": "启用新活动通知",
|
||
"default": true
|
||
},
|
||
{
|
||
"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"
|
||
},
|
||
{
|
||
"label": "周本提醒日",
|
||
"name": "campaignAreaReminderDays",
|
||
"type": "multi-checkbox",
|
||
"options": [
|
||
"周一",
|
||
"周二",
|
||
"周三",
|
||
"周四",
|
||
"周五",
|
||
"周六",
|
||
"周日"
|
||
],
|
||
"default": [
|
||
"周六",
|
||
"周日"]
|
||
|
||
},
|
||
{
|
||
"name": "campaignAreaKey",
|
||
"type": "input-text",
|
||
"label": "打开冒险之证按键(不填,默认:F1)",
|
||
"default": "F1"
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"name": "wsNoticeType",
|
||
"type": "select",
|
||
"label": "独立通知配置(设置):\n==============================\n",
|
||
"options": [
|
||
"自定义通知",
|
||
"bgi-tools通知"
|
||
],
|
||
"default": "自定义通知"
|
||
},
|
||
{
|
||
"name": "http_api_access_ws_proxy",
|
||
"type": "input-text",
|
||
"label": "bgi-tools获取授权wsproxy api地址",
|
||
"default": "http://127.0.0.1:8081/bgi/ws-proxy/access"
|
||
},
|
||
{
|
||
"name": "bgi_tools_token",
|
||
"type": "input-text",
|
||
"label": "bgi_tools授权token 语法:tokenName=tokenValue",
|
||
"default": "Authorization= "
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"type": "separator"
|
||
},
|
||
{
|
||
"name": "ws_proxy_url",
|
||
"type": "input-text",
|
||
"label": "WebSocketProxyUrl(列:http://127.0.0.1:8081/bgi/ws-proxy/message/send)",
|
||
"default": "http://127.0.0.1:8081/bgi/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": ""
|
||
}
|
||
] |