Switch GeoIP database from MaxMind to IP2Location.
The IP2Location data is licensed under CC BY-SA, which allows us to distribute the database with releases.
This commit is contained in:
@@ -82,13 +82,12 @@ namespace OpenRA
|
||||
[Desc("Sets the timestamp format. Defaults to the ISO 8601 standard.")]
|
||||
public string TimestampFormat = "yyyy-MM-ddTHH:mm:ss";
|
||||
|
||||
[Desc("Path to a MaxMind GeoLite2 database to use for player geo-location.",
|
||||
"Database files can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/")]
|
||||
public string GeoIPDatabase = null;
|
||||
|
||||
[Desc("Allow clients to see anonymised IPs for other clients.")]
|
||||
public bool ShareAnonymizedIPs = true;
|
||||
|
||||
[Desc("Allow clients to see the country of other clients.")]
|
||||
public bool EnableGeoIP = true;
|
||||
|
||||
public ServerSettings Clone()
|
||||
{
|
||||
return (ServerSettings)MemberwiseClone();
|
||||
|
||||
Reference in New Issue
Block a user