配置说明
LyKit 的配置分为主配置和礼包配置两部分。
主配置
| 节点 | 说明 |
|---|---|
selected-enchant-enable | 自选物品选中后是否显示附魔光效。 |
selected-extra-lore | 自选物品选中后追加到 lore 的提示文本。 |
message.empty-slot | 背包空间不足时的提示。 |
message.no-select | 没有选择足够物品时的提示。 |
message.beyond-select | 选择数量超过限制时的提示。 |
message.success | 领取成功提示。 |
界面配置
gui 节点控制礼包界面展示:
| 节点 | 说明 |
|---|---|
title | 界面标题。 |
fill-item、fill-name | 填充物品材质和名称。 |
item-name-format | 奖励物品显示名称格式。 |
must-prompt-* | 必得区域提示物品。 |
random-prompt-* | 随机区域提示物品。 |
select-prompt-* | 自选区域提示物品。 |
button-* | 领取按钮的物品、名称和说明。 |
礼包配置
礼包文件位于 kit 目录。一个礼包配置通常包含:
| 节点 | 说明 |
|---|---|
id | 礼包唯一 ID。 |
match-item-name | 用于匹配礼包物品名称。 |
need-slot | 领取礼包所需背包空位。 |
title | 当前礼包界面标题。 |
must-item | 必得奖励列表。 |
random-item-amount | 随机奖励抽取数量。 |
random-item | 随机奖励池。 |
select-item-amount | 自选奖励可选择数量。 |
select-item | 自选奖励列表。 |
奖励来源
礼包奖励支持以下来源:
| 写法 | 说明 |
|---|---|
MM4 | MythicMobs 4 物品。 |
MM5 | MythicMobs 5 物品。 |
NI | NeigeItems 物品。 |
SI | SX-Item 物品。 |
give | 原版物品发放。 |
command | 执行指令作为奖励。 |