Annotation Interface OnEnable
Marks a method to be called when the plugin is enabled.
Example:
@OnEnable
public void onEnable(PluginContext context) {
context.log("info", "Plugin enabled!");
}
The method can optionally accept a PluginContext parameter.