@endel Thanks for your answer . I use this solution for set data to setMetadata and This code work well: Client side (local): room = client.join('create_or_join', { create: true, name:'hi2020', gametype:1 }); Server side (TS file): onInit (options) { this.setMetadata({ name: options.name, gametype: options.gametype, });}