flylib-reloaded

FlyLib Reloaded is a powerful and useful Java/Kotlin library for the Minecraft Paper.

MIT License

Stars
7
Committers
2

Features

  • command/config engine
  • builders and utilities for Bukkit
  • advanced event flow manager
  • easy to use

Links

Wiki (en) / Wiki (ja)
JavaDoc / Kdoc

Installation

Replace [version] with the version you want to use.

Using shadowJar, you can generate a Jar file with all dependencies, including the Kotlin runtime.

plugins {
    id("com.github.johnrengelman.shadow") version "6.0.0"
}
dependencies {
    implementation("dev.kotx:flylib-reloaded:[version]")
}

Configure relocation to be done at build time to avoid conflicts when loading multiple plugins that use FlyLib Reloaded.

import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation

val relocateShadow by tasks.registering(ConfigureShadowRelocation::class) {
    target = tasks.shadowJar.get()
    prefix = project.group.toString()
}

tasks.shadowJar {
    dependsOn(relocateShadow)
}

Using shadowJar, you can generate a Jar file with all dependencies, including the Kotlin runtime.

plugins {
    id 'com.github.johnrengelman.shadow' version '6.0.0'
}
dependencies {
    implementation 'dev.kotx:flylib-reloaded:[version]'
}

Configure relocation to be done at build time to avoid conflicts when loading multiple plugins that use FlyLib Reloaded.

import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation

task relocateShadow(type: ConfigureShadowRelocation) {
    target = tasks.shadowJar
    prefix = project.group
}

tasks.shadowJar.dependsOn tasks.relocateShadow