MaxEnchant
A lightweight Minecraft Bukkit/Spigot plugin that applies the highest survival-obtainable (vanilla) enchantments to items.
Description
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).
Features
- Apply maximum survival-obtainable enchantments to the item in your main hand.
- Apply max enchantments to the entire player inventory (including armor and offhand) with a single command.
- Respects vanilla enchantment conflicts and excludes curses (Binding & Vanishing).
- Preference order for mutually exclusive enchantments (configured in code).
- Tab-completion for the inventory argument (
inv). - Colorized messages with hex color support for modern server versions.
Commands
/maxenchant(aliases:/maxench,/enchantmax)- No args: enchants the item in your main hand.
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.
Permissions
maxenchant.use— required to run the command (default: op).
Installation
- Build the plugin (Gradle/Maven or use the provided JAR in
build/libs). - Place the produced
MaxEnchants-<version>.jarinto your server'splugins/folder. - Start or restart the server.
Plugin main class and command are declared in plugin.yml:
- main:
vadlox.dev.maxEnchants.MaxEnchants - api-version:
1.19
Configuration
All preferences for conflict resolution are defined in code (the getPreferenceOrder() method). If you want different priority rules, edit that method and recompile.
Development
- Java 17+ recommended depending on your server build.
- The project uses the Bukkit/Spigot API.
Building with Gradle (example):
./gradlew build(orgradlew.bat buildon Windows)
Troubleshooting
- If the command does nothing, verify you have
maxenchant.usepermission or are OP. - If enchantments are not applied to certain items, they may not be compatible with those enchantments according to vanilla rules.
Contributing
Pull requests and issues are welcome. Adjust preference ordering or improve compatibility handling as needed.
License
Include your preferred license in this file or in a separate LICENSE file. (No license is specified by default.)
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta