GitHub Documentation Patreon donate button

Join specific room by conditions (v. 0.11.x)



  • Hello all.
    I am considering the possibility of updating Colyseus from version 0.10 to 0.11 but I can’t understand how you can join to the specific room using certain conditions.
    For example, in version 0.10, I did that the requestJoin function always returned true if there was at least 1 player friend in the room (check by "customId" in room state).
    How can certain conditions for connection be written in the new matchmaking system? These conditions should depend on the join options from client.
    @endel maybe you can clear out this point plz?
    Thanks


 

GitHub Documentation Patreon donate button

© 2019 Endel Dreyer