Enchantment Level Limit

「Enchantment with measure, edge with boundary」

The /enchantlimit command sets a maximum level cap for a given enchantment. No matter how an enchantment level is set or read — via enchanting table, anvil, mod bonus, or plugin command — the final effective level is clamped within the cap.

Basic usage:

/enchantlimit [add|list|remove]

Permission:

youer.command.enchantlimit

This is a persistent command that is always registered and not controlled by commands.yml. See commands.yml.

Rule storage:

Rules are stored in youer-config/enchantlimit.yml:

yaml

Enchantments not listed in limits are not restricted in any way.

Set an enchantment cap

/enchantlimit add <enchantment> <level>

  • The enchantment uses its registry key (e.g. minecraft:sharpness); Tab autocompletes (including mod enchantments)
  • The level is a positive integer (1 or above)

View the limit list

/enchantlimit list Lists all configured enchantments and their level caps.

Remove a limit

/enchantlimit remove <enchantment> After removal, the enchantment returns to having no level cap.

❓ FAQ

  • Q: Do I need to restart after changing the command?
  • A: No. The command writes to the config and refreshes the cache immediately; it takes effect at once.
  • Q: How does the cap relate to the vanilla 255-level limit?
  • A: The vanilla 255-level limit is always kept. The cap set by this feature takes effect as the lower of the two values.
© 2019-2026 MohistMCUnofficial Minecraft product. Not approved by or associated with Mojang or Microsoft.