> For the complete documentation index, see [llms.txt](https://risenova-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://risenova-scripts.gitbook.io/docs/risenova-notifications/developer-usage.md).

# Developer Usage

## <mark style="color:$primary;">Client-Side Notification</mark>

Use this inside a client Lua file:

```
exports['RiseNova_Notification']:Notify(
    'Your notification message.',
    'success',
    5000
)
```

Format:

```
exports['RiseNova_Notification']:Notify(
    message,
    notificationType,
    duration
)
```

## <mark style="color:$primary;">Server-Side Notification</mark>

Notify one player from a server Lua file:

```
exports['RiseNova_Notification']:NotifyPlayer(
    source,
    'Payment completed.',
    'success',
    5000
)
```

Notify every player:

```
exports['RiseNova_Notification']:NotifyAll(
    'The server will restart in 10 minutes.',
    'warning',
    8000
)
```
