> For the complete documentation index, see [llms.txt](https://cuhhub.gitbook.io/noir/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cuhhub.gitbook.io/noir/api-reference/built-ins/services/notificationservice.md).

# NotificationService

**Noir.Services.NotificationService**: `NoirService`

A service for sending notifications to players.

***

```lua
Noir.Services.NotificationService:Notify(title, message, notificationType, player, ...)
```

Notify a player or multiple players.

### Parameters

* `title`: string
* `message`: string
* `notificationType`: SWNotificationTypeEnum
* `player`: NoirPlayer|table\<integer, NoirPlayer>|nil
* `...`: any

***

```lua
Noir.Services.NotificationService:Success(title, message, player, ...)
```

Send a success notification to a player.

### Parameters

* `title`: string
* `message`: string
* `player`: NoirPlayer|table\<integer, NoirPlayer>|nil
* `...`: any

***

```lua
Noir.Services.NotificationService:Warning(title, message, player, ...)
```

Send a warning notification to a player.

### Parameters

* `title`: string
* `message`: string
* `player`: NoirPlayer|table\<integer, NoirPlayer>|nil
* `...`: any

***

```lua
Noir.Services.NotificationService:Error(title, message, player, ...)
```

Send an error notification to a player.

### Parameters

* `title`: string
* `message`: string
* `player`: NoirPlayer|table\<integer, NoirPlayer>|nil
* `...`: any

***

```lua
Noir.Services.NotificationService:Info(title, message, player, ...)
```

Send an info notification to a player.

### Parameters

* `title`: string
* `message`: string
* `player`: NoirPlayer|table\<integer, NoirPlayer>|nil
* `...`: any
