Globally Notification/Event
Vikash
✭
Hello team,
Please provide a solution for sending notifications/events to all the users connected to the server irrespective of their rooms or lobby.
Thanks
Ram
Please provide a solution for sending notifications/events to all the users connected to the server irrespective of their rooms or lobby.
Thanks
Ram
0
Comments
-
Actually the question is regarding photon self hosted server plugin. Please specify how can we access room list on server side plugin. We just need to send notification to any active actor connected to our photon server irrespective of room or lobby.0
-
Hi, @Vikash
You may send messages from one client to another inside same room by setting actorId. Also by setting actorId you may send event to speciefic actor(s) using BroadcastEvent method.
how to use them you may find in the documentation
Plugins:
https://doc.photonengine.com/en-us/server/current/plugins/manual
UPDATE:
Client docs
https://doc.photonengine.com/en-us/realtime/current/getting-started/quick-start#sendevents
there is no built-in way to send something between players in different rooms and different servers. You should use extra communication channel to achieve this
best,
ilya0