2025-04-29 21:38:14 +07:00
|
|
|
export const PluginFlags = {
|
|
|
|
|
/**
|
|
|
|
|
* The plugin is enabled.
|
|
|
|
|
*/
|
|
|
|
|
Enabled: 1 << 0,
|
|
|
|
|
/**
|
|
|
|
|
* The plugin requires a reload to apply changes.
|
|
|
|
|
*/
|
2025-05-01 01:18:36 +07:00
|
|
|
ReloadRequired: 1 << 1,
|
2025-04-29 21:38:14 +07:00
|
|
|
/**
|
|
|
|
|
* The plugin has errors.
|
|
|
|
|
*/
|
2025-05-01 01:18:36 +07:00
|
|
|
Errored: 1 << 2,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const PluginStatus = {
|
|
|
|
|
Initing: 1 << 0,
|
|
|
|
|
Inited: 1 << 1,
|
|
|
|
|
Starting: 1 << 2,
|
|
|
|
|
Started: 1 << 3,
|
|
|
|
|
Stopping: 1 << 4,
|
2025-04-29 21:38:14 +07:00
|
|
|
}
|