For Developers: Interactions With Other Plugins
This plugin checks for an item's lore ChatColor.GOLD + "Effects:"
Then if a custom item's description (lore) includes an effect then a number, this plugin will automatically apply effects even if /aieadd command was not used on an item.
Example: This plugin will automatically apply Night Vision effect to that stone sword.
ItemStack item = new ItemStack(Material.STONE_SWORD); ItemMeta itemMeta = item.getItemMeta(); List<String> lore = Arrays.asList(ChatColor.GOLD + "Effects:", " " + ChatColor.BLACK + "Night_Vision" + ChatColor.WHITE + " 1"); itemMeta.setLore(lore); item.setItemMeta(itemMeta);