question

Rob Alvarez avatar image
Rob Alvarez asked

Is there a way to post a system message to all servers to notify players of game events\expected shutdowns?

Looking for a way to be able to send out a broadcast message to tell players a new version\update is available or events are active. Can this be done via PlayFab or does this have to exist within our game code?

CloudScriptgame manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

We're working on providing a PubSub (publish/subscribe) service in future that you'll be able to use to subscribe clients to get events from the service. That will require a socket connection though, since that's the only way for clients to get immediate notification. In the short term (and potentially long term, if you don't want to go that route), we'd recommend putting any information about upcoming events in your Title Data, so that clients can query for that on login.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jpgordon00 avatar image jpgordon00 commented ·

Is your Pub/Sub service still available in preview stage to developers who request it?

0 Likes 0 ·
brendan avatar image brendan jpgordon00 commented ·

The way our private previews work is that the team developing the feature has to do all support directly, so they have to strictly limit the number of titles that are in the preview. Once something is in public preview, support is handed off to our support team, at which point we can let all developers try it out. Right now, the PubSub team is very heads-down on getting the feature to completion so that they can push it to public preview, so I'm afraid they're unable to add more titles. Please keep an eye on our blog page (Microsoft Azure PlayFab Blog), where we'll post about the feature as soon as it's available in public preview.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.