---
title: "games.announce-frame@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/games.announce-frame"
updated: null
---

# games.announce-frame@1 · OpenVibe.Services

HTML: [games.announce-frame@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/games.announce-frame)

# GamesAnnounceFrame `games.announce-frame@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: games
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/games/announce-frame.v1.json`](/docs/contracts/games.announce-frame.json)

games.announce-frame@1: the frame OpenVibe.Games broadcasts to every connected player for an announcement (gameServer broadcastAll): { t: announce, text }. A mod's announcement text is prefixed with its name in brackets (\[Mod name\] text); the binding itself returns nothing.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `t` | const | yes |  | - `= "announce"` |
| `text` | string | yes |  | - `minLength 1` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: mod

~~~~
{
  "t": "announce",
  "text": "[Harbor Lights] The harbor lights come on at dusk."
}
~~~~

Rejected: wrong-frame

~~~~
{
  "t": "chat",
  "text": "x"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('games.announce-frame@1', value);   // { valid, errors: [{ path, message }] }
~~~~
