MasterServer update

This commit is contained in:
EntenKoeniq
2021-07-12 01:08:52 +02:00
parent a6e3630425
commit 891190cecd
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ namespace CoopServer
"\"allowlist\": \"" + Server.MainSettings.Allowlist + "\"" +
" }";
HttpResponseMessage response = await client.PostAsync("http://localhost:8081/servers", new StringContent(msg, Encoding.UTF8, "application/json"));
HttpResponseMessage response = await client.PostAsync(Server.MainSettings.MasterServer, new StringContent(msg, Encoding.UTF8, "application/json"));
string responseContent = await response.Content.ReadAsStringAsync();

View File

@ -8,7 +8,7 @@
public string WelcomeMessage { get; set; } = "Welcome on this server :)";
public bool Allowlist { get; set; } = false;
public bool NpcsAllowed { get; set; } = true;
public string MasterServer { get; set; } = "localhost";
public string MasterServer { get; set; } = "https://gtacoopr.entenkoeniq.de/servers";
public bool AnnounceSelf { get; set; } = true;
public bool DebugMode { get; set; } = false;
}