Welcome to the EnchantmentLimit plugin! This plugin allows you to set limits on enchantment levels for items in Minecraft. It also provides commands to bypass these limits for specific items.
- Enchantment Level Limits: Set maximum levels for different enchantments.
- Bypass Command: Allow players to bypass enchantment limits for specific items.
- Localization: Customizable messages for different events.
- Event Handling: Monitors various events to enforce enchantment limits.
/enchantmentlimit reload
- Reload the plugin configuration./enchantmentlimit bypass
- Toggle bypass mode for the item in your main hand.
enchantmentlimit.reload
- Permission to reload the plugin configuration.enchantmentlimit.bypass
- Permission to bypass enchantment limits.
- Download the plugin jar file.
- Place the jar file in your server's
plugins
directory. - Start or restart your server.
The plugin generates a default configuration file on first run. You can edit this file to set custom enchantment limits and messages.
# Example configuration
enchantments:
minecraft:sharpness: 5
minecraft:protection: 4
# Following omission
messages:
limitExceeded: "&cYou have exceeded the enchantment limit!"
configReloaded: "&aEnchantmentLimit configuration reloaded."
noPermission: "&cYou do not have permission to execute this command."
bypassEnabled: "&aBypass enabled for this item."
bypassDisabled: "&cBypass disabled for this item."
settings:
enableMessages: true
The plugin listens to various events to enforce enchantment limits:
- EnchantItemEvent
- PrepareAnvilEvent
- InventoryClickEvent
- InventoryDragEvent
- InventoryMoveItemEvent
- InventoryOpenEvent
- InventoryCloseEvent
- PlayerInteractEvent
- EntityPickupItemEvent
- InventoryPickupItemEvent
If you have any questions or need support, feel free to join our community!
This project is licensed under the MIT License. See the LICENSE file for details.