Hi I’m new to Nakama, I would like to ask how to have a Unique Lobby Room Name in Nakama wherein if it’s created with that name, other players wouldn’t be able to create a room with that name. I already tried using CreateMatchAsync and it seems that you can create matches with same matchName that are not unique.
I was thinking to make an authorative or rpc for create match and send the name as payload and use nk.MatchList to check whether there is a match with that name so it wouldn’t create it but i’m concern if using or calling nk.MatchList always to create room with unique name will affect signafically the performance as it need to always filter a room name. I was thinking also using StorageWrite to save the room name and query it to check if it exist already but I’m not sure what approach is better.
I want to have a unique name so a player can have a choice to just input the room name in a text field on a the client side to join a match since MatchID are very long to be inputted also.
Any suggestion how to do this properly?