第58批功能1+2: 信誉积分管理系统 + AI聊天介入
Check Source / check (push) Successful in 4s
Auto Release / build (push) Successful in 2m31s
Simple Test / test (push) Successful in 1s
Test Env / test (push) Successful in 1s

信誉积分管理系统(CreditManager):
- /credits 上报好人好事/举报,每人初始化100积分
- 管理员审批后加分/扣分,低于阈值触发行为限制(可配置规则)
- PHP端可提交线索,admin审批接口
- GUI: 待审批/历史记录/限制规则
- DB: credit_records + credit_rules 表 + users.credit_score列

AI聊天介入(AIChatManager):
- 兼容openai协议,读models.json/供应商.json/提示词.txt配置
- @//模型名/前缀触发直接提问,私聊回复
- 空闲1-10分钟自动抓聊天互动,广播回复
- 黑名单拦截不浪费token
- 对话留档issue.json,HTTP异步请求不阻塞主线程
- 已解除.gitignore对openai资源的屏蔽
This commit is contained in:
youpaishidifu
2026-10-28 10:49:12 +08:00
parent cf84426bf6
commit a0f84ee542
9 changed files with 1464 additions and 2 deletions
+3
View File
@@ -211,3 +211,6 @@ commands:
json:
description: JSON消息构造器(tellraw/大标题/小标题/actionbar+颜色,需OP以上权限)
usage: /json
credits:
description: 信誉积分管理(上报/审批/记录/规则)
usage: /credits [上报|审批|记录|规则] [参数]