Open helen-fornazier opened 9 months ago
Guest list is actually for the list of who has access, for spaces where access is restricted by email. There's no way to tell who's online with the http API, you have to use the ws API, like this: https://github.com/gathertown/mod-basic-player-listener (look at game.players
directly instead of listening for move events)
Also, the forum (forum.gather.town) is a better place to ask questions like this since more people will see it!
Thanks, I didn't know about the ws api (I guess ws stands for webserver?) I see now there are tons of things we can do using thie Game API http://gather-game-client-docs.s3-website-us-west-2.amazonaws.com/classes/Game.html
Do you know if there is any requirement to use it? Or can I use it in the free version? (I guess I should post this question in the forum, thanks anyway)
ah sorry -- it's ws for websocket. it's very experimental right now but yes anyone can use it!
Hey, thanks for this examples, I was reading the docs here and I didn't understand if the
getEmailGuestlist
would return only online people, or only guests and not members. I was wonder if you know a way to see who is online or not at a given moment.thanks!