Kotlin for Minecraft
A Minecraft plugin for Bukkit, BungeeCord, and their derivatives that enables other Minecraft plugins to easily use and distribute Kotlin v1.4.30.
Motivation
Minecraft plugin developers, when writing their plugins in Kotlin, have to bundle the Kotlin standard library into their plugin.
This plugin allows for plugin developers to no longer have to bundle the Kotlin standard library into their distribution.
Plugin developers reap the benefit of having shorter build times and plugin consumers reap the benefit of smaller plugin distributions and quicker speeds.
Installation
Download the latest version of this Minecraft plugin from GitHub. Or, to directly download kotlin-1.4.30.jar
, click here.
Usage
For Consumers
Drag the downloaded kotlin-1.4.30.jar
(downloaded in the "Installation" section) into your Minecraft server's plugins
folder.
That's it! If done successfully, now all plugins on your server that utilize this plugin will function as intended.
For Developers
First, resolve the plugin as a dependency to your project using either Maven or Gradle:
Finally, depend on the kotlin plugin in your plugin.yml
or bungee.yml
:
depend:
# ...
- kotlin
That's it! If done successfully, your plugin will work as intended on any Minecraft server that also has this plugin downloaded. Be sure to tell your consumers to download this plugin as a dependency!
License
This plugin is available as open source under the terms of the MIT LIcense.