ForwardedMessages

open class ForwardedMessages : CorePlugin

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Returns the @AliucordPlugin on this class annotation if it exists.

Link copied to clipboard

Method returning the Manifest of your Plugin

Link copied to clipboard

The name of this plugin as known by the updater. The name of this class does not necessarily have to match.

Link copied to clipboard
open fun isHidden(): Boolean
Hides this core plugin from the plugins page.
Link copied to clipboard
open fun isRequired(): Boolean
Whether this core plugin cannot be disabled at all.
Link copied to clipboard
open fun load(context: Context)

Called when your Plugin is loaded

Link copied to clipboard

Returns whether the user will be prompted to restart after enabling/disabling. This is toggleable through the @AliucordPlugin annotation. You should not override this method yourself.

Link copied to clipboard
open fun start(context: Context)
Called when your Plugin is started
Link copied to clipboard
open fun stop(context: Context)
Called when your Plugin is stopped
Link copied to clipboard
open fun unload(context: Context)

Called when your Plugin is unloaded

Link copied to clipboard
open fun writeSnapshotFields(source: Any, destination: Any, isApiMessage: Boolean): Any

Properties

Link copied to clipboard
open var __filename: String

The filename of the zip this plugin was loaded from

Link copied to clipboard

Hides this core plugin from the plugins page. This should generally be used for coreplugins that are fixing existing functionality.

Link copied to clipboard

Whether this core plugin cannot be disabled at all.

Link copied to clipboard

The Logger of your plugin. Use this to log information

Link copied to clipboard

Whether your plugin has resources that need to be loaded

Link copied to clipboard

The resources of your plugin.

Link copied to clipboard

The SettingsAPI of your plugin. Use this to store persistent data

Link copied to clipboard

SettingsTab associated with this plugin. Set this to register a settings page