API

Wiki on how to use API.

Things To Note:

Here are some things you need to keep in mind when building your own extensions.

Extension Info Config:

Every extension needs to have an info config in the resources. So, ADL API knows about the extension. The Extension API is pretty similar to Spigot Plugin API.

ADL Extension Info Config:

extension.yml
name: "MyCoolExtension"
version: "1.0.0-SNAPSHOT"
description: "A cool extension that does nothing :)"
author: "The God"
main: "com.example.my.cool.extension.Main"

You have to add a YAML file in your resources with this info about the extension.

NOTE: When building an extension for ADL name your info file: extension.yml.

If you have any confusion related to extension development. Feel free to ask us on our support server.

Last updated