# Messages

## Chat

```yaml
message:
  chat: '&aThis is a chat message!'
  
# or multiple lines
message:
  chat:
    - This is the first message
    - and this is the second message
```

## Action Bar

```yaml
message:
  actionbar: '&aThis is an actionbar message!'
```

## Title

```yaml
message:
  title: '&aThis is a title message!'
  subtitle: '&7This is the subtitle'
  fade-in: 10
  stay: 70
  fade-out: 20
```

## Boss Bar

```yaml
message:
  bossbar: 'This is a bossbar!'
  style: segmented 6   # solid, segmented_6, segmented_10, segmented_12, segmented_20
  color: red   # blue, green, pink, purple, red, white, yellow
  duration: 200
  progress:   # At 1.0 bossbar is full, at 0.0 bossbar is empty
    - 1.0
    - 0.9
    - 0.8
    - 0.7
    - 0.6
    - 0.5
    - 0.4
    - 0.3
    - 0.2
    - 0.1
    - 0
```

## Hologram

```yaml
message:
  hologram:
    line: '&a&l+1 Emerald'
    offset: { y: 1 }
  duration: 30
  range: { x: 1, y: 0, z: 1 }
```

## Multi

```yaml
message:
  # Message 1
  - message: This is a chat message combined with
  
  # Message 2
  - title: a title!
```

## Extras

### Delay

```yaml
message:
  delay: 3s
  message: This chat message is delayed by 3 seconds for some reason!
```

### Repetitions

```yaml
message:
  repeat: 3
  message: This chat message is repeated 3 times for some reason!
```

#### Interval

```yaml
message:
  repeat: 3
  interval: 3s
  message: This chat message is repeated 3 times at intervals of 3 seconds!
```


---

# 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://pigaut.gitbook.io/orestack/messages.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.
