Integration

@API(status = API.Status.EXPERIMENTAL, since = "4.0.0")
interface Integration

A common class for integrating with other plugins. Integrations should be annotated with dev.racci.minix.integrations.annotations.IntegrationPlugin to declare the target plugin. If the integration is not self-acting, it should be annotated with dev.racci.minix.integrations.annotations.IntegrationManager to declare the manager.

See also

dev.racci.minix.integrations.regions.RegionIntegration

Functions

Link copied to clipboard
open suspend fun handleEnable()

Called when your plugin is enabled.

Link copied to clipboard
open suspend fun handleLoad()

Called when the integration is registered.

Link copied to clipboard
open suspend fun handleUnload()

Called when the integration is unregistered.