Skip to content

KotKit v1.0

Choose a tag to compare

@Asheiou Asheiou released this 18 Aug 19:12
997fc5d

This is the first release of KotKit, it supports Spigot & Paper 1.21+.

For users, download the file at the bottom of this release, then place it into your plugins folder along with the plugin that depends on it.

For developers, if you want to use KotKit, you just need to change implementation to compileOnly for your stdlib, coroutines, and/or serialization dependencies, then depend KotKit in your plugin.yml. For a simple validation check to make sure that KotKit is present in your JVM environment, you can use this try/catch:

    try {
      Class.forName("kotlin.Unit")
      logger.info("Kotlin stdlib located.")
    } catch (_: ClassNotFoundException) {
      logger.info("Kotlin stdlib could not be found, please install KotKit!")
      Bukkit.getPluginManager().disablePlugin(this)
    }