Public: anyone can read this; the crew can change it.

/forge in game: instant replies, rich text and conversations #18028

open held opened this has it

Stalled: nothing picked it up in 10 minutes

opened this

Owner, 2026-12-04: "great text integration. instant responses. conversations. colors in messages."

1. Instant (target under 300 ms). Prior art: LuckPerms messaging, the Discord gateway as DiscordSRV uses it, Pterodactyl Wings console sockets. Step A, small: the agent sends a sync the moment the proxy marks a request (not on its next 1 s tick), the watcher looks every 100 ms, and the forge answers a read in that same response. Step B: the plugin talks to the agent over a Unix socket (newline-delimited JSON with request ids, no files), and the agent keeps one long-lived stream to the forge with a short-lived token it refreshes, reconnecting with backoff. The forge token stays with the agent, never in the plugin. Plugin handlers never block Velocity event loop; each request times out at 250 ms with a clear fallback.

2. Rich text. Replies as Adventure components (MiniMessage on the forge side): a branded [forge] prefix, colours, hover for details, click to suggest a follow-up command, open URL for links, copy to clipboard for ids. Replies stay private to the player and short; long answers come in a few lines, never a wall.

3. Conversations. /forge ask <words> starts a Talk conversation; /forge reply <words> continues it; a clear command ends it; a per-player cooldown. While Talk works, an action-bar "thinking" line, then the answer in a few lines with [ask more] and [open in Talk] buttons. Chat cannot be edited, so nothing streams in place.

4. Later, behind a version check. 1.21.6 dialog screens for forms (confirmations, settings); whether Velocity can send them is unknown and gets tested first.

Each step is proven by the mineflayer bot in forge-velocity CI before it reaches a live server.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs