
- Unzip Pandryx_Notify and place Pandryx_Notify in your server’s resources folder.
- Add ensure Pandryx_Notify to your server.cfg
- Make sure it starts before any resource that depends on it
- Start / Restart your server
config.lua contains the default fallback values used when a parameter is not explicitly passed by the caller.
false, 0, and "" — are always respected and will never be overwritten by a default.
Notification Fields
Notification Types
Positions
Actions
Action buttons appear on toast and confirm layouts. Each action is a table with the following fields:
When a player clicks an action button,
notify fires either TriggerEvent or TriggerServerEvent depending on eventType. The receiving event handler is registered in your own resource, not in notify.
Action Button Styles
Sounds
Place any
.wav, .mp3, or .ogg file inside html/sounds/ and reference it by filename:
sound = false or omit the field entirely for a silent notification.
Stacking Modes
The position updates globally whenever a new notification arrives with a
position or stacking field. This lets you change the layout between calls.
Important Notifications
Setting important = true pins the notification to the front of the stack and disables auto-dismiss. The player must manually close it.
-1 as playerId to broadcast to all connected players.
Server-Side Event
notify.
Client-side handler
Pandryx_Notify to something else, update every export call in your other resources to match:
Pandryx_Notify:client:*, Pandryx_Notify:server:*) do not change automatically — find and replace them across your codebase if you rename.
Adding New Sounds
Download link: https://mixkit.co/free-sound-effects/notification/
Drop any .wav, .mp3, or .ogg file into html/sounds/ and reference it by filename in your notification call:
fxmanifest.lua are needed. The html/sounds/* wildcard serves all files in that folder automatically..png?fit=max&auto=format&n=gMBEO1L9baRXY-y9&q=85&s=dcdc368f61bfed58766eb0b04441dce6)