Check whether you have installed the packet listener plugin you set in config.yml. If yes, then please check whether that plugin is worked in your server.
Check whether you have other plugin also try to modify this item's lore. The best way to test this is delete all plugins except for EnchantmentSlots and your packet listener plugin.
Usually, that because you didn't put this item into item-can-be-enchanted section or didn't set a default slot value for it. Try hold the item in survival mode and use command /es setslots 5, if the lore display after that, this just because your config wrong.
Check your config file, your config.yml maybe has wrong format, try regenerate config file.
Don't drag item from creaative inventory, please keep your game mode into survival, and try use /give command, crafting and other ways to gain items.
There is auto-add-lore option in config.yml, if all of those above does not work for you, try to enable this option.
You should set enchantment name at the plugin config.yml's enchant-name section.
Use black-items, black-items-contains-lore, black-items-contains-name, black-items-has-name option in config.yml to do this!
Enable add-lore.only-in-player-inventory option. If enabled, only item in player inventory will deal with enchantment slot feature, and this can save many plugin performance.
If this doesn't work for you, use black-items, black-items-contains-lore, black-items-contains-name, black-items-has-name option in config.yml, add keywords in those options.
If you EnchantmentSlots auto add lore for those items, it can only at first or last of item lore, or you use our item placeholder into your item lore.
Please view this page.