FixVanillaEnchantments
自动修复非法附魔 —— 无卡顿,无需手动命令。
是否曾发现一把拥有 Sharpness X(锋利 X) 的剑?一套穿戴着 多个互斥保护附魔 的盔甲?或者一件携带了它本不该拥有的附魔的物品?
无论是由于旧漏洞、配置错误的插件,还是从其他服务器导入的物品,非法附魔最终都可能混入你的经济系统中。
FixVanillaEnchantments 会在它们出现时立即检测并修正。
无需人工检查。无需重复的管理员命令。只留下干净且兼容原版规则的物品。
特性
命令与权限
| 命令 |
权限 |
默认值 |
描述 |
/fixmyitems |
fixvanillaenchants.use |
所有人 |
修复发送者自己的背包 |
/fixenchants-reload |
fixvanillaenchants.reload |
OP |
重新加载配置文件和语言文件 |
别名:
/fixme
/fixitems
/fereload
示例
一个非法物品进入服务器:
Diamond Sword
Sharpness X
FixVanillaEnchantments 检测到该无效附魔,并自动应用配置的等级上限:
Sharpness X → Sharpness V
修正结果可以报告给玩家,并记录在插件的日志中。
配置
所有内容均设计为可配置。
你可以控制:
- 每种附魔的最高等级
- 附魔兼容性
- 发生冲突时的优先级
- 自动修正触发器
- 玩家修正消息
- 日志记录
- 语言设置
- 以及更多
这允许你根据服务器需求,将 FixVanillaEnchantments 设置为严格模式或轻量模式。
要求
- Paper / Spigot 1.20+
- Java 17+
- 无外部依赖
FixVanillaEnchantments
Automatically fixes illegal enchantments — no lag, no manual commands.
Ever found a sword with Sharpness X? Full armor with multiple incompatible protection enchantments? Or an item carrying an enchantment it should never have?
Whether caused by an old exploit, a misconfigured plugin, or items imported from another server, illegal enchantments can eventually find their way into your economy.
FixVanillaEnchantments automatically detects and corrects them as soon as they appear.
No manual inspections. No repetitive admin commands. Just clean, vanilla-compatible items.
Features
-
Configurable enchantment level limits for every vanilla enchantment
-
Detects incompatible enchantments and resolves them automatically
- Sharpness + Smite
- Fortune + Silk Touch
- Protection + Fire Protection
- And more
-
Configurable priority system to decide which enchantment should be kept
-
Removes invalid enchantments from items that cannot normally receive them
- Example: Aqua Affinity on a sword
-
Scans Shulker Boxes, including the items stored inside them
-
Scans containers when they are closed:
- Chests
- Barrels
- Ender Chests
- Dispensers
- Droppers
-
Automatic protection triggers:
- Player join
- Inventory clicks
- Inventory drag
- Picking up items
- Hotbar switching
- Offhand swapping
- Inventory closing
-
/fixmyitems allows players to manually scan and fix their own inventory
-
Detailed correction messages showing exactly what changed
Sharpness X → Sharpness V
Silk Touch → removed
-
Fully translatable
- English included
- Spanish included
- All messages are configurable through language files
-
Asynchronous correction logging
- Logs are written asynchronously to minimize impact on server performance
-
Individually configurable triggers and messages
- Enable or disable each behavior independently
Commands & Permissions
| Command |
Permission |
Default |
Description |
/fixmyitems |
fixvanillaenchants.use |
Everyone |
Fixes the sender's own inventory |
/fixenchants-reload |
fixvanillaenchants.reload |
OP |
Reloads configuration and language files |
Aliases:
/fixme
/fixitems
/fereload
Example
An illegal item enters the server:
Diamond Sword
Sharpness X
FixVanillaEnchantments detects the invalid enchantment and automatically applies the configured limit:
Sharpness X → Sharpness V
The correction can also be reported to the player and recorded in the plugin's log.
Configuration
Everything is designed to be configurable.
You can control:
- Maximum level for each enchantment
- Enchantment compatibility
- Priority when conflicts occur
- Automatic correction triggers
- Player correction messages
- Logging
- Language
- And more
This allows you to make FixVanillaEnchantments as strict or as lightweight as your server requires.
Requirements
- Paper / Spigot 1.20+
- Java 17+
- No external dependencies
评论 0
登录后参与评分
还没有评论,来抢沙发吧