CREATE YOUR WORLD
Multiplay
Temporarily Restricting Room Access in Multiplay
4min
You can use the lock, unlock function to restrict or allow room access at your desired timing.
📘 Please refer to the following guide. [ZEPETO.Multiplay(Server) API]
The lock function is a function restricts room access.
The unlock function is a function that allows room access. But, if the number of people who are currently connected is the same as the maximum number of people allowed in the room, the room cannot be unlocked.
The following is an example code that uses the lock and unlock functions.
👍 Difference between lock and private functions
- The locked multiplayer room is not visible in the ZEPETO room list and cannot be entered by invitation.
- Private multiplayer rooms are not shown in the list of ZEPETO rooms, but invitations are acceptable.
Updated 10 Oct 2024
Did this page help you?