Get the ability to run and develop Kotlin plugins on your Minecraft server or proxy.
This plugin includes the necessary Kotlin libraries to the server to avoid including them independently in several plugins at the same time
- Java 11+
- Velocity 3.4+
- Sponge 8.2+
- Paper/forks 1.21+
Simply install the latest version of the plugin on your server or proxy
Add MCKotlin as a dependency
plugin.yml
depend: MCKotlin-Paper
paper-plugin.yml
dependencies:
server:
MCKotlin-Paper:
required: true
@Plugin(
id = "myplugin",
dependencies = {
@Dependency(id = "mckotlin-velocity")
}
)
public class VelocityPlugin {
}
build.gradle
dependency('mckotlin-sponge') {
version '1.4.0'
loadOrder PluginDependency.LoadOrder.AFTER
optional false
}
build.gradle.kts
dependency("mckotlin-sponge") {
version("1.5.0")
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(false)
}
- Kotlin StdLib 2.1.10
- Kotlin Reflect 2.1.10
- KotlinX Coroutines
- KotlinX Serialization
How does this plugin differ from other plugins such as Kotlin?
Unfortunately there are no plugins available that provide the necessary libraries to make kotlin plugins for environments like Velocity or Bungeecord. That was my motivation to develop this plugin that includes Kotlin-stlib 1.9.0 (created by Jetbrains, Apache 2 license)