Trace.Notify delivers a Trace-styled notification card to a single player. Trusted server scripts can use it to surface information, escalate an important message, or deliver a critical alert that plays a sound and never dismisses silently. Notifications are subject to the recipient’s Do Not Disturb preference - critical alerts always deliver.
Signature
Parameters
Player
required
The recipient of the notification. Must be a
Player instance currently in the server.string
required
The bold heading shown at the top of the notification card. Keep it short - the panel truncates long titles.
string
required
The body text of the notification. Multi-line strings are supported.
number
How long the card stays visible, in seconds. Defaults to
5 for normal notifications, 7 for important, and 10 for critical.string
Passed only to
Trace.Notify. Accepts "Normal" (default), "Important", or "Critical". Use the dedicated helpers NotifyImportant and CriticalAlert for readability.