How to set roomid as number

I am new to colyseus. Can someone guide me on how to set room id as the only number type

Hi @Fitninja, you can override the roomId during onCreate(), you'd have to make sure the id you provide is unique, though.

onCreate() {
  this.roomId = "/* your own id generation here */"