Skip to main content

Documentation Index

Fetch the complete documentation index at: https://kotly.voxray.su/llms.txt

Use this file to discover all available pages before exploring further.

Абстрактный класс KotlyPlugin наследуют Kotly плагины.
package kotly.plugin
abstract class KotlyPlugin {
    val context: PluginContext = bootstrap.get()

    val logger      get() = context.logger
    val kotly       get() = context.kotly
    val manager     get() = context.manager
    val name        get() = context.entry.config.name
    val description get() = context.entry.config.description
    val author      get() = context.entry.config.author
    val version     get() = context.entry.config.version

    open fun onEnable() {}
    open fun onDisable() {}
}