# 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="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FsUBC7Wwa1D9oBHp0vAgi%2Fevent_notf.png?alt=media&#x26;token=3dee848f-f330-44a2-b5f1-2aeddfaac409" alt="" width="338"><figcaption></figcaption></figure> <figure><img src="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FUS4kxQGRRGEnoqUVgZDF%2FEventNotifications_Maps.png?alt=media&#x26;token=b0a8ebee-8e31-45ae-af93-256f3b10f471" alt="" width="275"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FVq7zZV3qiBwW7XspGD46%2FEventNotifications_MatchEndStats.png?alt=media&#x26;token=fce63654-44bf-4ada-9d9c-10c730b99924" 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**](https://docs.sourcefactory.eu/discord-utilities/tutorials/custom-embeds-format)<br>

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

• [**Server**](https://docs.sourcefactory.eu/available-variables#server-variables) **and** [**Player**](https://docs.sourcefactory.eu/available-variables#player-variables)

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

• [**Server**](https://docs.sourcefactory.eu/available-variables#server-variables)
{% endhint %}
