Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. jack1604
  3. Best
  • Profile
  • More
    • Continue chat with jack1604
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Best posts made by jack1604

RE: How create room with different MaxClients in client-side?

i think you need send options max client to server
Example:
1.client
client.join("chat", {max_client:max_client});
2.server
onInit(options) {

var max_client = options.max_client;
this.maxClients= max_client;

}

posted in Questions & Help • 30 Dec 2018, 14:35
create room instance on server

Hello,
i want to create some room instance on server, how to?
i dont want to create room when client call join event, i only want to join room with room id by get list available room
thanks

posted in Questions & Help • 29 Dec 2018, 10:53

© 2023 Endel Dreyer