Check whenever a player is in a match or not

Hi,
i have a section in my game that gets all the online users, from there you can send them challenge requests and ask them to play with you, the thing is i want to only filter the users that are on the app and doing nothing, they’re not in any games, i will change the section name from “Online users” to “Available to play”

how can i achieve that ?? is there a way that i can check if a player is in an active match or they’re presence in a match??

Thanks.

Hello @meet2play,

You could use a custom stream and use an RPC to place the player there when they’re not in a match, then do a stream listing on it to fetch a list of available players.

1 Like