Search Unity

Third Party Running Mirror server in a separate project

Discussion in 'Multiplayer' started by marccalafell, Dec 14, 2021.

  1. marccalafell

    marccalafell

    Joined:
    Aug 21, 2019
    Posts:
    6
    Okay, So I want to make a survival type of game. I would like the players to be able to host their own servers in a separate .exe, like Minecraft system, is this possible with mirror? or i would have to create my own server system form scratch?
     
  2. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    Server & client are one project, that's the whole idea behind Mirror (hence the name).
    In your case, players could simply use their game client and host a server with the same exe.
     
  3. marccalafell

    marccalafell

    Joined:
    Aug 21, 2019
    Posts:
    6
    is there any way to execute the server in .bat file?