# Event Notifications

{% hint style="warning" %} <mark style="color:red;">**configs/plugins/DU\_EventNotifications/DU\_EventNotifications.json**</mark>
{% endhint %}

{% hint style="info" %}
**Send an embed message to your Discord server when:**&#x20;

1. Player Connects to the game server
2. Player Disconnects from the game server
3. Player Death (When someone kills someone)
4. Match End Stats
5. New map started
6. A map ended
   {% endhint %}

<div align="center"><figure><img src="/files/WRYo8ILy56FisgQLryZ1" alt="" width="338"><figcaption></figcaption></figure> <figure><img src="/files/XJEDVA0Yd5QutlJrV30y" alt="" width="275"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/X4IeKBrpdx3urj7V1IiH" alt="" width="351"><figcaption></figcaption></figure></div>

| Property       | Description                                                                                                          |
| -------------- | -------------------------------------------------------------------------------------------------------------------- |
| **Enabled**    | If this feature will be available <mark style="color:green;">`true`</mark> / <mark style="color:red;">`false`</mark> |
| **Channel ID** | The Channel ID where the event will be sent                                                                          |

{% hint style="success" %}
**To edit the embeds, follow the instructions:** [**Custom Embeds Format**](/discord-utilities/tutorials/custom-embeds-format.md)<br>

> Available Variables for <mark style="color:red;">`Connect`</mark> and <mark style="color:red;">`Disconnect embeds`</mark>

• [**Server**](/discord-utilities/available-variables.md#server-variables) **and** [**Player**](/discord-utilities/available-variables.md#player-variables)

> Available Variables for <mark style="color:red;">`Map Changed embed`</mark>

• [**Server**](/discord-utilities/available-variables.md#server-variables)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sourcefactory.eu/discord-utilities/modules/event-notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
