class Plugin
public function GetApp() - Returns app instance
public function RegisterEvents(array $events): void - Register all events
public function RegisterEvent(string $name, $handler): void - Register single event
public function FireEvent(string $event_name): void - Fire event