From b095cd531618291e8514b6bdda58473bb2a46bde Mon Sep 17 00:00:00 2001 From: alexcrea Date: Wed, 23 Jul 2025 12:05:39 +0200 Subject: [PATCH] add config value for per item enchantment limit --- src/main/resources/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 0bad067..08aa964 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -270,6 +270,15 @@ disable-merge-over: # If uncommented. 2 unbreaking II book would not give an unbreaking III book. but unbreaking III book can still be applied #minecraft:unbreaking: 2 +# The maximum number of enchantment an item can get. -1 for infinity +# Use eco enchant enchant_limit if present by default unless "default" is not equal to -1 +enchantment_limit: + default: -1 + # Limit for specific items. example bellow is an example with stick + # Per item enchantment limit override eco enchant enchant_limit and default limit + items: + stick: -1 + # Settings for lore modification lore_edit: book_and_quil: