Описание
# COH (Chat Over Heads)
Chat bubbles that show what a player is typing above their head in real time and stay around for a few seconds when the message is sent.
Rendering is server-side with vanilla text_display entities. Install only needs to be serverside for rendering, for typing in real time you need the client install too.
## Privacy
What you're typing reaches the server before you press enter. Opt-outs:
- `config/coh/client.json`: `"enabled": false` disables all transmission.
- Messages starting with `-- hide`, `// hide` or `# hide` are never sent.
- Commands are never sent.
- `config/coh/server.json`: `"enabled": false` disables the feature server-wide.
## Server config (`config/coh/server.json`)
| Key | Default | Meaning |
|----------------------|---------|------------------------------------------------|
| `enabled` | `true` | Master switch |
| `viewRange` | `0.5` | Visibility range (about 32 blocks) |
| `throttleMs` | `150` | Min interval between typing updates |
| `popupSeconds` | `6.0` | How long sent messages linger |
| `idleTimeoutSeconds` | `15.0` | Removes typing bubbles that stop updating |
| `maxChars` | `256` | Length clamp |
| `lineWidth` | `200` | Word-wrap width |
| `hideWhileSneaking` | `true` | Sneaking hides your bubble |
| `showTypingIndicator`| `true` | Show a "…" bubble while chat is open but empty |
| `followMode` | `RIDE` | `RIDE` (passenger) or `TELEPORT` (fallback) |
| `headOffsetY` | `0.9` | Bubble height above the head |