/core_lib

Library of utilities to speed up the process of creating spigot plugins

Primary LanguageJava

Core_lib Latest Version

A collection of libraries and methods to speed up the process of creating a spigot plugin.

Installation for Development

Core_lib is not a standalone plugin, is a library and is designed to be a dependency to be attached to another plugin. To add it to your project, you can either take it from github packages, via maven or build it yourself.

Github Packages

You can download the latest jar shipped via packages (instead of building youself) and add the artifact to your project path.

With Maven

You can use the artifacts hosted on Repsy to access the api.

repositories {
    maven { url 'https://repo.repsy.io/mvn/divios/core_lib' }
}
dependencies {
        compileOnly 'io.github.divios:core_lib:Tag'
}

Replace Tag with a valid Core_lib version. Example 6.4.8.

Build it Locally

git clone https://github.com/divios/core_lib
cd core_lib
./gradlew build

Note: you need to run buildtools since the api uses mojand's Authlib library internally. If you are not familiar with this i strongly suggest to get the jar via releases and add to your project path.

After that you can find the jar in builds/lib/Core_lib.jar. Take that jar and add it to your proyect classpath or instead publish it to your maven local.