AntiEnchants - Keep your SMP balanced! icon

AntiEnchants - Keep your SMP balanced! -----

Stop enchants like mending from breaking your server's economy and progression.




Test before you trust. Changing enchantment rules on a live server used to be a leap of faith — add a ban, reload, find out from your players what it actually did. Not anymore.

Dry-run mode
dry-run: true switches the plugin to observe-only: it logs what it would strip or cap (console + strips.log) without touching a single item. Everything stands down — tables, anvils, grindstones, smithing tables, trades, mending all act vanilla while you watch. Preview the impact of a new ban before anyone loses anything. Impossible to leave on by accident: warning on startup/reload, banner in /ae list, and a reminder to admins on join.

/ae purge
Apply the rules NOW instead of waiting for each player's next join. /ae purge <player|all> cleans online inventories on demand, through the same pipeline as the automatic strips (bypass, messages, compensation, audit). With dry-run on it reports instead — an instant, zero-risk impact report of your current rules.

Also
  • Smithing table covered (block-at-smithing, on by default) — netherite upgrades carry every enchantment onto the result; that hole is now closed like the anvil and grindstone.
  • /ae check <player> — inspect another player's whole inventory (armour + offhand), works from console.

No breaking changes: drop the jar in, your old config keeps working. New options merge in automatically.
----------, Jun 12, 2026

The suggestion update. Everything asked for in the reviews is here — level caps, an item whitelist, compensation and per-rank bypasses — plus a few things that made sense to build alongside them.

Don't ban it — control it
Until now AntiEnchants had one answer for everything: delete it. Now you choose how hard to hit:
  • Level caps — put sharpness: 3 in level-caps and every Sharpness IV/V on the server quietly becomes Sharpness III. Applies everywhere the purge does.
  • Item whitelistexempt-items: [ "*_SWORD", "*_AXE", "BOW" ] and the plugin keeps its hands off weapons entirely. Wildcards supported.
  • Per-world rules — ban fortune in the resource world only, cap efficiency in the mining world only. Each world merges its own extras on top of the global rules.
  • Permission bypassesantienchants.bypass.mending for that donor rank or quest reward, antienchants.bypass.* for staff. Every node defaults to FALSE, so your ops don't skip the rules without you knowing.

Fewer "where did my enchant go?" tickets
  • Players get told — configurable messages when their items are stripped, capped or compensated. Leave them empty for the old silent behaviour.
  • Compensation (off by default) — stripped a banned enchant off someone's rare find? Hand them XP bottles, emeralds, whatever you configure, globally or per enchantment.
  • Audit log (off by default) — every strip lands in strips.log with when, who, where and what. The next "your plugin stole my sword" claim takes ten seconds to settle.
  • Blocked at the source — the enchanting table, anvil and grindstone now show clean results BEFORE the player pays, instead of charging first and purging afterwards.
  • No more dead books — an enchanted book that loses everything turns into a plain book instead of a useless empty one.

Admin tools
  • /ae list — what's banned and capped right now.
  • /ae check — point it at the item in your hand.
  • /ae add, /ae remove, /ae cap <key> <level|off> — edit the rules in-game; everything is written back to config.yml.

Housekeeping
  • Your config updates itself on startup: new options appear with their comments, your edited values stay untouched. The 1.0.0 upgrade path is covered by automated tests.
  • Villager trade blocking now also catches over-cap results, not just banned ones.
  • bStats added (anonymous; opt-out in plugins/bStats/config.yml).

No breaking changes: drop the jar in and your old config keeps working.
----------, Jun 10, 2026

AntiEnchants 1.0.0
Full rewrite of AntiMending. Now a general-purpose enchantment blocker.

Changed
  • No longer mending-only - configurable blocklist of any enchantment (vanilla or plugin).
  • Everything is config-gated; nothing hardcoded.
  • Cleaner internals: removed silent failure on registry lookup, fixed metadata.

Added
  • ban-all-curses toggle.
  • Loot and mob-drop stripping (new vectors).
  • Villager trade control: block book trades and/or banned-enchant results.
  • Per-world exclusions (disabled-worlds).
  • /antienchants reload for hot config reloads.
----------, Jun 9, 2026

Release Notes (v1.2.0)

  • Bumped Version to 1.2: Major code refactor for maximum stability.
  • Anvil Stability: Removed redundant anvil event handlers that were causing "stuck item" issues. The new universal cleaner handles anvil results much more reliably.
----------, May 7, 2026

Release Notes (v1.2.0)
The "Bulletproof" Update

  • Bumped Version to 1.2: Major code refactor for maximum stability.
  • Anvil Stability: Removed redundant anvil event handlers that were causing "stuck item" issues. The new universal cleaner handles anvil results much more reliably.
----------, May 4, 2026

What's new:

Bug Fixes & Improvements:
  • Fixed a major item duplication glitch (Creative Mode): Resolved an issue where moving Mending items in the inventory or using Creative mode could cause items to duplicate due to client-server desync.

    Optimized Inventory Handling: Changed the item-cleaning logic. The plugin now waits 1 tick after inventory clicks to process the items, making it 100% stable and fully compatible with Bukkit's internal inventory mechanics.

    Cursor Ghost-Item Fix: Fixed an edge case where players could hold a "ghost" Mending item in their cursor after interacting with chests or their own inventory
----------, May 4, 2026

Resource Information
Author:
----------
Total Downloads: 45
First Release: May 4, 2026
Last Update: Jun 12, 2026
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings