- 版权类型
- 原创
- 插件中文名称
- MythicItemUpdate
- 插件英文名称
- MythicItemUpdate
- 原帖地址
- #
- 支持的核心(服务端)
- Spigot
- Paper
- Purpur
- Leaves
- 语言支持
- 中文(简体)
- 前置组件
- MythicMobs
- 适配版本(Java)
- 26.x
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
核心功能
MythicMobs 物品自动更新
插件会给已启用更新功能的 MythicMobs 物品写入更新标记。当检测到玩家身上的物品 hash 与当前 MythicMobs 物品配置 hash 不一致时,会重新生成该物品,并覆盖玩家身上的旧物品。
物品名称、Lore、附魔、属性、NBT 等会同步为当前 MythicMobs 配置。
支持旧物品迁移
如果旧物品没有 MythicItemUpdate 标记,插件会尝试读取 MythicMobs 自带的物品标记。成功识别后,旧物品也可以参与后续自动更新。
支持保护指定 NBT
更新物品时,可以保护指定 NBT 路径,避免重要数据被覆盖。适合保护使用次数、自定义耐久、绑定数据、强化等级等信息。
支持保护指定 components组件
更新物品时,可以保护指定 components,避免重要数据被覆盖。MythicMobs 物品配置示例
在需要自动更新的 MythicMobs 物品中添加:
YAML:
测试更新剑:
Id: DIAMOND_SWORD
Display: '&6测试更新剑 &7[v1]'
Lore:
- '&7这是旧版 Lore26661123'
- '&f修改这里后执行 &a/mm reload &f测试更新'
Enchantments:
- DAMAGE_ALL:1
Options:
Unbreakable: true
HideFlags: true
update:
enable: true
notify: true
protect:
- custom.level
protect-components:
- minecraft:lore
NBT:
custom:
level: '10'
owner: 'HSerrorc'
插件配置示例
YAML:
# MythicItemUpdate 默认配置
#
# MythicMobs 物品内示例:
# options:
# update:
# enable: true
# protect:
# - custom.enchantLevel
# # 可选:保护 1.20.5+ 物品组件路径,按需填写
# protect-components:
# - minecraft:lore
item-check:
# 是否启用定时背包检查
enabled: true
# 检查间隔,单位 tick,20 tick = 1 秒
interval-ticks: 100
# 是否检查主背包
check-inventory: true
# 是否检查护甲栏
check-armor: true
# 是否检查副手
check-offhand: true
# 玩家上线时是否立即检查一次
update-on-join: false
messages:
prefix: "&8[&6MythicItemUpdate&8] "
reloaded: "&a插件配置已重载。"
mythicmobs-reloaded: "&a检测到 MythicMobs 已重载,正在检查在线玩家背包中的可更新物品。"
mythicmobs-missing: "&c未找到 MythicMobs,物品更新功能已禁用。"
item-updated: "&8[&6&l物品更新&8] &a已同步 &e%item% &7- &f物品已更新为 MythicMobs 当前配置。"
no-item: "&c请先手持一个物品。"
item-not-mythic: "&c这个物品不是已追踪的 MythicMobs 物品。"
item-no-update: "&e这个物品当前不需要更新。"
item-updated-admin: "&a已更新手中的物品。"
defaults:
# 全局默认保护的 NBT 路径
protect:
- charge
- maxCharge
- durability
- maxDurability
# 默认是否在物品更新后提示玩家
notify-player: true
命令
/mythicitemupdate reload 重载插件配置/mythicitemupdate updatehand 检查并更新手中物品
/mythicitemupdate updatehand force 强制更新手中物品
权限
mythicitemupdate.admin 允许使用管理命令,例如/mythicitemupdate reloadmythicitemupdate.notify 允许接收物品更新提示
获取更新与反馈
想获取插件最新版本、提交 Bug、反馈建议,欢迎加入 QQ 群:1103418625
群内可获取 MythicItemUpdate 的最新构建与更新动态
如果你在使用过程中遇到无法更新、版本不兼容、配置不生效等问题,也可以在群内反馈
群内还会分享一些服务器相关资源,例如 AP 脚本、插件配置思路以及其他实用内容