- 新增文本发送封装,身价插件所有文本回复统一登记自动撤回 - 撤回时长默认80秒,可通过 text_auto_revoke_seconds 配置调整 - 社交关系图图片发送保持不撤回,仅文本消息执行撤回策略
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[ValueRank]
|
|
enable = true
|
|
command = ["我的身价", "身价排行", "社交热度榜", "搭子榜", "社交桥梁榜", "社交关系图", "我的趋势", "身价周报", "身价说明", "重算身价"]
|
|
command-format = """
|
|
📊 身价系统命令:
|
|
1. 我的身价
|
|
2. 身价排行 [名次]
|
|
3. 社交热度榜 [名次]
|
|
4. 搭子榜 [名次]
|
|
5. 社交桥梁榜 [名次]
|
|
6. 社交关系图 [人数]
|
|
7. 我的趋势 [天数]
|
|
8. 身价周报
|
|
9. 身价说明
|
|
10. 重算身价(管理员)
|
|
"""
|
|
|
|
# 统计窗口(天)
|
|
message_window_days = 7
|
|
active_window_days = 30
|
|
social_window_days = 7
|
|
|
|
# 排分参数
|
|
points_weight = 0.30
|
|
message_weight = 0.35
|
|
active_days_weight = 0.20
|
|
social_weight = 0.15
|
|
inactivity_penalty_max = 150
|
|
base_score_scale = 1000
|
|
|
|
# 排行默认展示数量
|
|
default_rank_limit = 10
|
|
max_rank_limit = 50
|
|
default_graph_nodes = 12
|
|
max_graph_nodes = 24
|
|
graph_edge_pool_limit = 300
|
|
social_graph_template_path = "plugins/value_rank/templates/social_graph.html"
|
|
text_auto_revoke_seconds = 80
|
|
default_trend_days = 7
|
|
max_trend_days = 30
|
|
|
|
# @关系批处理(插件定时任务)参数
|
|
mention_batch_size = 200
|
|
mention_window_start_minutes = 20
|
|
mention_window_end_minutes = 10
|