roblox-text-chat
Installation
SKILL.md
Roblox Text Chat
When to Load
Any player-to-player text: chat windows, channels, commands, bubbles, presets, and editable text others can see (signs, names, boards). Remote validation: roblox-networking; abuse paths: roblox-security; chat UI placement: roblox-gui.
Quick Reference
- Chat = a back-and-forth in under 60 s, and it must use
TextChatService(radios, phones, DMs, team or admin chat included). Anything else risks takedown or temporary text limits. - Editable text others see: server
TextService:FilterStringAsync+ at most one submission per player per 60 s; comments can't have replies. - Channels:
TextChannelunderTextChatService; serverShouldDeliverCallbackdecides who receives. Direct chat:SetDirectChatRequester. Gate UI withCanUserChatAsync/CanUsersChatAsync. - Commands:
TextChatCommand(PrimaryAlias/SecondaryAlias, case-insensitive;TextChatCommandMatchModeStartsWithdefault).Triggeredfires on the sender's client and the server: authorize on the server. - Callbacks never yield.
OnIncomingMessage,OnBubbleAdded,OnChatWindowAddedare client-only;ShouldDeliverCallbackserver-only. - Bubbles:
BubbleChatConfiguration; per-bubble viaOnBubbleAdded; NPCs via clientDisplayBubble. - Platform-integrated chat : required for all games from May 2027. Enable in Studio only. Then message text reads
"", custom UIs useTextChannelWindow(oneTargetchannel), commands must beTextChatCommand, presets go through Quick Words. - Quick Words: Creator Hub, up to 3 categories of 3–10 phrases, under 25 chars, English, auto-translated, reviewed.
- Legacy
Chatis deprecated: setChatVersion = TextChatService; replaceSetExtraDatawith attributes +OnChatWindowAdded.
Pipeline, compliance, migration, code: references/full.md