Skip to content

API Plugin lifecycle

Alexandre 'kidev' Poumaroux edited this page Oct 21, 2026 · 4 revisions

Plugin lifecycle

Import from proleak import plugins

The calling plugin's own lifecycle.

Functions

Returns Function
str current() Id of the calling plugin.
None reload() Reload the calling plugin at the next frame boundary.

Function documentation

current

current() -> str

Id of the calling plugin.

reload

reload() -> None

Reload the calling plugin at the next frame boundary. The current handler finishes first.


Previous: Player actions | Next: Plugin settings

Clone this wiki locally