Page 1 of 1

private status?

Posted: 08 Jan 2010, 20:12
by FragOnly
Hello

I was wondering if its possible to toggle or make a room private (password protected) after it has been created?

Posted: 10 Jan 2010, 11:21
by Lapo
No, it is possible to do it upon creation.

Posted: 10 Jan 2010, 20:43
by BigFIsh
Really? Not even possible?

What about via server side? i.e. setPassword(String)

Posted: 11 Jan 2010, 16:38
by Lapo
Yes, you can do it from server side but it will go out of synch with the client which will anyways see the Room as not password protected.

FYI: this is going to change with our next major release where Rooms will be dynamically rename-able, resizeable and password lock/unlock-able.

Stay tuned for more news on this in the next months

Posted: 11 Jan 2010, 19:06
by FragOnly
Thanks for the replies,

is there another method of somehow notifying the clients that a room is no longer available to join?

I am using it as a game room, when the game is started it should not be join-able any longer.

Posted: 12 Jan 2010, 09:15
by Lapo
Yes, this can be done from server side.
You should inhibit the possibility joining Rooms from client side (by configuring the <DisabledSysActions> in your Zone) and perform the join from server side, via extension calls.
This way you can add your custom logic before joining and check whether a Room is joinable etc...