MonitoringMinecraft MonitoringMinecraft

MaxEnchant

Плагин BukkitPaperPurpur

Плагин для Майнкрафт, автоматически зачаровывающий предметы до максимального уровня.

373 скачивания 0 подписчиков
Оцените первым

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

  1. Build the plugin (Gradle/Maven or use the provided JAR in build/libs).
  2. Place the produced MaxEnchants-<version>.jar into your server's plugins/ folder.
  3. 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 (or gradlew.bat build on Windows)

Troubleshooting

  • If the command does nothing, verify you have maxenchant.use permission 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.)

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1503 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
5 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
Battle Mine
Battle Mine Java + BE
7 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
F19T
F19T Java
0 онлайн
1.16.5 версия
F19T - Выкован в огне.Закален хаосом.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат