Repository navigation
Expand file tree
/
Copy path_conf_schema.json
More file actions
128 lines (128 loc) · 4.85 KB
/
Copy path_conf_schema.json
File metadata and controls
128 lines (128 loc) · 4.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"wegame_api_key": {
"type": "string",
"description": "API Key",
"hint": "API 密钥,在https://rocom.shallow.ink申请,只用远行商人一块钱能用俩月",
"default": ""
},
"api_base_url": {
"type": "string",
"description": "API 基础地址",
"hint": "API 服务器地址,不要动",
"default": "https://wegame.shallow.ink"
},
"render_timeout": {
"type": "int",
"description": "渲染超时时间",
"hint": "图片渲染最大等待时间(毫秒)",
"default": 30000
},
"low_bandwidth_mode": {
"type": "bool",
"description": "低带宽模式",
"hint": "默认关闭。开启后,家园详情渲染时不再加载技能图标,适合服务器带宽较小或访问远程资源较慢的环境",
"default": false
},
"help_prefix_display": {
"type": "string",
"description": "菜单页指令展示前缀",
"hint": "仅用于帮助菜单图片中的命令展示,不影响实际命令注册;例如填写 9 后显示为 9洛克",
"default": ""
},
"auto_refresh_enabled": {
"type": "bool",
"description": "启用自动刷新",
"hint": "定时刷新所有用户凭证,非必要不要开启!服务端会自动刷新",
"default": false
},
"auto_refresh_time": {
"type": "list",
"description": "自动刷新时间",
"hint": "每天自动刷新的时间点(24 小时制)",
"default": ["00:00", "12:00"],
"items": {
"type": "string"
}
},
"auto_refresh_notify_group": {
"type": "string",
"description": "刷新结果通知 UMO",
"hint": "自动刷新结果推送到此会话(填写完整的 UMO,如 default:GroupMessage:870543663)",
"default": ""
},
"merchant_subscription_enabled": {
"type": "bool",
"description": "启用远行商人订阅推送",
"hint": "开启后会在每日 08:01 / 12:01 / 16:01 / 20:01 前后 30 秒随机检查一次,若为空则每 4 分钟前后 30 秒最多重试 3 次",
"default": true
},
"merchant_subscription_items": {
"type": "list",
"description": "远行商人默认订阅商品",
"hint": "群管理员订阅时默认监听这些商品名称,按名称精确匹配",
"default": ["国王球", "棱镜球", "炫彩精灵蛋"],
"items": {
"type": "string"
}
},
"merchant_private_subscription_enabled": {
"type": "bool",
"description": "允许个人私聊订阅远行商人",
"hint": "开启后允许用户在私聊中订阅远行商人推送",
"default": true
},
"merchant_group_admin_enabled": {
"type": "bool",
"description": "允许群管理员配置订阅",
"hint": "默认开启。开启后群主和群管理员可以配置或取消当前会话的公告、家园和远行商人订阅;官方 QQ Bot 群聊会读取消息中的 member_role",
"default": true
},
"merchant_bot_admin_enabled": {
"type": "bool",
"description": "允许 Bot 管理员配置订阅",
"hint": "默认开启。开启后 AstrBot 全局管理员或插件 allowed_users 中的用户可以配置或取消群聊订阅",
"default": true
},
"allowed_users": {
"type": "string",
"description": "插件 Bot 管理员白名单",
"hint": "可选,填写用户 ID 并用英文逗号分隔;官方 QQ Bot 请填写消息中的 member_openid。为空时仅使用 AstrBot 全局管理员",
"default": ""
},
"merchant_timezone": {
"type": "string",
"description": "远行商人时区",
"hint": "IANA 时区名称,默认 Asia/Shanghai(北京时间);配置无效或无法识别时使用系统时区作为备用",
"default": "Asia/Shanghai"
},
"merchant_all_day_once_enabled": {
"type": "bool",
"description": "全天商品只推送一次",
"hint": "默认关闭。开启后,订阅推送中全天存在的商品(非 4 小时刷新)每天只推送一次;4 小时刷新的商品仍按轮次每轮推送,连续轮次售卖相同商品不受影响",
"default": false
},
"home_subscription_enabled": {
"type": "bool",
"description": "启用家园菜园和灵感订阅推送",
"hint": "开启后会定时检查已订阅 UID 的菜园成熟和精灵灵感完成状态,并按首个完成/全部完成两档推送",
"default": true
},
"home_subscription_interval_minutes": {
"type": "int",
"description": "家园订阅检查间隔",
"hint": "单位:分钟。用于菜园成熟和精灵灵感订阅轮询",
"default": 5
},
"announcement_subscription_enabled": {
"type": "bool",
"description": "启用洛克公告订阅推送",
"hint": "开启后定时检查最新公告,并向已订阅会话推送新公告",
"default": true
},
"announcement_poll_interval_minutes": {
"type": "int",
"description": "洛克公告订阅检查间隔",
"hint": "单位:分钟。用于新公告订阅轮询",
"default": 10
}
}