> For the complete documentation index, see [llms.txt](https://chat.advancedplugins.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chat.advancedplugins.net/features/auto-announcements.md).

# Auto Announcements

Auto Announcements enhance community engagement by automatically scheduling and broadcasting messages in chat. This feature is perfect for sharing updates, important notices, or just adding a bit of fun to the community environment, ensuring that all members are kept informed and involved without manual effort.

### Configuration: `announcements.yml`

{% code title="announcements.yml" lineNumbers="true" fullWidth="true" %}

```yaml
# Announcements Configuration
enabled: true

# Should announcements order be random?
random: true

# Announcements interval in seconds
interval: 300

order:
  - first
  - second

announcements:
  first:
    - '<gradient:white:aqua:white><strikethrough>                                                                  </gradient>'
    - ' '
    - "  <white>Join our Discord server by using <aqua><click:open_url:'https://discord.gg'>Clicking Here!</click></aqua>"
    - ' '
    - '<gradient:white:aqua:white><strikethrough>                                                                  </gradient>'
  second:
    - '<gradient:white:aqua:white><strikethrough>                                                                  </gradient>'
    - ' '
    - ' <white>Report players violating the rules using <aqua>/report'
    - ' '
    - '<gradient:white:aqua:white><strikethrough>                                                                  </gradient>'
```

{% endcode %}

## Key Settings Explained

* **enabled**: Activates the auto announcements feature.
* **random**: Determines whether announcements are displayed in a random order. When set to `true`, announcements are selected at random; otherwise, they follow the sequence specified in `order`.
* **interval**: Defines the time interval between announcements in seconds. In this example, a new announcement is made every 300 seconds (5 minutes).
* **order**: Specifies the order of announcements when `random` is set to `false`. Announcements will be made in the sequence listed here.
* **announcements**: Contains the actual announcement messages. Each announcement can include multiple lines, styled with formatting codes, including gradients and clickable links.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://chat.advancedplugins.net/features/auto-announcements.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.
