koishi-plugin-mcdle 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +30 -10
- package/lib/index.d.ts +1 -1
- package/lib/index.js +31 -30
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
# 我的世界猜谜
|
|
2
2
|
|
|
3
|
-
Koishi
|
|
3
|
+
Koishi 插件:玩《我的世界》猜谜,凭属性提示从生物、物品、方块中锁定唯一答案
|
|
4
|
+
|
|
5
|
+
[](https://github.com/araea/koishi-plugin-mcdle)
|
|
6
|
+
[](https://www.npmjs.com/package/koishi-plugin-mcdle)
|
|
4
7
|
|
|
5
8
|
## 安装
|
|
6
9
|
|
|
7
10
|
```sh
|
|
8
|
-
|
|
11
|
+
npm i koishi-plugin-mcdle
|
|
9
12
|
```
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
启用插件,并安装 `database` 服务。图片输出可选,需要 `puppeteer` 服务。
|
|
15
|
+
|
|
16
|
+
## 快速使用
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
发送 `mcdle` 查看玩法与全部指令。发送 `mcdle.猜 [名称]` 开局或提交猜测;首次猜测的词条决定题目类型(生物 / 物品 / 方块)。
|
|
14
19
|
|
|
15
20
|
| 指令 | 说明 |
|
|
16
21
|
| --- | --- |
|
|
@@ -20,14 +25,29 @@ yarn add koishi-plugin-mcdle
|
|
|
20
25
|
| `mcdle.排行榜` | 查看本群战绩 |
|
|
21
26
|
| `mcdle.词库` | 查看全部词条 |
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
提示颜色:🟩 完全匹配,🟨 部分匹配,🟥 不匹配;🟥⬆️ / 🟥⬇️ 表示答案更大或更小。裸猜设置仅对当前频道有效,插件重载后恢复默认。
|
|
29
|
+
|
|
30
|
+
## 配置
|
|
31
|
+
|
|
32
|
+
| 配置项 | 类型 | 默认值 | 说明 |
|
|
33
|
+
| --- | --- | --- | --- |
|
|
34
|
+
| `atReply` | boolean | `false` | 回复时 @ 用户 |
|
|
35
|
+
| `quoteReply` | boolean | `false` | 回复时引用消息 |
|
|
36
|
+
| `enableDirectInput` | boolean | `false` | 对局中直接发送词条名称即可续猜 |
|
|
37
|
+
| `addStatusTextAfterEmoji` | boolean | `true` | 在状态方块后补一段文字说明 |
|
|
38
|
+
| `maxRank` | number | `10` | 排行榜最多显示的人数 |
|
|
39
|
+
| `dailyPlayLimit` | number | `1` | 每个频道每日可开始的局数,跨零点重置 |
|
|
40
|
+
| `retractDelay` | number | `0` | 自动撤回延迟(秒),0 表示不撤回 |
|
|
41
|
+
| `allowRepeatedGuesses` | boolean | `false` | 允许重复提交已猜过的词条 |
|
|
42
|
+
| `disableImages` | boolean | `false` | 全部改用文本,不发送图片 |
|
|
24
43
|
|
|
25
|
-
##
|
|
44
|
+
## 限制 / 风险
|
|
26
45
|
|
|
27
|
-
|
|
46
|
+
依赖 `database` 服务持久化对局与战绩。图片输出需 `puppeteer`,未安装或渲染失败时自动回退为等价文本,不中断对局。
|
|
28
47
|
|
|
29
|
-
|
|
48
|
+
裸猜为各频道内存态,插件重载后回到配置默认。
|
|
30
49
|
|
|
31
|
-
|
|
50
|
+
## 链接
|
|
32
51
|
|
|
33
|
-
|
|
52
|
+
- [设计系统](DESIGN_SYSTEM.md)
|
|
53
|
+
- [MIT](LICENSE-MIT) / [Apache-2.0](LICENSE-APACHE)
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context, Schema, Session } from 'koishi';
|
|
2
2
|
import { MobData, BlockData, ItemData } from './data';
|
|
3
3
|
export declare const name = "mcdle";
|
|
4
|
-
export declare const usage = "## \u4F7F\u7528\n\n\u53D1\u9001 `mcdle` \u67E5\u770B\u73A9\u6CD5\u4E0E\u5168\u90E8\u6307\u4EE4\u3002`mcdle.\u731C [\u540D\u79F0]` \
|
|
4
|
+
export declare const usage = "## \u4F7F\u7528\n\n\u53D1\u9001 `mcdle` \u67E5\u770B\u73A9\u6CD5\u4E0E\u5168\u90E8\u6307\u4EE4\u3002`mcdle.\u731C [\u540D\u79F0]` \u5F00\u5C40\u6216\u63D0\u4EA4\u731C\u6D4B\u3002\u9996\u6B21\u731C\u6D4B\u7684\u8BCD\u6761\u51B3\u5B9A\u9898\u76EE\u7C7B\u578B\u3002\n\n## \u6307\u4EE4\n\n| \u6307\u4EE4 | \u8BF4\u660E |\n| --- | --- |\n| `mcdle` | \u67E5\u770B\u73A9\u6CD5\u4E0E\u6307\u4EE4 |\n| `mcdle.\u731C [\u540D\u79F0]` | \u5F00\u5C40\u6216\u63D0\u4EA4\u731C\u6D4B |\n| `mcdle.\u88F8\u731C [\u5F00/\u5173]` | \u5207\u6362\u672C\u9891\u9053\u65E0\u524D\u7F00\u7EED\u731C |\n| `mcdle.\u6392\u884C\u699C` | \u67E5\u770B\u672C\u7FA4\u6218\u7EE9 |\n| `mcdle.\u8BCD\u5E93` | \u67E5\u770B\u5168\u90E8\u8BCD\u6761 |\n\n## \u63D0\u793A\n\n| \u7B26\u53F7 | \u542B\u4E49 |\n| --- | --- |\n| \uD83D\uDFE9 | \u5B8C\u5168\u5339\u914D |\n| \uD83D\uDFE8 | \u90E8\u5206\u5339\u914D |\n| \uD83D\uDFE5 | \u4E0D\u5339\u914D |\n| \uD83D\uDFE5\u2B06\uFE0F / \uD83D\uDFE5\u2B07\uFE0F | \u7B54\u6848\u66F4\u5927 / \u66F4\u5C0F |";
|
|
5
5
|
export declare const inject: {
|
|
6
6
|
required: string[];
|
|
7
7
|
optional: string[];
|
package/lib/index.js
CHANGED
|
@@ -19908,6 +19908,7 @@ var CHART_TYPE = { count: TYPE.titleLarge.size, percent: TYPE.bodyMedium.size, r
|
|
|
19908
19908
|
var LEGACY_CHART_SIZE = { 30: CHART_TYPE.count, 20: CHART_TYPE.percent, 22: CHART_TYPE.rank, 32: CHART_TYPE.title, 18: CHART_TYPE.meta, 9: SPACING.sm };
|
|
19909
19909
|
|
|
19910
19910
|
// src/view.ts
|
|
19911
|
+
var TS = { labelSmall: 13, bodySmall: 14, labelMedium: 14, bodyMedium: 15, labelLarge: 15, titleSmall: 16 };
|
|
19911
19912
|
var HUE = 138;
|
|
19912
19913
|
var SCHEME = scheme(HUE, true);
|
|
19913
19914
|
var accentOf = /* @__PURE__ */ __name((hue) => lch(80, 46, hue), "accentOf");
|
|
@@ -20438,10 +20439,10 @@ html,body{background:transparent}
|
|
|
20438
20439
|
.brand .mark{color:var(--accent)}
|
|
20439
20440
|
.brand .word{font-size:${TYPE.headlineMedium.size}px;font-weight:${EMPHASIZED_WEIGHT.headline};letter-spacing:.18em;line-height:1}
|
|
20440
20441
|
.brand .word b{color:var(--accent);font-weight:${EMPHASIZED_WEIGHT.headline}}
|
|
20441
|
-
.hd .sub{margin-top:8px;font-size:${
|
|
20442
|
+
.hd .sub{margin-top:8px;font-size:${TS.bodySmall}px;letter-spacing:.05em;color:var(--md-sys-color-on-surface-variant)}
|
|
20442
20443
|
.hd-meta{text-align:right;flex:none}
|
|
20443
20444
|
.hd-meta .big{font-family:${NUM_FONT};font-size:${TYPE.headlineMedium.size}px;font-weight:${EMPHASIZED_WEIGHT.headline};color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
|
|
20444
|
-
.hd-meta .cap{font-size:${
|
|
20445
|
+
.hd-meta .cap{font-size:${TS.labelSmall}px;letter-spacing:.1em;color:var(--md-sys-color-on-surface-variant);margin-top:6px}
|
|
20445
20446
|
|
|
20446
20447
|
/* 模式徽记:药丸形。底色是每模式各自的 accent(同一套色调板上的色调 80),
|
|
20447
20448
|
不是主题容器色,m3-chip 没有对应档位 */
|
|
@@ -20449,7 +20450,7 @@ html,body{background:transparent}
|
|
|
20449
20450
|
display:inline-flex;align-items:center;gap:7px;padding:6px 14px;
|
|
20450
20451
|
border-radius:var(--md-sys-shape-corner-full);
|
|
20451
20452
|
background:var(--accent);color:var(--md-sys-color-surface);
|
|
20452
|
-
font-size:${
|
|
20453
|
+
font-size:${TS.labelMedium}px;letter-spacing:.06em;font-weight:${EMPHASIZED_WEIGHT.label};
|
|
20453
20454
|
}
|
|
20454
20455
|
|
|
20455
20456
|
/* ── 猜测板 ───────────────────────────────────────── */
|
|
@@ -20457,7 +20458,7 @@ table{border-collapse:separate;border-spacing:6px;margin:0 -6px}
|
|
|
20457
20458
|
th{padding:0 0 8px;vertical-align:bottom}
|
|
20458
20459
|
.col{display:flex;flex-direction:column;align-items:center;gap:6px;
|
|
20459
20460
|
min-width:80px;max-width:132px;color:var(--md-sys-color-on-surface-variant)}
|
|
20460
|
-
.col .lb{font-size:${
|
|
20461
|
+
.col .lb{font-size:${TS.labelSmall}px;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant);
|
|
20461
20462
|
text-align:center;line-height:1.25;font-weight:${EMPHASIZED_WEIGHT.label}}
|
|
20462
20463
|
th.n .col{align-items:flex-start;min-width:150px}
|
|
20463
20464
|
|
|
@@ -20473,11 +20474,11 @@ td{padding:0}
|
|
|
20473
20474
|
/* 多标签字段给更宽的上限,否则一列里会折成很高的一坨 */
|
|
20474
20475
|
.tile.list{max-width:168px}
|
|
20475
20476
|
th.list .col{max-width:168px}
|
|
20476
|
-
.tile .v{font-size:${
|
|
20477
|
+
.tile .v{font-size:${TS.titleSmall}px;font-weight:${EMPHASIZED_WEIGHT.title};line-height:1.35;text-align:center;
|
|
20477
20478
|
color:${INK};word-break:break-word}
|
|
20478
20479
|
.tile .chips{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
|
|
20479
20480
|
.chip{
|
|
20480
|
-
font-size:${
|
|
20481
|
+
font-size:${TS.labelSmall}px;line-height:1.35;padding:2px 8px;
|
|
20481
20482
|
border-radius:var(--md-sys-shape-corner-full);
|
|
20482
20483
|
color:${INK};background:color-mix(in srgb, var(--md-sys-color-scrim) 24%, transparent);
|
|
20483
20484
|
}
|
|
@@ -20516,11 +20517,11 @@ th.list .col{max-width:168px}
|
|
|
20516
20517
|
.thumb.failed .fb{display:block}
|
|
20517
20518
|
.name .txt{min-width:0}
|
|
20518
20519
|
.name .cn{font-size:${TYPE.titleMedium.size}px;font-weight:${EMPHASIZED_WEIGHT.title};line-height:1.25}
|
|
20519
|
-
.name .en{font-size:${
|
|
20520
|
+
.name .en{font-size:${TS.labelSmall}px;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant);margin-top:3px;
|
|
20520
20521
|
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
|
|
20521
20522
|
.name.correct .cn,.name.correct .en,.name.correct .no{color:${INK}}
|
|
20522
20523
|
.name.correct .en,.name.correct .no{opacity:.78}
|
|
20523
|
-
.name .no{font-family:${NUM_FONT};font-size:${
|
|
20524
|
+
.name .no{font-family:${NUM_FONT};font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);margin-top:3px}
|
|
20524
20525
|
|
|
20525
20526
|
/* 最新一行的强调:外圈一圈 2px 描边 + 行首的圆头标记。
|
|
20526
20527
|
这是高亮环不是层高,所以用 outline 而不是 box-shadow */
|
|
@@ -20539,7 +20540,7 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20539
20540
|
background:var(--md-sys-color-surface-container-highest);
|
|
20540
20541
|
}
|
|
20541
20542
|
.prog .fill{height:100%;border-radius:var(--md-sys-shape-corner-full);background:var(--accent)}
|
|
20542
|
-
.prog .num{font-family:${NUM_FONT};font-size:${
|
|
20543
|
+
.prog .num{font-family:${NUM_FONT};font-size:${TS.labelMedium}px;color:var(--md-sys-color-on-surface-variant);letter-spacing:.04em;flex:none;
|
|
20543
20544
|
font-variant-numeric:tabular-nums}
|
|
20544
20545
|
|
|
20545
20546
|
/* ── 图例 / 页脚 ──────────────────────────────────── */
|
|
@@ -20551,15 +20552,15 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20551
20552
|
.lg{
|
|
20552
20553
|
display:flex;align-items:center;gap:6px;padding:5px 12px;
|
|
20553
20554
|
border-radius:var(--md-sys-shape-corner-full);
|
|
20554
|
-
font-size:${
|
|
20555
|
+
font-size:${TS.labelSmall}px;color:${INK};background:var(--tile);
|
|
20555
20556
|
}
|
|
20556
20557
|
.lg.s-none{color:var(--md-sys-color-on-surface-variant)}
|
|
20557
|
-
.tip{margin-left:auto;font-size:${
|
|
20558
|
+
.tip{margin-left:auto;font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);letter-spacing:.02em}
|
|
20558
20559
|
|
|
20559
20560
|
/* ── 通用区块 ─────────────────────────────────────── */
|
|
20560
20561
|
.sec{margin-top:22px}
|
|
20561
20562
|
.sec:first-child{margin-top:0}
|
|
20562
|
-
.sec-t{display:flex;align-items:center;gap:10px;font-size:${
|
|
20563
|
+
.sec-t{display:flex;align-items:center;gap:10px;font-size:${TS.labelMedium}px;letter-spacing:.1em;
|
|
20563
20564
|
font-weight:${EMPHASIZED_WEIGHT.label};color:var(--md-sys-color-on-surface-variant);margin-bottom:12px}
|
|
20564
20565
|
.sec-t::after{content:"";flex:1;height:1px;background:var(--md-sys-color-outline-variant)}
|
|
20565
20566
|
.panel{
|
|
@@ -20568,10 +20569,10 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20568
20569
|
background:var(--md-sys-color-surface-container);
|
|
20569
20570
|
}
|
|
20570
20571
|
.rows{display:flex;flex-direction:column;gap:9px}
|
|
20571
|
-
.row{display:flex;align-items:center;gap:10px;font-size:${
|
|
20572
|
+
.row{display:flex;align-items:center;gap:10px;font-size:${TS.bodyMedium}px;
|
|
20572
20573
|
color:var(--md-sys-color-on-surface);line-height:1.5}
|
|
20573
20574
|
.row .k{color:var(--accent);flex:none;font-weight:${EMPHASIZED_WEIGHT.label}}
|
|
20574
|
-
.row .m{color:var(--md-sys-color-on-surface-variant);font-size:${
|
|
20575
|
+
.row .m{color:var(--md-sys-color-on-surface-variant);font-size:${TS.bodySmall}px}
|
|
20575
20576
|
.cmd{
|
|
20576
20577
|
font-weight:${EMPHASIZED_WEIGHT.label};color:var(--md-sys-color-on-surface);
|
|
20577
20578
|
background:var(--md-sys-color-surface-container-highest);
|
|
@@ -20585,8 +20586,8 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20585
20586
|
background:var(--md-sys-color-surface-container);
|
|
20586
20587
|
}
|
|
20587
20588
|
.mode-card .top{display:flex;align-items:center;gap:9px;font-size:${TYPE.titleMedium.size}px;font-weight:${EMPHASIZED_WEIGHT.title}}
|
|
20588
|
-
.mode-card .cnt{font-size:${
|
|
20589
|
-
.mode-card .tl{font-size:${
|
|
20589
|
+
.mode-card .cnt{font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);margin-top:8px;letter-spacing:.04em}
|
|
20590
|
+
.mode-card .tl{font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);margin-top:6px;line-height:1.5}
|
|
20590
20591
|
|
|
20591
20592
|
.attrs{display:flex;flex-wrap:wrap;gap:8px}
|
|
20592
20593
|
/* 配色与 m3-chip 的默认档(secondary-container)一致,但尺寸更小:
|
|
@@ -20594,7 +20595,7 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20594
20595
|
.attr{
|
|
20595
20596
|
display:flex;align-items:center;gap:7px;padding:7px 14px;
|
|
20596
20597
|
border-radius:var(--md-sys-shape-corner-full);
|
|
20597
|
-
font-size:${
|
|
20598
|
+
font-size:${TS.labelMedium}px;color:var(--md-sys-color-on-secondary-container);
|
|
20598
20599
|
background:var(--md-sys-color-secondary-container);
|
|
20599
20600
|
}
|
|
20600
20601
|
.attr .px{color:var(--accent)}
|
|
@@ -20615,7 +20616,7 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20615
20616
|
.reveal .big-thumb .fb{display:none;color:var(--md-sys-color-on-surface-variant)}
|
|
20616
20617
|
.reveal .big-thumb.failed .fb{display:block}
|
|
20617
20618
|
.reveal .cn{font-size:${TYPE.displaySmall.size}px;font-weight:${EMPHASIZED_WEIGHT.display};line-height:1.1}
|
|
20618
|
-
.reveal .en{font-size:${
|
|
20619
|
+
.reveal .en{font-size:${TS.bodySmall}px;letter-spacing:.1em;color:var(--md-sys-color-on-surface-variant);margin-top:10px}
|
|
20619
20620
|
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
|
|
20620
20621
|
.stat{
|
|
20621
20622
|
padding:13px 16px;
|
|
@@ -20623,7 +20624,7 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20623
20624
|
background:var(--md-sys-color-surface-container);
|
|
20624
20625
|
}
|
|
20625
20626
|
.stat .n{font-family:${NUM_FONT};font-size:${TYPE.titleLarge.size}px;font-weight:${EMPHASIZED_WEIGHT.title};color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
|
|
20626
|
-
.stat .c{font-size:${
|
|
20627
|
+
.stat .c{font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);margin-top:7px;letter-spacing:.06em}
|
|
20627
20628
|
|
|
20628
20629
|
/* ── 排行榜 ───────────────────────────────────────── */
|
|
20629
20630
|
/* 列用 m3-list、行用 m3-list-item:圆角(首尾项放大到 extraLarge)、容器色与
|
|
@@ -20636,16 +20637,16 @@ tr.fresh .name::before{content:"";position:absolute;left:0;top:14px;bottom:14px;
|
|
|
20636
20637
|
}
|
|
20637
20638
|
.rk.p1{outline:2px solid ${MEDAL.gold}}
|
|
20638
20639
|
.rk .who{flex:1;min-width:0}
|
|
20639
|
-
.rk .nm{font-size:${
|
|
20640
|
+
.rk .nm{font-size:${TS.titleSmall}px;font-weight:${EMPHASIZED_WEIGHT.title};white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
|
|
20640
20641
|
max-width:260px}
|
|
20641
20642
|
.rk .split{display:flex;gap:10px;margin-top:6px}
|
|
20642
|
-
.rk .sp{display:flex;align-items:center;gap:4px;font-size:${
|
|
20643
|
+
.rk .sp{display:flex;align-items:center;gap:4px;font-size:${TS.labelSmall}px;font-family:${NUM_FONT};color:var(--md-sys-color-on-surface-variant)}
|
|
20643
20644
|
.rk .tot{flex:none;text-align:right}
|
|
20644
20645
|
.rk .tot .n{font-family:${NUM_FONT};font-size:${TYPE.titleLarge.size}px;font-weight:${EMPHASIZED_WEIGHT.title};color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
|
|
20645
|
-
.rk .tot .c{font-size:${
|
|
20646
|
+
.rk .tot .c{font-size:${TS.labelSmall}px;color:var(--md-sys-color-on-surface-variant);margin-top:5px;letter-spacing:.06em}
|
|
20646
20647
|
|
|
20647
20648
|
.empty{padding:36px 20px;min-width:400px;text-align:center;
|
|
20648
|
-
color:var(--md-sys-color-on-surface-variant);font-size:${
|
|
20649
|
+
color:var(--md-sys-color-on-surface-variant);font-size:${TS.bodyMedium}px;line-height:2}
|
|
20649
20650
|
.empty .px{margin:0 auto 14px;color:var(--md-sys-color-on-surface-variant)}
|
|
20650
20651
|
`;
|
|
20651
20652
|
function shell(body, opts) {
|
|
@@ -20875,7 +20876,7 @@ var RANK_BADGE = ["m3-badge--gold", "m3-badge--silver", "m3-badge--bronze"];
|
|
|
20875
20876
|
function rankCard(entries, shown) {
|
|
20876
20877
|
if (!entries.length) {
|
|
20877
20878
|
const body2 = header(null, "排行榜", { big: "0", cap: "上榜人数" }) + `<div class="pad"><div class="empty">${px("trophy", 44)}
|
|
20878
|
-
排行榜还空着<br>第一个猜中的人,名字会写在这里。<br><span style="font-size:${
|
|
20879
|
+
排行榜还空着<br>第一个猜中的人,名字会写在这里。<br><span style="font-size:${TS.bodySmall}px">用 <span class="cmd">mcdle.猜 苦力怕</span> 开出第一局,成为榜首</span></div></div>`;
|
|
20879
20880
|
return shell(body2, { accent: accentOf(90), width: 560 });
|
|
20880
20881
|
}
|
|
20881
20882
|
const max = Math.max(...entries.map((e) => e.total), 1);
|
|
@@ -20903,17 +20904,17 @@ __name(rankCard, "rankCard");
|
|
|
20903
20904
|
var name = "mcdle";
|
|
20904
20905
|
var usage = `## 使用
|
|
20905
20906
|
|
|
20906
|
-
发送 \`mcdle\` 查看玩法与全部指令。\`mcdle.猜 [名称]\`
|
|
20907
|
+
发送 \`mcdle\` 查看玩法与全部指令。\`mcdle.猜 [名称]\` 开局或提交猜测。首次猜测的词条决定题目类型。
|
|
20907
20908
|
|
|
20908
20909
|
## 指令
|
|
20909
20910
|
|
|
20910
20911
|
| 指令 | 说明 |
|
|
20911
20912
|
| --- | --- |
|
|
20912
|
-
| \`mcdle\` |
|
|
20913
|
-
| \`mcdle.猜 [名称]\` |
|
|
20914
|
-
| \`mcdle.裸猜 [开/关]\` |
|
|
20915
|
-
| \`mcdle.排行榜\` |
|
|
20916
|
-
| \`mcdle.词库\` |
|
|
20913
|
+
| \`mcdle\` | 查看玩法与指令 |
|
|
20914
|
+
| \`mcdle.猜 [名称]\` | 开局或提交猜测 |
|
|
20915
|
+
| \`mcdle.裸猜 [开/关]\` | 切换本频道无前缀续猜 |
|
|
20916
|
+
| \`mcdle.排行榜\` | 查看本群战绩 |
|
|
20917
|
+
| \`mcdle.词库\` | 查看全部词条 |
|
|
20917
20918
|
|
|
20918
20919
|
## 提示
|
|
20919
20920
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-mcdle",
|
|
3
|
-
"description": "Koishi
|
|
4
|
-
"version": "0.7.
|
|
3
|
+
"description": "Koishi 插件:玩《我的世界》猜谜,凭属性提示从生物、物品、方块中锁定唯一答案。",
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|