LAE API 1.0
Lore As Enchantments API

With this API you can create your own Enchantment-Related Plugin!
This API implements a system to use the Lore* of an item as a new and custom-defined by yourself Enchant.
First you have to import this lib in your Java environment, if you're using Eclipse it is easy: right click in your project name->Properties->Java Build Path->Add External JARs... And now select the lib to import and press the 'Ok' button. Now you imported the LAE-API with success.
IMPORTANT in your plugin.yml file you have to add the dependency. Simply write there depend: [LAE]
- Lore = the description of an item.
- Supports Spigot
Creating my first Enchantment
Make an enchantment is really easy with this API. Use the LAE or UpdatedLAE java-classes to create a new one.
There is not much to explain, you can download my Example.txt file from: http://dev.bukkit.org/bukkit-plugins/lae_api_v1-0/files/1-examples-txt/
Adding custom enchantments as lore with a defined kit in another plugin (like essentials)
Yes, you can do it. How? It is simple, in the item in the kit just add the lore.
If you're using Essentials' kits system it is very easy and you can do it in this method:
- 276 1 lore:Poison_I
Note: The underscore (_) determines the space.
For more than one enchant in one item you have to add a | after the first enchant and then write the second.
Notes: If you don't give a color in your enchant, the default will be Light Gray like normal enchantments, then in your kit configuration you have to add the properly color, Example: - 276 1 lore:&7Poison_I (&7 stays for Light Gray color). If your kit config doesn't replaces &num with the properly color just use ยง instead of &. For all colors just search in the Internet: 'Minecraft color codes'
-
View User Profile
-
Send Message
Posted Jun 6, 2016I assume that this plugin has been abandoned. Was looking forward to the default and customizable enchants from the config file :/ Bummer.
-
View User Profile
-
Send Message
Posted Feb 28, 2015Can you upload a tutorial? PLEASE!!!
-
View User Profile
-
Send Message
Posted Oct 31, 2014@Cronos18
xD sorry! and that would be nice =p
-
View User Profile
-
Send Message
Posted Oct 31, 2014@delsolsi213 normally an API gives only the methods for devs to make a certain thing related to the API itself but you gave me an idea...In the next version I will add default (and customizable from config file) enchantments. :)
-
View User Profile
-
Send Message
Posted Oct 30, 2014is there any list of enchants this adds? or is it so other devs make enchantments using your api?
-
View User Profile
-
Send Message
Posted Oct 30, 2014Post here comments for more information or related things.