Quick Start
Functions
notify
notify
Display a notification to the player.Parameters:
data(table) - Notification configuration object (see Options)
Configuration
Options
Unique identifier - when provided will only show once when spammed or update the same notification
Notification title (supports markdown)
Either
title or message is requiredNotification message (supports markdown)
Either
title or message is required. Can also use description as an aliasNotification typeAvailable options:
'info', 'success', 'warning', 'error'Duration in milliseconds
Notification positionAvailable options:
'top-left', 'top', 'top-right', 'center-left', 'center-right', 'bottom-left', 'bottom', 'bottom-right''top' is an alias for 'top-center'FontAwesome icon class
Icon color (hex or CSS color name)
Automatically determined by notification type if not specified
Icon animation typeAvailable options:
'spin', 'spinPulse', 'spinReverse', 'pulse', 'beat', 'fade', 'beatFade', 'bounce', 'shake'Background color (hex or CSS color name)
Automatically determined by notification type if not specified
Text color (hex or CSS color name)
Automatically determined by notification type if not specified
Title text color (hex or CSS color name)
Automatically determined by notification type if not specified
Sound configuration (see Sound Options)
Sound Options
Name of audio bank that contains the soundset
Soundset the soundname is a member of
Sound name to play
Server-Side Usage
To send notifications from the server, use the client event:source(number) - The player’s server IDdata(table) - Notification data table (see Options)
Preview

