> ## Documentation Index
> Fetch the complete documentation index at: https://kotly-doc.voxray.su/llms.txt
> Use this file to discover all available pages before exploring further.

# KotlyPlugin

Абстрактный класс `KotlyPlugin` наследуют Kotly плагины.

```kotlin theme={null}
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() {}
}
```
