How would go about and make a server side verification?

As the title says.
For example a player shoots another player. And when the shot player receives the RPC i want to do a Server/Client side check. To see if the shot is valid.
How would you go about doing that?


  • Hi @TrilliumLTD,

    you can not run server-side logic on the cloud servers (unless you are an enterprise customer). Besides that server-side logic is only available when you host Photon Server yourself and create a plugin in order to inject custom code to the process.

    An option you have is to use the MasterClient for validation and use him as intermediary for important events, such as 'A player gets shot'.
Sign In or Register to comment.