Files
abot/plugins/value_rank/config.toml

50 lines
1.4 KiB
TOML
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.
[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
# 社交关系图默认按全量节点绘制:
# 1. 0 表示不截断,尽量展示所有关系节点;
# 2. 用户若显式传人数参数,仍可只看局部;
# 3. max_graph_nodes 保留为兼容字段0 表示不再设置硬上限。
default_graph_nodes = 0
max_graph_nodes = 0
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