Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. LouisonDVC
    L

    LouisonDVC

    @LouisonDVC

    Chat Follow Unfollow
    0
    Reputation
    1
    Posts
    457
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Continue chat with LouisonDVC
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    LouisonDVC Follow

    Posts made by LouisonDVC

    Destroy a room after a set duration if no one joined it (sovled)

    Hi, I'm building an app that enables users to create room for players before them joining it, but I need the room to destroy itself after a few hours if no one joined it. Right now, if some players join a room, when they leave the room calls the onDispose() event and is shutdown. But if no one joins it, it stays iddle with no limit.
    Is there a way to set a timeout if nothing is made on the room after a given time? I've checked the documentation with no luck.
    Thanks a lot!

    posted in Questions & Help •