export const beforeMatchmakerAdd: nkruntime.RtBeforeHookFunction<nkruntime.EnvelopeMatchmakerAdd> = function (ctx: nkruntime.Context, logger: nkruntime.Logger, nk: nkruntime.Nakama, envelope: nkruntime.EnvelopeMatchmakerAdd): nkruntime.EnvelopeMatchmakerAdd | void {
envelope.matchmakerAdd.query = "*"
envelope.matchmakerAdd.minCount = 30
envelope.matchmakerAdd.maxCount = 30
return envelope;
}
I set the min and max values of matchmaker to 30. In the test environment, 30 people search the game at the same time, but 30 people cannot match at once. Is there something wrong with what I did or is there somewhere I should check?