So this new service arrived (i am a beta member).
I was wondering on how you could create a server-wide announcement in my game.
This could be important for huge events, like a rebirth. (not with 1000s, just max 10)
Rebirthing will be super rare in my game, and this is important.
If itâs a Server-Wide announcement then MessagingService really isnât needed. If youâre trying to do a Global Message across all servers. Then MessagingService would be your best friend here.
But to explain how youâd do a Global One with MessagingService. The two API function you want to use are PublicAsync and SubscribeAsync.
When the SubscribeAsync function fires you can fire a RemoteEvent to all clients which triggers them to use StarterGui:SetCore(âChatMakeSystemMessageâ).
If itâs only a specific server you want to have the announcement on. Then all you need to do is when the Server detects a âRebirthâ event in a server. Have it fire the RemoteEvent which triggers ChatMakeSystemMessage in the client.
3 Likes