Appearance
Notify
Reference for the notify API.
Functions
notify.push
Pushes a notification to the queue.
lua
---@param title string
---@param desc string
---@param options? { time: number, icon: notify.icon }
function notify.push(title, desc, options?): nilnotify.clear
Clears the notify queue.
lua
function notify.clear(): nilConstants
icon
lua
notify.icon.info
notify.icon.modder
notify.icon.player_join
notify.icon.player_leave
notify.icon.protections
notify.icon.spawner
notify.icon.hotkey
notify.icon.hazard
notify.icon.player_spawn
notify.icon.spoofing
notify.icon.join_failed
notify.icon.join_blocking
notify.icon.trackingExamples
lua
notify.push('My Script', 'Test from my script!', { time=10000, icon=notify.icon.hazard })
notify.push('My Script', 'Test from my script!') -- defaults to { time=6000, icon=notify.icon.info }