question

rima avatar image
rima asked

How can Players select their teams when matchmaking?

Let's say the Match has two Teams that the players can play as:

  • Monster
  • Hunter

Now In a PVP Online Match (Max 10 Players) There will be always 5 Monster Vs 5 Hunter Players.Players are to choose their Teams when creating the matchmaking request and match against other players with different Team.


The Matchmaking Team Configuration on Playfab seems really useful since we can apply Balance and Skill rules, also it does assign player to teams so our game servers have a easier time to parse players team. But the only thing which is crucial to our flow that we are missing is to tell the playfab matchmaker that this Player wishes to Join X team when matchmaking so match him/her with other people with same team choice on the same team and against others with the other team choice.

I Understand that creating two "Match Total Rule" for Each team can match players with preferred team but that means we can't use the Teams + Teams Rules to balance since it can't guarantee that the players land in the correct team.

The ideal method to implement the matchmaking with preferred Team would be:

E.g:

  1. PVP Matchmaking Queue Configured With 2 Teams [Monster and Hunters]
  2. Player A , Creates a Matchmaking Ticket With Preferred Team "Hunter"
  3. Player B, Also Creates a Ticket With Preferred Team "Hunter"
  4. Players C and D , Each Create a Ticket With Preferred Team "Monster"
  5. Completed Matchmaking Teams are as Follow:
    - Team Hunter: Players [A,B]
    - Team Monster: Players [C,D]
apisMatchmakingmultiplayer
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

It is not supported natively by PlayFab. This feature is like multiplayer lobby, where players are free to choose the team side.

However, there are workarounds, considering your scenario is quite near to the solution. You may add one more rule of "Difference Rule" in the current configuration if you want to balance the skill of each player, though the current workaround cannot use "Match Difference Rule".

However, the best workaround is still using an external agent server and migrate the whole matchmaking function externally.

Please also feel free to send a thread in Feature Request forum.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]