Usage Guide

Notification Types

1. General Information

{
    type = 'info',
    title = 'Race Start',
    message = 'Formation lap begins in 30 seconds',
    duration = 5000
}

2. Penalties

{
    type = 'penalty',
    title = 'Driver Penalty',
    message = 'Excessive weaving',
    penalty = '10-second stop-go penalty',
    driver = 'Lewis Hamilton',  -- Optional
    duration = 8000
}

3. Sanctions

{
    type = 'sanction',
    title = 'Track Limits',
    message = 'Multiple violations detected',
    penalty = 'Warning issued',
    duration = 8000
}

4. Flag Notifications

Red Flag:

Yellow Flag:

Green Flag:

Yellow Sector:

Automatic Flag Detection

The system intelligently detects flag types from titles:

Detection Keywords:

  • Red: "rouge", "red"

  • Yellow: "jaune", "yellow"

  • Green: "vert", "green"

  • Sector: "secteur", "sector"

Last updated