Automatically enchants your item to the possible max enchants.
A lightweight Minecraft Bukkit/Spigot plugin that applies the highest survival-obtainable (vanilla) enchantments to items.
MaxEnchant automatically adds all applicable positive enchantments to items while respecting vanilla compatibility and mutually exclusive enchantments. It excludes cursed enchantments and uses a preference order to resolve conflicts (for example, Sharpness vs Smite, Fortune vs Silk Touch).
inv)./maxenchant (aliases: /maxench, /enchantmax)inv: enchants all enchantable items in the player's inventory, armor, and offhand.Examples:
/maxenchant — max out enchantments for the held item./maxench inv — max out enchantments for the entire inventory.maxenchant.use — required to run the command (default: op).build/libs).MaxEnchants-<version>.jar into your server's plugins/ folder.Plugin main class and command are declared in plugin.yml:
vadlox.dev.maxEnchants.MaxEnchants1.19All preferences for conflict resolution are defined in code (the getPreferenceOrder() method). If you want different priority rules, edit that method and recompile.
Building with Gradle (example):
./gradlew build (or gradlew.bat build on Windows)maxenchant.use permission or are OP.Pull requests and issues are welcome. Adjust preference ordering or improve compatibility handling as needed.
Include your preferred license in this file or in a separate LICENSE file. (No license is specified by default.)