Oxygen

OnLoad

This hook is triggered when the plugin is being loaded by the system. It is typically used for initialization, such as registering commands, loading configurations, or printing startup messages.

Definition

public override void OnLoad() { }

Usage Example

public override void OnLoad() 
{ 
    // Add your initialization logic here
}

On this page