Back to all plugins
Minecraft plugin

LevelCap

No More "Too Expensive!"

LevelCap is a Paper plugin that removes the vanilla anvil "Too Expensive!" restriction without bypassing normal item and enchantment rules. It does not create enchanted items itself and keeps vanilla's enchantment compatibility checks, it only changes what the anvil costs.

Choose between capping every anvil operation at a fixed level price, or charging the full vanilla price while still showing the vanilla client a price it can handle.

Key Features

  • CAPPED mode: anvil costs never exceed max-level-cost (1-39) for vanilla Java clients
  • UNLIMITED mode: keeps the full vanilla level price, shows at most 39 levels in the client and charges the difference separately
  • Optional chat and action bar messages that show the real price, even above 39 levels
  • Warns players when they cannot afford the actual price
  • English and German translations, per-player language detection and custom YAML translations
  • Diagnostics with /levelcap debug and /levelcap inspect <player>
  • Refunds the surcharge if another plugin cancels the action or vanilla does not complete the charge
  • Built on public Bukkit/Paper APIs only

How It Works

  • Put items into an anvil as usual; LevelCap recalculates the price the client sees
  • In CAPPED mode with a cap of 39, a combination that would cost 75 levels costs 39 levels in total
  • In UNLIMITED mode the same combination shows 39 in the anvil, LevelCap checks that you have 75 levels, reserves 36 and vanilla charges the remaining 39
  • The real price is announced in chat and, if enabled, in the action bar
  • Very fast extra inventory clicks are blocked while a payment is pending

Commands

  • /levelcap - Show the current mode
  • /levelcap reload - Reload the configuration and translations (open anvils are closed so prices are recalculated)
  • /levelcap inspect <player> - Show a player's anvil input, result, actual and visible price and permission state
  • /levelcap debug - Print a diagnostic of the next anvil you open within 10 seconds

Permissions

  • levelcap.use - Use the configured anvil cost policy (default: everyone)
  • levelcap.free - Pay zero levels, items and materials are still consumed (default: nobody, not even operators)
  • levelcap.admin - Use the /levelcap commands (default: op)

Configuration

A fresh install uses CAPPED. Switch to UNLIMITED for full vanilla pricing above 39 levels.

# CAPPED or UNLIMITED
mode: CAPPED

# auto, en_US or de_DE
language: auto

max-level-cost: 39
chat-costs: true
actionbar-costs: true

Translations

  • language: auto picks a translation from each player's Minecraft language, for example de_AT uses de_DE.yml
  • Language files are generated in plugins/LevelCap/lang/ and can be edited, then reloaded with /levelcap reload
  • Add a language by copying en_US.yml to a new file such as fr_FR.yml; missing keys fall back to English

Good to Know

  • Vanilla Java clients cannot reliably show or take results priced at 40 levels or more, which is why the visible price stays at 39
  • Other anvil or XP plugins can interfere with the transaction detection
  • Bedrock/Geyser clients have not been validated

Documentation

For build instructions and all translation keys, see the documentation.