Compact is one line, Banner is wide and defaults to the top of the screen.Replaces the color of
type. See Customization.1 to 32 letters, digits or
_ - . :, not starting with #. Showing an id that is on screen updates it and restarts its timer.- Without
id, the returned id is generated, such as#3. Use it withUpdateandDismiss. Updatechanges fields of a notification on screen and restarts its timer. It returns false when it is gone.DismissAllcloses the notifications of your resource only.- At most
settings.notifyMax(default 5) per anchor. The oldest leave first. - Notifications are client only. To notify from the server, see Using ug-lib with UgCore.
Markup
**bold**, *italic*, and ~token~ colors the rest of the text until ~reset~. Tokens: primary, success, warning, destructive, muted. HTML is shown as text.
Example
client.lua