Plugin Events & Hooks

Complete reference of all plugin events and hooks available in StormNodes for extending functionality

40 Event Categories
333 Total Events

About Plugin Events

Understanding StormNodes's event-driven architecture

Event System Overview

StormNodes uses an event-driven architecture that allows plugins to hook into system events and extend functionality without modifying core code. Events are emitted at key points in the application lifecycle and can be listened to by plugins.

Registering Event Listeners

In your plugin's main class, implement the processEvents method:

public static function processEvents(PluginEvents $event): void
{
    $event->on('stormnodes:user:created', function ($user) {
        // Handle user creation
    });
}

Event Naming

Events follow a consistent naming pattern: stormnodes:category:action. Each event includes callback parameter information to help you understand what data is available.