SharedRoomOpen open

Parameters

open - True lets new players join the room; False turns them away

Description

Lets new players join a server room, or stops them.

Close the room while a round or a race is on, so nobody drops in halfway through, and open it again between rounds. While it is closed, someone joining is turned away with "The room isn't taking new players right now", and Quick Play won't pick it. Players already in the room stay. A room is open until you close it.

Only a server room's server opens and closes it; elsewhere nothing changes and SharedWorldError() says why.

For the full story - server rooms, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample.


See also: SharedRoomPlayers, SharedRoomBots, SharedRoomIdle, HostSharedWorld, MatchSharedWorld.

Index