Package-level declarations

Types

Link copied to clipboard
annotation class DataFolder

This is a marker annotation to signal that the requested Path to be injected should be the path to the plugin's data folder.

Link copied to clipboard
@Target(allowedTargets = [])
annotation class Dependency(val id: String, val optional: Boolean = false)

Declares a dependency on another plugin.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Plugin(@Pattern(value = "[a-z][a-z0-9-_]{0,63}") val id: String, val name: String = "", val version: String = "", val description: String = "", val authors: Array<String> = [], val dependencies: Array<Dependency> = [])

A metadata annotation used to describe a plugin.