MasterServer update
This commit is contained in:
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user