diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-06-17 16:15:40 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-06-17 16:15:40 +0900 |
| commit | c678bd15324dad0519cb1d9a4c58202a981ee8e2 (patch) | |
| tree | 12e31ff3ba8b34fc95b1fe5b3279e02079b8c99b /website/src | |
| parent | 7e06f2d77e121827e7eabdcb508deb04417b0860 (diff) | |
| download | LunaticChat-c678bd15324dad0519cb1d9a4c58202a981ee8e2.tar.gz LunaticChat-c678bd15324dad0519cb1d9a4c58202a981ee8e2.tar.bz2 LunaticChat-c678bd15324dad0519cb1d9a4c58202a981ee8e2.zip | |
feat: add cross-server direct messaging via Velocity
Allow /tell and /reply to reach players on other Paper servers behind a
Velocity proxy using the "<player>@<server>" target syntax.
Engine (protocol bumped 1.0.0 -> 1.0.1, optional sub-channels):
- Add DirectMessageRelay, DirectMessageError, PresenceSnapshot/PresenceEntry
and PresenceRequest messages plus codec branches.
Velocity:
- CrossServerDirectMessageRelay routes a DM to the target server (or returns
a delivery error to the source).
- PresenceTracker broadcasts proxy-wide presence snapshots on join/quit/switch
and on request.
Paper:
- RemotePlayerRegistry caches proxy presence for completion and remote target
resolution.
- CrossServerDirectMessageManager handles send/receive/error and dedup.
- DirectMessageHandler reply state generalized to ReplyTarget (Local/Remote)
so /reply works across servers.
- TellCommand parses "name@server", completes local names and remote
name@server targets, and uses exact local name matching.
- New crossServerDirectMessage config flag and i18n keys (en/ja).
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'website/src')
0 files changed, 0 insertions, 0 deletions
