Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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

    Unity Technologies

    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.