Skip to content

Commit 7567f95

Browse files
[2025-07-27 16:27] Update gallery
1 parent 07a711b commit 7567f95

File tree

16 files changed

+135
-12
lines changed

16 files changed

+135
-12
lines changed

plugins/BetterChat/index.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
id: BetterChat
3+
title: BetterChat
4+
order: 1
5+
6+
---
7+
8+
# BetterChat
9+
10+
<img src="https://count.getloli.com/@BetterChat?name=BetterChat&theme=minecraft&padding=7&offset=0&align=top&scale=1&pixelated=1&darkmode=auto">
11+
12+
<div>
13+
<img src="https://img.shields.io/badge/version-1.0.1-blue.svg" alt="version">
14+
<img src="https://img.shields.io/badge/license-Apache--2.0-green.svg" alt="license">
15+
<img src="https://img.shields.io/badge/language-JavaScript-orange.svg"
16+
alt="language">
17+
</div>
18+
19+
## 项目介绍
20+
21+
这是一个基于Serein JS引擎开发的支持多服务器、多群组群聊服互通插件,适用于Serein 2.1+的版本。
22+
23+
## 插件功能
24+
25+
1. 支持多服务器或群聊转发。
26+
2. 支持自定义匹配触发服务器聊天转发格式。
27+
3. 支持自定义转发格式。
28+
4. 支持CQ码替换。
29+
5. 支持群昵称替换绑定在serein中的玩家ID。
30+
31+
## 插件配置
32+
33+
1. 插件配置文件为`setting.json`,放在本插件目录下。
34+
2. 插件配置文件格式为JSON,每个配置项的说明如下:
35+
- `EnableGameID`:是否启用游戏ID匹配,默认值为`false`
36+
- `Format`:转发格式,默认值为`{{title}} {{name}}:{{msg}}`
37+
- `ChatContent`:匹配触发服务器聊天转发格式,默认值为空。
38+
- `ForwardGroupFormat`:转发群聊格式,默认值为空。
39+
- `Filtersymbol`:群聊过滤符号,默认值为空。
40+
- `Filtercontent`:群聊过滤内容,默认值为空。
41+
- `ForwardServer`:转发服务器列表,默认值为空。
42+
- `ForwardGroup`:转发群聊列表,默认值为空。
43+
- `GroupName`:群聊名称列表,默认值为空。
44+
- `CQCode`:CQ码替换列表,默认值无需修改。
45+
3. 配置文件示例
46+
```json
47+
{
48+
"EnableGameID": false,
49+
"Format": "{{title}} {{name}}:{{msg}}",
50+
"ChatContent": ".*Chat.*?\\s(\\<.*\\>\\s.*)",
51+
"ForwardGroupFormat": "$1",
52+
"Filtersymbol": "#",
53+
"Filtercontent": "帮助",
54+
"ForwardServer": {
55+
"12345678": [
56+
"velocity",
57+
"be1"
58+
]
59+
},
60+
"ForwardGroup": {
61+
"velocity": [
62+
12345678
63+
],
64+
"be1": [
65+
12345678
66+
]
67+
},
68+
"GroupName": {
69+
"12345678": "【群聊】"
70+
},
71+
"CQCode": {
72+
"[CQ:face]": "[表情]",
73+
"[CQ:reply]": "[回复]",
74+
"[CQ:image]": "[图片]",
75+
"[CQ:video]": "[视频]",
76+
"[CQ:record]": "[语音]",
77+
"[CQ:music]": "[音乐]",
78+
"[CQ:redbag]": "[红包]",
79+
"[CQ:forward]": "[合并转发消息]",
80+
"[CQ:node]": "[合并转发消息]",
81+
"[CQ:xml]": "[XML卡片]",
82+
"[CQ:json]": "[JSON卡片]",
83+
"[CQ:file]": "[文件]"
84+
}
85+
}
86+
```
87+
88+
## 插件使用
89+
90+
1. [下载插件压缩包](https://github.com/inf-mc/BetterChat/releases),解压到`./Serein/Serein/plugins`目录下。
91+
2. 插件安装完成后,在Serein中重新加载所有插件来启用插件。
92+
3. 插件配置完成后,在Serein中测试插件是否正常工作。
93+
94+
## 插件注意事项
95+
96+
1. 插件配置文件中`ForwardServer`和`ForwardGroup`的配置项需要根据实际情况进行配置。
97+
2. 插件配置文件中`GroupName`的配置项需要根据实际情况进行配置。
98+
3. 插件配置文件中`CQCode`的配置项无需修改。
99+
4. 如服务器已启动完成但插件报`发送失败: ServersID未启动或服务器IPv4端口配置错误。`,请检查服务器配置中更多选项下的IPv4端口是否与服务器配置文件`server.properties`中的端口一致。
100+
5. 基岩版服务器需要在服务器配置编辑器中的输入输出选项勾选使用Unicode字符或使用虚拟终端。
101+
102+
## 插件贡献者
103+
104+
- [@MioMiko](https://github.com/MioMiko)
105+
- [@lingran7031](https://github.com/lingran7031)
106+
107+
## 鸣谢
108+
109+
<div>
110+
<div>
111+
<a href="https://sereindev.github.io/">
112+
<img src="serein.png" width="120" alt="logo">
113+
</a>
114+
<a href="https://wiki.infinf.info/">
115+
<img src="inf-logo-x135.png" alt="logo">
116+
</a>
117+
</div>
118+
</div>
119+
120+
## 插件许可证
121+
122+
该插件基于Apache-2.0许可证发布,您可以免费使用、修改和分发本插件的代码。但是,您必须保留本插件的版权声明和许可证声明。

plugins/BetterChat/inf-logo-x135.png

16.1 KB
Loading

plugins/BetterChat/serein.png

6.62 KB
Loading

plugins/advanced-auth-gate/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: advanced-auth-gate
33
title: 更好的API验证方式
4-
order: 1
4+
order: 2
55

66
---
77

plugins/auto-gc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: auto-gc
33
title: 自动垃圾回收
4-
order: 3
4+
order: 4
55

66
---
77

plugins/better-whitelist/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: better-whitelist
33
title: 更好的白名单
4-
order: 2
4+
order: 3
55

66
---
77

plugins/ipanel-serein/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: ipanel-serein
33
title: iPanel
4-
order: 6
4+
order: 7
55

66
---
77

plugins/max-line-count-editor/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: max-line-count-editor
33
title: 控制台最大行数修改器
4-
order: 5
4+
order: 6
55

66
---
77

plugins/more-useful-variables/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: more-useful-variables
33
title: 更多有用的变量
4-
order: 7
4+
order: 8
55

66
---
77

plugins/serein-phira-broadcast/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: serein-phira-broadcast
33
title: Phira多人游戏状态群聊通知
4-
order: 4
4+
order: 5
55

66
---
77

0 commit comments

Comments
 (0)