Hi,
In our project we have a self hosted (non photon) server which handles persistent state and certain game logic.
My question is regarding the options available for the our server to communicate with the PUN cloud service, in order to be involved in game events in an authoritative way. I'll give two examples of what we are trying to acheive:
1. When a player joins a room, own-server should verify that the player has rights to join that room, otherwise join should be rejected.
In this case webhooks and PathJoin/GameJoin looked quite promising. (I.e. Photon would call our server when a player tried to join a room, and our server would have a chance to reject it). However, I read in another thread that " PathJoin cannot cancel join operation", so this seems impossible (if still the case).
2. Own-server should be able to send command to PUN cloud server to kick a particular player.
(I haven't found a possible approach for this yet)
Please could someone at photon advise on what might be the best approach for these requirements?
Thank you!
S
In our project we have a self hosted (non photon) server which handles persistent state and certain game logic.
My question is regarding the options available for the our server to communicate with the PUN cloud service, in order to be involved in game events in an authoritative way. I'll give two examples of what we are trying to acheive:
1. When a player joins a room, own-server should verify that the player has rights to join that room, otherwise join should be rejected.
In this case webhooks and PathJoin/GameJoin looked quite promising. (I.e. Photon would call our server when a player tried to join a room, and our server would have a chance to reject it). However, I read in another thread that " PathJoin cannot cancel join operation", so this seems impossible (if still the case).
2. Own-server should be able to send command to PUN cloud server to kick a particular player.
(I haven't found a possible approach for this yet)
Please could someone at photon advise on what might be the best approach for these requirements?
Thank you!
S