How to send a signal from the room to a server

Options
I want to hold some player information on a MySQL database without losing the room based functionality of real-time, chat and voice. I can send data from the players to the server but this is a security risk, it would be much better if there was a signal player clients can send a signal to the room to send data to the server.

Is it possible for me to tell a room to connect to another server and activate php scripts?

Comments

  • Hakazaba
    Options
    Since writing this comment i discovered Webhooks. If anyone is looking for the same thing. Scroll down within the management interface for your photon and you will find a webhooks section.
  • Hakazaba
    Hakazaba
    edited November 2019
    Options
    I'm still very confused about how to send tell the room to send webhooks from the api. The only thing i can find is the webflags class which is just a few bools changing how webhooks work, nothing that actually triggers them outside of the default events.