Notify — Server

GetResourceName

Returns the notify resource name.

local name = Bridge.Notify.GetResourceName()
-- Returns: string (always "default")

Description: Returns the name of the Notify module resource. Used for internal identification. Always returns "default" for the built-in Notify module.

SendNotification

Sends a notification to a specific player from the server.

Bridge.Notify.SendNotification(src, title, message, type, time, props)
ParameterTypeDescription
srcnumberPlayer server ID
titlestringNotification title
messagestringNotification message
typestringType: 'success', 'error', 'info', 'warning'
timenumberDuration in milliseconds
propstableAdditional properties (optional)

Deprecated

SendNotify

Use SendNotification instead.

Bridge.Notify.SendNotify(src, title, message, type, time, props)