Skip to main content
The notify bridge provides a simple, unified way to display notifications across different frameworks. Instead of writing framework-specific notification code, you call Bridge.Notify.Client.Functions.Notify and let TS-Lib route it to the correct implementation.

Status & testing


How selection works

Supported values in ts-lib/config.lua:
  • Notify keys: qbcore, esx, standalone
  • Mapped to resource names via Config.Data.Notify:
When Config.Notify = 'auto', TS-Lib goes through this table and picks the first started resource.

Client-side API

Bridge.Notify.Client.Functions.Notify(message, type?)

Displays a notification to the player.

Behavior per framework

QBCore Uses QBCore.Functions.Notify:
Common types: success, error, warning, info ESX Uses ESX.ShowNotification:
Standalone Currently falls back to basic print or can be extended. The notify bridge is primarily designed to work with framework notification systems.

Server to Client notifications

TS-Lib provides an event that can be triggered from the server to show notifications to clients:
This is automatically registered when using the QBCore bridge and can be extended for other frameworks.

Using via TS.Lib helpers

When using @ts-lib/import.lua, you can also access notifications through the framework bridge:
This provides the same unified API while being part of the framework bridge surface.

Integration in your own scripts

Basic usage

With exports (without import)

If you haven’t included @ts-lib/import.lua, you can still use framework exports directly:
For full TS-Lib functionality, we recommend using the import method.
Last modified on July 22, 2026