Skip to content
KS-Notify

KS-Notify

Installation

  1. Unzip the delivered archive into your resources/ folder, under the name ks-notify.
  2. Import the provided install.sql file into your database.
  3. Add ensure ks-notify to your server.cfg, after oxmysql and qb-core.
  4. Restart your server.

Configuration

Config.Position = "top-right"
Config.DefaultDuration = 4000 -- millisecondes
Config.Sounds = { success = true, error = true, info = false, alert = true }

Disable a notification type’s sound by setting it to false — useful for frequent informational notifications that don’t need to alert the player.

Sending a notification

From any script, a notification is sent with:

exports['ks-notify']:Send(source, {
  type = "success",
  message = "Véhicule réparé avec succès.",
  duration = 5000,
})

Existing qb-core exports (QBCore.Functions.Notify) still work too, and automatically redirect to KS-Notify.

Common issues

Two notifications still appear at the same time. Check that Config.QueueEnabled is set to true — when disabled, each notification displays immediately without going through the queue.

Persistent notifications never close. That’s expected: a notification with persistent = true stays on screen until the player clicks it or an explicit call to exports['ks-notify']:Dismiss(id).

Something not covered here? Join our Discord.