Skip to content

feat: add optional chat module#311

Draft
RSamaium wants to merge 1 commit into
v5from
feat/rpgjs-chat
Draft

feat: add optional chat module#311
RSamaium wants to merge 1 commit into
v5from
feat/rpgjs-chat

Conversation

@RSamaium

@RSamaium RSamaium commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds an optional @rpgjs/chat module for map-local MMORPG chat.

The module provides:

  • a server-side chat:send handler that validates/sanitizes player messages and broadcasts accepted messages to the sender's current map
  • a CanvasEngine chat GUI registered by the client module
  • shared chat state helpers and options
  • @rpgjs/ui-css chat primitive styles
  • documentation under the GUI section

Notes

This PR does not include the v5 stable-release proposal Markdown document. That local proposal file was removed before publishing, so this PR only contains the chat feature branch changes.

Validation

  • pnpm --dir packages/chat test -- --run
  • pnpm --dir packages/chat build (completed with exit code 0; Vite DTS emitted existing TypeScript diagnostics from packages/common during declaration generation)
  • pnpm --dir docs validate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant