diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-09-28 23:43:14 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-09-28 23:43:14 +0900 |
| commit | 388ae4ef14ec620e6f1fe2ce8a8ea8e3a816d10d (patch) | |
| tree | 79e79355b5e407bbd6d71b3a7010c6f4348ab261 /website/src/ja/docs/reference | |
| parent | a22fce70db7b43aadd8baa42e87a4430a8b1e05f (diff) | |
| download | LunaticChat-388ae4ef14ec620e6f1fe2ce8a8ea8e3a816d10d.tar.gz LunaticChat-388ae4ef14ec620e6f1fe2ce8a8ea8e3a816d10d.tar.bz2 LunaticChat-388ae4ef14ec620e6f1fe2ce8a8ea8e3a816d10d.zip | |
feat: carry the sender's world in cross-server direct messages
{world} rendered empty for a direct message from another server, which
left formats like "({world})" showing a bare pair of brackets. The relay
now carries the sender's world as an optional field, so this is a PATCH
bump (protocol 1.0.2) and either side can be updated first; an older
sender or proxy still yields an empty value.
The world is read once per message, so the sender, the spies and the
relayed copy can no longer disagree if the sender changes worlds mid-way.
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'website/src/ja/docs/reference')
| -rw-r--r-- | website/src/ja/docs/reference/message-format.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/src/ja/docs/reference/message-format.md b/website/src/ja/docs/reference/message-format.md index 79c6745..9e98bf8 100644 --- a/website/src/ja/docs/reference/message-format.md +++ b/website/src/ja/docs/reference/message-format.md @@ -17,7 +17,7 @@ layout: doc | `{message}` | メッセージの内容 | すべて | | `{channel}` | チャンネル名 | `channelMessageFormat` | | `{server}` | サーバー名 | `crossServerGlobalChatFormat` | -| `{world}` <Badge type="tip" text="v1.5.0~" /> | 送信者がいるワールド名.別サーバーから届いたダイレクトメッセージでは空になります | `directMessageFormat`, `channelMessageFormat` | +| `{world}` <Badge type="tip" text="v1.5.0~" /> | 送信者がいるワールド名.別サーバーから届いたダイレクトメッセージでは,送信側が Paper v1.5.0 以降かつ Velocity v1.3.1 以降でないと空になります | `directMessageFormat`, `channelMessageFormat` | | `{display_name}` <Badge type="tip" text="v1.5.0~" /> | 送信者の表示名.他のプラグインが設定した色も含みます | `channelMessageFormat` | | `{channel_id}` <Badge type="tip" text="v1.5.0~" /> | チャンネル ID | `channelMessageFormat` | | `{role}` <Badge type="tip" text="v1.5.0~" /> | チャンネル内での送信者の役割 (オーナー / モデレーター / メンバー) | `channelMessageFormat` | |
