> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overlayed.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Notices

> Display notices to your users directly from the Overlayed Dashboard.

## Overview

Notices allow you to communicate important information to your users, such as updates, announcements, or outage
information. Notices are managed through the [Overlayed Dashboard](https://overlay.dev/notices) and automatically
fetched by your overlay application.

## Managing Notices

To create and update existing notices, navigate to the [Overlayed Dashboard](https://overlay.dev/notices).

## Listening for Notices

Notices are automatically fetched:

* When your overlay initializes
* Every 5 minutes
* When a game becomes ready

Notices will already be appropriately filtered.

```typescript theme={null}
const overlay = overlayed({
	// ...
});

overlay.notices.on("noticesUpdated", ({ notices }) => {
	// ...
});
```

<Info>
  Notices that are tied to a specific game will automatically be returned based on the games that are currently
  launched.
</Info>

## Getting Current Notices

Get the current filtered list of notices.

```typescript theme={null}
const activeNotices = overlay.notices.getNotices();
```

## Dismissing Notices

Notices can be dismissed by calling the `dismissNotice` method.

```typescript theme={null}
overlay.notices.dismissNotice(noticeId);
```

Dismissed notices are stored locally in a `notices.json` file in your app directory. A maximum of 100 dismissed notices
are stored—once this limit is reached, the oldest dismissed notice is removed.
