Search Unity

Matchmaking permissions

Discussion in 'Multiplayer' started by iShadowfax, Jun 15, 2015.

  1. iShadowfax

    iShadowfax

    Joined:
    Mar 18, 2015
    Posts:
    38
    Is it possible to restrict room creation for clients? And only to allow it for master clients (servers)?
     
  2. JeremyUnity

    JeremyUnity

    Joined:
    Mar 4, 2014
    Posts:
    147
    When a client creates a match is up to you by calling CreateMatch(). It's intended to be called by clients that will be hosting a match, so they can then advance to the relay server with the info they are provided on the response.
     
  3. iShadowfax

    iShadowfax

    Joined:
    Mar 18, 2015
    Posts:
    38
    My situation is:

    I want to run 10-100 docker containers with unity servers (-batchmode)
    Each of them registers it self with CreateMatch()

    But I do not want to allow clients (that are not dedicated servers) to create matches.