Skip to content

mintmousse.notify

Send a notification to all connected clients to see timestamped. It will not appear for new clients.

Synopsis

mintmousse.notify( message )

Parameters

message string or table
The message to show, if you pass in a string, it will be set to the table's text argument.

Message Table

title string
String used as the title of the notification.
text string
String used as the text of the notification.

Returns

Nothing.

Examples

mintmousse.notify("A player went out of bounds!")

mintmousse.notify({
  title = "Player Ban",
  text = player:getName() .. " was banned by " .. admin:getName(),
})

See Also