Skip to content

ultragrav/KComp

Repository files navigation

KComp

A kotlin compiler extension to allow inline components in MiniMessage strings

Example

val testComponent = Component.text("test comp")
val newComponent = "test $testComponent test".toComp()

Instead of the default kotlin behaviour of calling testComponent#toString, the compiler plugin replaces the component with a MiniMessage placeholder, so the component is correctly inserted

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published