Would it be possible to make multiple rooms from server launch?
Options
Is there a way to create multiple empty rooms on server launch. Say I want 20 rooms for ranked server. Each room is used for a different rank level. When a user clicks to find a ranked room it will find one of the already created rooms with people in it at their rank and join it.
0
Best Answer
-
Hi @relicright,
Are you using Photon Server or Photon Cloud?
For Photon Cloud, you can only create rooms from clients.
For Photon Server you can make custom code to do this.
I can't understand the ranked rooms use case and how is it related to creating rooms at server startup.5
Answers
-
Yes, it is possible. Why do you think it isn't?
With custom properties, you can make rooms with a different rank level.0 -
Hi @relicright,
Are you using Photon Server or Photon Cloud?
For Photon Cloud, you can only create rooms from clients.
For Photon Server you can make custom code to do this.
I can't understand the ranked rooms use case and how is it related to creating rooms at server startup.5 -
I think i may have been going about this the wrong way. Instead i have the player checking if there is a room withing their rank available. If no room is available, it will create a new room and set the custom properties for rank based on their rank. Thanks for the insight.
0