Host multiple servers but not all players in same Userdata folder?

Discussion in 'Hosting Help' started by MileSeven, Apr 29, 2022.

  1. MileSeven

    MileSeven Registered

    Joined:
    Apr 1, 2014
    Messages:
    650
    Likes Received:
    244
    OK - we've got four Player setups in our dedi environment - all of which currently sit under the UserData folder.

    I would like to move two of these players to another folder (say UserData2) as we run a paid-for stats service that hoovers up any player folders under UserData - and we don't want it to run against all four.

    Can this be done from the same rFactor2-Dedicated install (so we keep a single .exe etc.)?

    ...there don't seem to be any pathnames or sub-folders in the shortcuts to launch each Player instance...

    TIA
     
  2. Marcel Offermans

    Marcel Offermans Registered

    Joined:
    Oct 4, 2010
    Messages:
    644
    Likes Received:
    2,925
    I don't think you can. For the competition system we end up running each dedicated server in its own folder, to keep it completely isolated.
     
    MileSeven likes this.
  3. MileSeven

    MileSeven Registered

    Joined:
    Apr 1, 2014
    Messages:
    650
    Likes Received:
    244
    Thanks for the swift reply, Marcel. No problem - we might need to look at that approach instead.
     
  4. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    714
    Likes Received:
    215
    It should work if you use this kind of shortcut :
    Code:
    "E:\rfactor2-dedicated\Bin64\rFactor2 Dedicated.exe" +path=".." +profile=player_GT4
    The +profile option is a switch to use another "player" directory in UserData.

    There should be a player_GT4.JSON to work properly for my example ...
    I tested this kind of configuration and can run multiple servers.
    Just don't forget to add differents ports for the game and the WebUI (port 0 for me).

    And if needed, just use a second steamcmd install ...
     
  5. MileSeven

    MileSeven Registered

    Joined:
    Apr 1, 2014
    Messages:
    650
    Likes Received:
    244
    Thanks - I’ll give it a go but have the individual-install as an backup.
     

Share This Page