1. ydd

    ydd

    Is that possible?
     
  2. Wulf

    Wulf Community Admin

    Unlikely, as there would be save conflicts with each trying to save to the same file.
     
  3. If they are on the same dedicated host and you want more than 1 server to read and write to the same file for a plugin (for example if I wanted player rank data to be the same on 2 servers) could I make the plugin on both servers point to the same file by setting a custom directory in the save and read functions? I'm just now getting familiar with C# and Oxide, but basing it off of my knowledge of other languages I would assume this is possible unless there's something I don't know about Oxide and you have to use the ReadObject and WriteObject functions. Again, I'm not terribly familiar with Oxide or C# quite yet and am basing everything off my knowledge of C++ and Java, so correct me if I am misunderstanding something.

    Edit: Just re-read what you said and believe I understand what you are saying. I'm assuming you are saying there will be problems with the 2+ servers trying to open the file at the same time?
     
  4. Wulf

    Wulf Community Admin

    I wouldn't recommend trying to share the data, as you'll run into conflicts when they if one updates. In theory it would work to read the data, but if either server saves, the other will likely overwrite the data from the other.
     
  5. Yeah that's what I figured. Thanks for the info!