> For the complete documentation index, see [llms.txt](https://docs.zachfr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zachfr.com/infinite-series/infiniteannouncements/type.md).

# Type

There 4 type of announcements you can create. Chat, action bar, boss bar and title

### CHAT

Example for sending a message in the chat with an unlimited number of lines.

<figure><img src="https://3582877941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLKoyM5H-BRKpjtNZ_v%2Fuploads%2FJJlvFuLHHbWR08Vb86bP%2FCHAT.png?alt=media&amp;token=df575cd9-ab4c-4d1d-861c-e66a0b32823e" alt=""><figcaption></figcaption></figure>

```yaml
# Type of announcement. (CHAT, ACTIONBAR, BOSSBAR, TITLE)
type: CHAT
# Content of announcement.
lines:
  - "&6Hello my name is %player_name%"
```

### ACTIONBAR

Example for sending an action bar message above the inventory.

<figure><img src="https://3582877941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLKoyM5H-BRKpjtNZ_v%2Fuploads%2F5J9f3TFTfAHFAglc6TmE%2FACTIONBAR.png?alt=media&amp;token=5c4c08e3-f784-4b7a-9eaa-d6caf1171776" alt=""><figcaption></figcaption></figure>

```yaml
# Type of announcement. (CHAT, ACTIONBAR, BOSSBAR, TITLE)
type: ACTIONBAR
# Content of announcement.
lines:
  - "&6Hello my name is %player_name%"
```

### BOSSBAR

Example for creating a boss bar announcement.

<figure><img src="https://3582877941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLKoyM5H-BRKpjtNZ_v%2Fuploads%2FAjm7jfVCtSvB4LDZG4Wp%2FBOSSBAR.png?alt=media&amp;token=8b64dfb3-21d9-49b6-9cf6-c65803d46d7e" alt=""><figcaption></figcaption></figure>

```yaml
# Type of announcement. (CHAT, ACTIONBAR, BOSSBAR, TITLE)
type: BOSSBAR
bossbar:
  # Color of bossbar. (BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW)
  color: RED
  # Style of bossbar. (PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20)
  style: PROGRESS
  # Progress of bossbar. (0.0 - 1.0)
  progress: 1.0
  # Time of bossbar. (1 - 60 seconds)
  time: 5
# Content of announcement.
lines:
  - "&6Hello my name is %player_name%"
```

### TITLE

Example for sending a title with an optional subtitle.

<figure><img src="https://3582877941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLKoyM5H-BRKpjtNZ_v%2Fuploads%2FSDJIhlQfvO3OCkIhzBfh%2FTITLE.png?alt=media&amp;token=5d667f60-e4e0-413e-9170-9a129a1eadf9" alt=""><figcaption></figcaption></figure>

```yaml
# Type of announcement. (CHAT, ACTIONBAR, BOSSBAR, TITLE)
type: TITLE
# Content of announcement.
lines:
  - "&6Hello my name is %player_name%"
  - "Subtitle"
```
