The basics of configuring EcoEnchants

Each enchantment has it's own config file. They are stored in `/enchants/<type>/<permissionname>.yml`

so for example Curse of Fragility would be stored in `/enchants/curse/fragilitycurse.yml`

The other config files are `lang.yml`

, where localisation for messages, vanilla enchantments, and colors are stored, and `config.yml`

, containing core config relating to rarity, enchanting tables, anvils, loot, display and more.

Table probability is the chance, as a percentage, of getting the enchantment from an enchanting table, Minimum Level is the minimum xp level you have to be to get the enchantment, Villager probability is the chance of a villager having this trade as a percentage. Vanilla default for all enchantments is 2.7%, however you can choose this per-rarity. Loot probability is the chance of an item in a loot chest having this enchantment as a percentage.

You can add more rarities by following the pattern.

Rarity names are never shown to the player and are completely arbitrary. They are only specified for internal use, such as setting the rarity of an enchantment.

common:table-probability: 30minimum-level: 1villager-probability: 10.5loot-probability: 12uncommon:table-probability: 20minimum-level: 5villager-probability: 9loot-probability: 16rare:table-probability: 20minimum-level: 15villager-probability: 7.5loot-probability: 18epic:table-probability: 10minimum-level: 16villager-probability: 6loot-probability: 20legendary:table-probability: 8minimum-level: 20villager-probability: 4.5loot-probability: 15special:table-probability: 2minimum-level: 30villager-probability: 3loot-probability: 5veryspecial:table-probability: 1minimum-level: 30villager-probability: 1.5loot-probability: 2

Colors are denoted using &{code}, such as &a. Other formatting features, such as bold, underline, etc are also supported.

Currently, 1.16 RGB colors are not supported.