promotional bannermobile promotional banner

LAE API 1.0

LAE API (Lore as Enchantments API)

Lore As Enchantments API

LAE 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'

Plugin that uses LAE API (contact me if you want your plugin be added)

  1. AuroraEnchantments

The LAE API 1.0 Team

profile avatar
  • 7
    Projects
  • 39.2K
    Downloads

More from _ForgeUser11886653View all

  • UnicodeText project image

    UnicodeText

    • 617
    • Bukkit Plugins

    Ever wanted special characters in your server?

    • 617
    • December 19, 2016
    • Bukkit Plugins
    • +2
  • WarpManager project image

    WarpManager

    • 3.1K
    • Bukkit Plugins

    Manages warps like no other plugin does!

    • 3.1K
    • December 12, 2016
    • Bukkit Plugins
    • +2
  • Aurora Enchantments project image

    Aurora Enchantments

    • 27.4K
    • Bukkit Plugins

    Aurora Enchantments

    • 27.4K
    • September 12, 2015
    • Bukkit Plugins
    • +2
  • TitleSender project image

    TitleSender

    • 666
    • Bukkit Plugins

    Had troubles with the /title command from vanilla? Not expert of JSON, just want a fast command? TitleSender is for you!

    • 666
    • September 11, 2015
    • Bukkit Plugins
  • UnicodeText project image

    UnicodeText

    • 617
    • Bukkit Plugins

    Ever wanted special characters in your server?

    • 617
    • December 19, 2016
    • Bukkit Plugins
    • +2
  • WarpManager project image

    WarpManager

    • 3.1K
    • Bukkit Plugins

    Manages warps like no other plugin does!

    • 3.1K
    • December 12, 2016
    • Bukkit Plugins
    • +2
  • Aurora Enchantments project image

    Aurora Enchantments

    • 27.4K
    • Bukkit Plugins

    Aurora Enchantments

    • 27.4K
    • September 12, 2015
    • Bukkit Plugins
    • +2
  • TitleSender project image

    TitleSender

    • 666
    • Bukkit Plugins

    Had troubles with the /title command from vanilla? Not expert of JSON, just want a fast command? TitleSender is for you!

    • 666
    • September 11, 2015
    • Bukkit Plugins