EnchantLimiter
EnchantLimiter 是一款灵活的 Minecraft 插件,允许你在服务器上限制或禁止附魔,并支持基于世界的特定规则。控制哪些附魔被允许、设置最大等级,或者直接将其完全禁用。
功能
- 限制附魔等级: 为任意附魔设置最大等级。
- 完全禁用附魔: 设置
max-enchant: 0 即可彻底移除某项附魔。
- 世界专属规则: 将附魔限制在特定世界中,或通过
all 全局应用。
- 自动执行: 玩家加入时检查其物品栏,并自动进行调整。
快速开始
-
下载插件 JAR 文件并将其放入服务器的 plugins 文件夹中。
-
启动服务器 以生成默认配置文件。
-
打开 banned-enchantments.yml 并定义你的附魔限制。
-
无需重启即可应用更改: 运行以下命令:
/enchantlimiter-rlc
这将立即重新加载插件的配置。
配置示例
limited-enchants:
fire_aspect:
max-enchant: 0 # 完全禁用火焰附加
limit-in-world: all # 适用于所有世界
sharpness:
max-enchant: 3 # 将锋利度限制为 3 级
limit-in-world: world_nether # 仅在下界中限制
工作原理
- 当玩家加入时,插件会扫描其物品栏。
- 任何被禁用的附魔(
max-enchant: 0)都会被移除。
- 超过最大等级的附魔会自动降低至合规等级。
- 尊重世界特定的限制规则。
注意事项
-
max-enchant: 0 表示彻底移除该附魔。
-
limit-in-world 可以是单个世界名称,或使用 all 以在所有世界中应用限制。
-
插件会在玩家加入时自动运行,以确保所有物品栏符合规则。
-
随时使用以下命令重新加载配置:
/enchantlimiter-rlc
全面掌控你服务器的附魔规则,并按世界进行自定义!
EnchantLimiter
EnchantLimiter is a flexible Minecraft plugin that allows you to limit or ban enchantments on your server, with support for world-specific rules. Control which enchantments are allowed, set maximum levels, or ban them entirely.
Features
- Limit enchantment levels: Set a maximum level for any enchantment.
- Ban enchantments completely: Set
max-enchant: 0 to remove an enchantment entirely.
- World-specific rules: Restrict enchantments to certain worlds, or apply globally with
all.
- Automatic enforcement: Player inventories are checked on join and adjusted automatically.
Quick Start
-
Download the plugin JAR file and place it in your server’s plugins folder.
-
Start the server to generate the default configuration files.
-
Open banned-enchantments.yml and define your enchantment limits.
-
Apply changes without restarting: Run the command:
/enchantlimiter-rlc
This reloads the plugin’s configuration instantly.
Configuration Example
limited-enchants:
fire_aspect:
max-enchant: 0 # Bans Fire Aspect completely
limit-in-world: all # Applies in all worlds
sharpness:
max-enchant: 3 # Limits Sharpness to level 3
limit-in-world: world_nether # Only limits in the Nether
How it works
- When a player joins, the plugin scans their inventory.
- Any banned enchantments (
max-enchant: 0) are removed.
- Enchantments exceeding the maximum level are reduced automatically.
- World-specific restrictions are respected.
Notes
-
max-enchant: 0 removes the enchantment entirely.
-
limit-in-world can be a single world name or all to apply restrictions everywhere.
-
Works automatically on player join to ensure all inventories comply with the rules.
-
Reload configuration at any time using:
/enchantlimiter-rlc
Take full control of your server’s enchantments and customize per world!
评论 0
登录后参与评分
还没有评论,来抢沙发吧