Announcements

Server-wide banners from staff or scripts.

Announcements are a banner at the top of the screen, in Config.AccentColor, with a sound. If a second one comes in while one is showing, it waits its turn.

From staff

code
/announce Server restart in 10 minutes

Needs mayo_notify.announce. See Permissions. With Config.Announce.ShowAuthor = true, the staff member's name shows under the message. Announcements sent from the server console have no name.

From a script

lua
exports.mayo_notify:Announce({
    title = 'Restart in 10 minutes',
    message = 'Find a safe spot and log off.',
    author = 'Staff',
})

See Server exports.

Announcements also go into every player's notification history.