↔️Item Slot Settings
All item slot settings are saved in item_slot_settings
folder, an example file is here:
This feature allows you to set the number of default slots and max slots for matching items. If the item matches, it will be automatically added to the enchantment slot. Please note that this process is not instantaneous and requires interaction between the player and the item. In most survival modes, obtaining the item will be automatically detected. If not, it can be interacted with once.
Auto Add Lore
If enabled, even if the item has not been set slot due to not being interacted with yet, we will still calculate its default slot value and add enchantment slot lore. This process will consume a certain amount of server performance.
Set slot represents writing a special NBT to the player's item to record how many enchanted slots the item currently has. You can set when to execute set slots through set-slots-trigger
section at config.yml
file.
Match Item
Which item will use this item slot settings, should use Match Item Format. In this example, material
is just a rule type in Match Item Format, you can choose delete it, and select other rule here. You are allow to use unlimited match item rules here. For example:
Default Slots
The default-slots
section determines the default slot quantity for all items.
Among them, default
represents the default quantity, while the other options are the condition IDs in the slot-conditions
section. Players who meet the corresponding conditions will use the value after the corresponding condition ID. We will ultimately take the highest value.
For now, if you want to set different defult slots for different items, you have to create new item slot settings config and then use another match item rule configs to match different items and then set different default slot values.
Max Slots
Players can use Extra slot items to increase the enchantment slots of items, but this is not infinite. The max-slots
section determines the maximum number of items that can be expanded through Extra slot items.
Slot Conditions
You can set countless condition groups here, and each condition ID can be used in the options above. Players who meet specific conditions can use values different from the default
option. Use Condition Format in each condition group section.
Last updated