Close Room by Server/Cloud via Web

Options
AndreWe
AndreWe ✭✭
Is it possible to close a certain room by the server/photon-cloud itself without using a client. Maybe with a web API or something like that?
Scenarios:
For a Demo version we want to close a room automatically after 5 minutes, without the need of the clients to do it (due to hacks etc.)
If the user changes it's plan from Premium to Free, all rooms should be closed which uses Premium features and are still online.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @AndreWe,

    This feature is not available out-of-the-box.

    I think you need a Photon Plugin that removes actors.
    If the room is empty and not joinable, it will be deleted after EmptyRoomTTL.
  • AndreWe
    Options
    Thank you for your Feedback.

    To create/add such a plugin, we need to host Photon by our self (Photon-Server?), or can we use your cloud and add a plugin there (maybe a certain PLAN)?

    We are currently using PUN, will this also work with self-hosting?