Notification API
How to use the msdoors Notification API to send custom notifications in-game.
Introduction
The Notification API lets you send custom achievement-style notifications in-game with different visual styles, sounds, colors, and content.
The Notification API is independent from the main msdoors script. You can load it separately at any time.
Loading the API
After loading, you can call it like this:
Parameters
| Parameter | Type | Description |
|---|---|---|
Title | string | Main title of the notification |
Description | string | Subtitle or description text |
Reason | string | Extra info line (not all styles support it) |
Image | string | rbxassetid, asset ID number, or image URL |
Sound | string | rbxassetid, asset ID number, or audio URL |
Color | Color3 | Accent color (border, glow, text) |
Time | number | How long the notification stays (in seconds) |
Styles
msdoors
The default msdoors achievement style. Supports Title, Description, Reason, Image, Color, Sound, and Time.
Doors
Uses the native DOORS achievement UI. Requires the DOORS game UI to be present.
Paradox
Uses the Paradox game achievement UI. Requires the Paradox game UI to be present.
MParadox
A built-in recreation of the Paradox achievement style. Works anywhere, no game UI required. Supports stacking multiple notifications.
Abyssal
A minimal slide-in notification bar from the right side of the screen.
You can also customize the background and font color:
Roblox
Uses the native Roblox notification system.
Linoria / Obsidian
Uses the Linoria or Obsidian UI library notification. Requires the Library global to be loaded beforehand.
Custom Sounds
You can pass any of these as the Sound parameter:
Audio URLs are downloaded and cached locally on first use. Supported formats depend on your executor.
Custom Images
You can pass any of these as the Image parameter:
Colors
Full Example
Some styles like Doors and Paradox require the respective game's UI to be present. If the UI is not found, the notification will fail silently.