Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
RedMagic edited this page May 22, 2024 · 14 revisions

Welcome to the UndefinedAPI. This api adds util classes ontop of spigotmc to make more complex tasks easy and faster.

If you want to read more documentation Click here

Imports

Latest version:

If you are using maven you are able to add this to your pom.xml:

<repository>
  <id>undefinedapi-repo</id>
  <name>UndefinedAPI</name>
  <url>https://repo.undefinedcreation.com/repo</url>
</repository>
<dependency>
  <groupId>com.redmagic</groupId>
  <artifactId>UndefinedAPI</artifactId>
  <version>VERSION</version>
</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.redmagic:UndefinedAPI:VERSION")

Setup

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) 
}

Documentation

The rest of the documentation is in this wiki with source code links with more in depth information.

Clone this wiki locally