The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Close room even if others are in it?

2014-01-21 02:37:15

Hi all,

I have a server that creates a room at the moment on cloud, but I want to be able to close the room and boot all the players. Is this possible?




[Deleted User]
2014-01-21 12:37:16

Hi Doomie,

You can use property for closing the room.

2014-01-21 15:17:40

Can you elaborate on that please as doesn't exist that I can see.


[Deleted User]
2014-01-21 16:34:14

Use for getting and accessing the properties of the room you are currently in.

2014-01-23 11:51:29

Setting to false will not kick players from a room. It will keep others from joining. The "visible" property removes the room from the lobby's listing.

You can kick everyone by RPC, if you wanted to. Just send a RPC and implement the method for it to leave the room.

Back to top