This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Importing API
KarmaDev edited this page Jul 17, 2021
·
1 revision
As almost all the plugins in spigotmc, LockLogin has an API, a little bit hard to start with, but it will be familiar for you as it is very similar to bukkit/bungee API.
To start, add the dependency to your pom.xml or gradle, the dependency is hosted at maven repo, most of the IDEs already search in that repository by default, so you don't have to add it to your repositories
API
COMMONS
<dependencies>
<dependency>
<groupId>eu.locklogin</groupId>
<artifactId>LockLogin-API</artifactId>
<version>{api-version}</version>
<scope>provided</scope>
</dependency>
<!-- OPTIONAL -->
<dependency>
<groupId>eu.locklogin</groupId>
<artifactId>LockLogin-common</artifactId>
<version>{common-version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
dependencies {
compile "eu.locklogin:LockLogin-API:{api-version}"
//OPTIONAL
compile "eu.locklogin:LockLogin-common:{common-version}"
}