You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin's enchants.yml file allows you to customize the enchants themselves. Currently, you can only specify the max level of the enchant as well as what items players are allowed to put the enchants on. Here is an example of a properly configured enchant in the enchants.yml file:
Here, you can see we specify the name of the enchant as a configuration section, and inside that section make a list of the items and/or item tags the enchant can be applied on as well as specify the max level, in this case 5. These items, however, MUST be in the vanilla game, and cannot be custom items.
The item tags are specified in the tags.yml file. Any item tags you create in the tags.yml file can be used freely in your enchants.yml.
The plugin already comes with a pre-configured enchants.yml file that copies vanilla behavior.
It is also important to note that if you want to specify a recipe in the materials.yml file for an enchant, you MUST put that enchant in the enchants.yml file.