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/docs | |
| 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/docs')
| -rw-r--r-- | website/src/docs/reference/message-format.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/src/docs/reference/message-format.md b/website/src/docs/reference/message-format.md index b0976fa..61496b8 100644 --- a/website/src/docs/reference/message-format.md +++ b/website/src/docs/reference/message-format.md @@ -17,7 +17,7 @@ These are the only settings `/lc reload` <Badge type="tip" text="v1.4.0~" /> app | `{message}` | Message content | All | | `{channel}` | Channel name | `channelMessageFormat` | | `{server}` | Server name | `crossServerGlobalChatFormat` | -| `{world}` <Badge type="tip" text="v1.5.0~" /> | World the sender is in. Empty for a direct message from another server | `directMessageFormat`, `channelMessageFormat` | +| `{world}` <Badge type="tip" text="v1.5.0~" /> | World the sender is in. For a direct message from another server, empty unless the sending server runs Paper v1.5.0+ and the proxy runs Velocity v1.3.1+ | `directMessageFormat`, `channelMessageFormat` | | `{display_name}` <Badge type="tip" text="v1.5.0~" /> | Display name of the sender, including colors set by other plugins | `channelMessageFormat` | | `{channel_id}` <Badge type="tip" text="v1.5.0~" /> | Channel ID | `channelMessageFormat` | | `{role}` <Badge type="tip" text="v1.5.0~" /> | Sender's role in the channel (Owner / Moderator / Member) | `channelMessageFormat` | |
