Sueta
EN

EnchantsAPI

v0.3-STABLE

An enchantments api for servers that use custom enchant plugins such as EE or AE

·Plugin
  1. v0.3-STABLElatestFixed a few issues & changed lore get methodJun 29, 2020
    I have changed the way the API gets the lore off of the ItemStack that utilises substrings and indexes so it works for any enchant lore you throw at it. Unlike the old version where it was quite easy to bug it out and cause unusual errors. Also added a try & catch for StringIndexOutOfBoundsException in order to stop throwing errors if the enchantment parameter is compared with another lore that is not of the same format as an enchant would be. Utilising the same method for enchantment lore in v0.3-STABLE to get the enchantment level.
    1 download
  2. v0.2-BETAFixed a issueJun 27, 2020
    Changed .contains() method in EnchantsAPI to .equals() as it could conflict with enchants. Example: Player has Paladin Armored enchantment but it would detect it as regular Armored
    5 downloads
  3. v0.1-BETAJun 27, 2020
    10 downloads

Similar projects

Plugin →