Kotlin Plugin Generator
Minecraft plugins written in Kotlin
Describe your plugin and Kodari writes it in Kotlin for Spigot, Paper or Folia: shorter, null-safe code that is easier to read and change. It compiles the plugin and fixes its own errors, so you download a ready .jar.
Idiomatic Kotlin, not Java with a different syntax
Kodari uses what makes Kotlin worth it: null safety, lambdas, data classes and extension functions.
class SpawnPlugin : JavaPlugin() {
override fun onEnable() {
getCommand("spawn")?.setExecutor { sender, _, _, _ ->
val player = sender as? Player ?: return@setExecutor false
player.teleport(player.world.spawnLocation)
player.sendMessage("Teleported to spawn")
true
}
}
}- Null safety, so a missing player or world never crashes your server
- Data classes for configs, kits, stats and anything you store
- Extension functions that keep repeated code short
- Works with Spigot, Paper and Folia APIs
- Built with Gradle into one .jar your server can load
What's in your project
Every file is yours to open, edit and download.
src/main/kotlin/Your plugin in Kotlin: main class, commands, listeners and data classes.plugin.ymlName, version, commands and permissions.config.ymlSettings you can change without touching code.build.gradle.ktsA Kotlin Gradle build with the server API and the Kotlin plugin.YourPlugin.jarThe compiled plugin, ready for /plugins.
Why Kotlin
Less code
The same plugin is often a third shorter than in Java, so it is easier to read and change later.
Fewer crashes
Kotlin makes you handle missing values, which removes the most common plugin crash: the NullPointerException.
Same libraries
Kotlin runs on the JVM, so every Java plugin API and library still works.
From one prompt to a Kotlin plugin
Describe your plugin
"A stats plugin that tracks kills, deaths and playtime and shows them in /stats." Pick Kotlin plugins in Kodari.
Kodari writes Kotlin
The AI writes idiomatic Kotlin with data classes and null-safe code.
It compiles and fixes itself
Kodari builds the .jar with Gradle and fixes compile errors on its own.
Drop it in /plugins
Download the .jar, add it to your server and restart.
What you can build
Kotlin plugins people make with Kodari.
Stats and leaderboards
Kills, deaths and playtime with data classes and top lists.
Abilities
Custom abilities and cooldowns with clean, short code.
GUI menus
Inventory menus built with small Kotlin helpers.
Economy
Balances, shops and transactions with safe data handling.
Databases
SQLite and MySQL storage for player data.
APIs for other plugins
Clean Kotlin APIs other plugins can hook into.
Frequently asked questions
Is the Kotlin plugin generator free?
Do Kotlin plugins work on normal servers?
Do I need to know Kotlin?
Kotlin or Java, which should I pick?
Can it use Java libraries?
Can Kodari convert a Java plugin to Kotlin?
Build your Kotlin plugin now
Sign up free and get 10 credits, plus 50 more when you join our Discord.
Start Building Free