Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a plugin.

Hierarchy

  • Plugin

Index

Properties

authors: string[] | EntityAuthor[]

Authors of the plugin.

color?: string

Color of the plugin in settings.

commands?: Command[]

List of commands of the plugin.

description: string

Description of the plugin.

name: string

Name of the plugin.

patches?: Patcher[]

List of patchers of the plugin.

version: string

Version of the plugin.

Methods

  • getSettingsPanel(props: { settings: SettingsStore }): ComponentType<{}>
  • onDisable(): void
  • Executed when the plugin is disabled.

    This method is overwritten by Enmity to do internal stuff.

    DO NOT OVERRIDE THIS.

    Returns void

  • onEnable(): void
  • Executed when the plugin is enabled.

    This method is overwritten by Enmity to do internal stuff.

    DO NOT OVERRIDE THIS.

    Returns void

  • onStart(): void
  • onStop(): void

Generated using TypeDoc