NoSpearEnchant

❌ Blocks the Enchantments of the Spear

6

Quick challenge

How far can you run before the mobs catch you?

NoSpearEnchant

NoSpearEnchant

[![Paper](https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/supported/paper_vector.svg)](https://papermc.io/) [![Purpur](https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/supported/purpur_vector.svg)](https://purpurmc.org/)

**Prevent spears from being enchanted and clear existing enchantments!** ⚔️✨
How to install

Setup a free Minecraft server BoxToPlay - Free server

Install the plugin software on your server - PaperMC

Download NoSpearEnchant and place it in your plugins/ folder

Restart your server and enjoy! 🎉

---

✨ Features

  • ⚔️ Block Enchanting: Prevent all maces from being enchanted via table or anvil
  • 🧹 Auto Clear: Remove all existing enchantments on spears when enabled
  • 🖥️ Dynamic Reload: Changes to config.yml are applied automatically without restarting the server
  • 👤 Player Join Scan: Automatically clears spears in inventory of players joining after plugin start
  • 📋 Fully Configurable: Enable/disable auto-clear via config.yml
  • Lightweight: Minimal performance impact
---

🎮 How it works

🔒 Preventing Enchants

  1. ✅ Players cannot enchant a spear at a table or with an anvil
  2. ✅ Any enchantments applied are automatically removed
  3. 🔄 Works instantly for all online players

🧹 Clearing Existing Enchants

  1. ✅ Automatically clears enchantments from spears in inventories of online players when plugin starts (if enabled)
  2. ✅ Clears spears of players joining later
  3. ⚡ Optional: Can be triggered via config reload or command
---

⚙️ Configuration

Customize behavior in config.yml:

Default Settings
# Clear existing spears on startup and player join
clear-existing-spear-enchants: true
---

🎯 Use Cases

  • ⚔️ Prevent overpowered enchanted spear on PvP servers
  • 🛡️ Keep balance in minigames and arenas
  • 🎮 Admins can ensure fair play without banning items
---

📊 Requirements

  • Minecraft: 26.1+ (Paper/Purpur/Spigot)
  • Java: 17+
  • Dependencies: None!
---

🐛 Support & Issues

Found a bug? Have a suggestion?

  • 📝 Open an issue on GitHub
  • 💬 Join our Discord community
---
Made with ❤️ for the Minecraft community

Keep your maces fair! ⚔️

ADS