-
Notifications
You must be signed in to change notification settings - Fork 0
Home
RedMagic edited this page Jun 20, 2024
·
14 revisions
Welcome to the UndefinedAPI. This api adds util classes ontop of spigotmc to make more complex tasks easy and faster.
Latest version:
If you are using maven you are able to add this to your pom.xml
:
<repository>
<id>undefinedapi-repo</id>
<name>Undefined</name>
<url>https://repo.undefinedcreation.com/repo</url>
</repository>
<dependency>
<groupId>com.undefined</groupId>
<artifactId>api</artifactId>
<version>VERSION</version>
<classifier>mapped</classifier>
</dependency>
If you want to add it to your gradle project you are able to add this to your build.gradle.kts
:
maven {
name = "undefinedapiRepo"
url = uri("https://repo.undefinedcreation.com/repo")
}
implementation("com.undefined:api:VERSION:mapped")
The setup for the api is very simple. When you are done adding it to your build tool. You need to create a new instance of the UndefinedAPI
class in your onEnable. (See below)
override fun onEnable() {
UndefinedAPI(this)
}
The rest of the documentation is in this wiki with source code links with more in depth information.