Info

@Configuration(proxyBeanMethods = false)
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Info(val value: String)

Defines the info of a VitalModule. This annotation must be applied to all implementations of VitalModule.

@VitalModule.Info("mymodule")
public class MyModule extends VitalModule {
}

Properties

Link copied to clipboard
@get:AliasFor(annotation = Configuration::class)
val value: String

The name of the module, e.g. mymodule, mymodule.spigot, mymodule.bungee, etc.