第35批:公告计分板(公告.md json块解码/排序位冲突自动进位/15字截断换行/链接可点击/颜色三形态)+PVP侧边栏共存+垃圾站播报加轮次信息
Check Source / check (push) Successful in 4s
Auto Release / build (push) Successful in 2m57s
Simple Test / test (push) Successful in 1s
Test Env / test (push) Successful in 1s

This commit is contained in:
youpaishidifu
2026-10-21 21:39:52 +08:00
parent f084304cda
commit 04678b29b0
7 changed files with 678 additions and 8 deletions
+49
View File
@@ -0,0 +1,49 @@
## ----公告区域开始----
```json
{
"1": {
"msg": "",
"color": ""
},
"2": {
"msg": "",
"color": ""
}
}
```
## ----公告区域结束----
## 公告板使用手册
- 插件主导计分板式公告栏,用于记录和公示服务器的基本信息。<br>
- 支持填入任意纯文本。<br>
- 空白键值自动跳过
## 公告区参数选项
| 键 | 值 | 必填 | 解释 |
| --- | --- | --- |---|
| 数字编号 | 花括号 | 必填 | 一条公告的开始 |
| msg | 纯文本消息内容 | 必填 | 消息正文 |
| color | 颜色英文名或16进制颜色代码,或rgb | 非必填 | 指定颜色,未填写回退MC原版白色 |
## 示例模板
```json
{
"1": {
"msg": "这是第一条公告",
"color": ""
},
"2": {
"msg": "这是第二条公告",
"color": "r=0 g=0 b=0"
},
"3": {
"msg": "这是第三条公告",
"color": "#000000"
},
"4": {
}
}
```