Features
Notifications
Three families, each restyled by the player in F7:
The card
exports['uniqers-uipack']:Notify({ kind = 'success', -- success | error | inform | warning | police | ambulance | message title = 'Garage', -- optional: empty shows the kind, in the player's language text = 'Vehicle stored.', duration = 5000, icon = 'fa-solid fa-warehouse', -- all optional color = '#22C55E', -- accent of this card only image = 'https://example.com/garage.png', sound = true, -- false, or { name = '...', set = '...' }})Kinds. success, error and inform are the three base kinds. The names other scripts use are understood too and get their own icon and colour: warning, primary, info, police, ambulance, phonemessage, neutral …
Interactive cards
exports['uniqers-uipack']:Notify({ kind = 'inform', title = 'Airdrop', text = 'Route to it?', duration = 15000, interactive = true, action = 'airdrop:route', value = 12,}) AddEventHandler('uniqers-uipack:onNotifyAction', function(action, value) if action == 'airdrop:route' then ... endend)The card shows E — interact. Pressing E gives the player the cursor to click it; E again or Esc gives it back. No loop runs while the card is up.
Custom markup
html = '...' draws your own markup inside the card. The admin panel's Notify builder composes it with blocks (titles, key steps, badges, commands, a button) and copies the result.
Banners and the alert bar
exports['uniqers-uipack']:ShowBanner({ text = 'Restart in 5 minutes', kind = 'inform', duration = 6000 })exports['uniqers-uipack']:ShowBanner({ text = 'Saved', kind = 'success', design = 2 }) -- this design, whatever the player pickedexports['uniqers-uipack']:ShowAlertBar({ text = 'Restricted area', duration = 8000, sound = true })A banner shows the time it has left; up to four stack. The alert bar restarts its timer when a new text arrives.
From the server
exports['uniqers-uipack']:Notify(playerId, { kind = 'success', text = 'Paid $500' }) -- -1 = everyoneexports['uniqers-uipack']:Hud(playerId, 'banner', 'show', { text = 'Restarting soon', kind = 'inform', sound = true })exports['uniqers-uipack']:Hud(-1, 'alert', 'show', { text = 'Server restarts in 5 minutes', duration = 8000 })History
Every notification is kept in the history (/notifyhistory, or F7 → History), up to Config.HistoryLimit.
Do not disturb
F7 → Notifications → Quiet. Announcements the admin panel sends are counted instead of shown while it is on; everything a script sends for gameplay still comes through.
Announcements
/uipackadmin → Notify builds notifications, sends them to one player or everyone, and can repeat them on a timetable (every N minutes, or at set times of day).
Other notification scripts
QBCore, ESX, ox_lib, okokNotify, mythic_notify, pNotify, t-notify and ps-ui notifications all draw as UIPack cards through their bridges.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord