Netherite Anvils
Craft unbreakable Netherite Anvils which remove that annoying "Too Expensive" message, with permissions and configurable max repair cost.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Netherite Anvils
Netherite Anvil
> NOTE: > This is my first plugin, hence the limited version support. Feel free to submit any issues on the GitHub issues page
Dependencies: 1.21.11 Dependencies: Paper 1.21.11-R0.1-SNAPSHOT Dependencies: Dependencies:
Netherite Anvil is a Paper Minecraft plugin that introduces a new, unbreakable Netherite Anvil with enhanced features, replacing the standard anvil mechanics.
---
Features
- Unlimited Repair Cost: Removes the vanilla anvil level cap (39) and bypasses the "Too Expensive" message for items crafted with Netherite Anvils. We utlize some packet magic to allow vanilla clients to correctly render the levels above 39. If the repair cost exceeds the players level or the configured max repair cost, we fall back to vanilla behavior and display the "Too Expensive" message.
- Unbreakable Anvils: Netherite Anvils never crack, chip, or break from usage, falling, or explosions.
- Netherite Ingots Crafted using Netherite Ingots and Netherite Ingots instead of Iron. The recipe is fully configurable.
- XP Cost Enforcement: Configurable max repair cost. Items above this threshold will display the standard "Too Expensive" message.
- Permissions Support: Optional per-player permission checks for crafting and using Netherite Anvils. Can be toggled via config.
- Admin Commands: - `/netheriteanvil max` — Display the current max repair level. - `/netheriteanvil setmax <level>` — Set a new max repair level (1–32767). - `/netheriteanvil togglecrafting` — Enable/disable permission checks for crafting. - `/netheriteanvil toggleusing` — Enable/disable permission checks for using anvils.
- Persistent Tracking: All placed Netherite Anvils are tracked to maintain functionality across server restarts, even if moved or destroyed.
- PacketEvents Integration: Utilizes PacketEvents to handle client-side XP level display correctly, bypassing the vanilla level cap while keeping XP tracking accurate.
---
Configuration (`config.yml`)
```yaml max-repair-cost: 500 permissions: check-crafting: true check-using: true ```
TO-DO's
- Configurable Crafting Recipe: The anvil GUI displays the title Configurable Crafting Recipe: instead of the vanilla "Repair and Rename." - Configurable Crafting Recipe: - Configurable Crafting Recipe: Allow the crafting recipe to be configured. Currently the plugin just uses netherite blocks and ingot. ```yaml crafting-recipe: enabled: true shape: - "BBB" - " N " - "NNN" ingredients: N: NETHERITE_INGOT B: NETHERITE_BLOCK