diff --git a/Modules/ModUpdater.cs b/Modules/ModUpdater.cs index 51f740c94..0330dfcf2 100644 --- a/Modules/ModUpdater.cs +++ b/Modules/ModUpdater.cs @@ -85,7 +85,7 @@ private static void CheckCustomRegions() foreach (var region in regions) { - if (region.Name.Contains("Niko233(NA_US)", StringComparison.OrdinalIgnoreCase) || region.Name.Contains("NikoCat233", StringComparison.OrdinalIgnoreCase) || region.Name.Contains("Niko233(EU)", StringComparison.OrdinalIgnoreCase)) + if (region.Name.Contains("Niko233(NA_US)", StringComparison.OrdinalIgnoreCase) || region.Name.Contains("NikoCat233", StringComparison.OrdinalIgnoreCase) || region.Name.Contains("Niko233(EU2)", StringComparison.OrdinalIgnoreCase)) { forceUpdate = true; break; diff --git a/Resources/at.duikbo.regioninstall.cfg b/Resources/at.duikbo.regioninstall.cfg index 68db5f91c..ec37eabbc 100644 --- a/Resources/at.duikbo.regioninstall.cfg +++ b/Resources/at.duikbo.regioninstall.cfg @@ -6,10 +6,10 @@ ## Create an array of regions you want to add/update. To create this array, go to https://impostor.github.io/Impostor/ and put the Regions array from the server file in here # Setting type: String # Default value: {\"CurrentRegionIdx\":0,\"Regions\":[]} -Regions = { "CurrentRegionIdx": 3, "Regions": [ { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(NA)", "PingServer": "154.9.255.5", "Servers": [ { "Name": "http-1", "Ip": "https://au-us.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(AS)", "PingServer": "https://au-as.niko233.me", "Servers": [ { "Name": "http-1", "Ip": "https://au-as.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(CN)", "PingServer": "play.simpfun.cn", "Servers": [ { "Name": "http-1", "Ip": "https://au-cn.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded EU (MEU)", "PingServer": "https://au-eu.duikbo.at", "Servers": [ { "Name": "Http-1", "Ip": "https://au-eu.duikbo.at", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded NA (MNA)", "PingServer": "https://aumods.org", "Servers": [ { "Name": "Http-1", "Ip": "https://aumods.org", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded Asia (MAS)", "PingServer": "https://au-as.duikbo.at", "Servers": [ { "Name": "Http-1", "Ip": "https://au-as.duikbo.at", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 } ] } +Regions = { "CurrentRegionIdx": 2, "Regions": [ { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(NA)", "PingServer": "https://au-us.niko233.me", "Servers": [ { "Name": "http-1", "Ip": "https://au-us.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(AS)", "PingServer": "https://au-as.niko233.me", "Servers": [ { "Name": "http-1", "Ip": "https://au-as.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(EU)", "PingServer": "https://au-eu.niko233.me", "Servers": [ { "Name": "http-1", "Ip": "https://au-eu.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Niko233(CN)", "PingServer": "play.simpfun.cn", "Servers": [ { "Name": "http-1", "Ip": "https://au-cn.niko233.me", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded EU (MEU)", "PingServer": "https://au-eu.duikbo.at", "Servers": [ { "Name": "Http-1", "Ip": "https://au-eu.duikbo.at", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded NA (MNA)", "PingServer": "https://aumods.org", "Servers": [ { "Name": "Http-1", "Ip": "https://aumods.org", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 }, { "$type": "StaticHttpRegionInfo, Assembly-CSharp", "Name": "Modded Asia (MAS)", "PingServer": "https://au-as.duikbo.at", "Servers": [ { "Name": "Http-1", "Ip": "https://au-as.duikbo.at", "Port": 443, "UseDtls": false, "Players": 0, "ConnectionFailures": 0 } ], "TargetServer": null, "TranslateName": 1003 } ] } ## Comma-seperated list of region names that should be removed. # Setting type: String # Default value: -RemoveRegions = Niko233(NA_US),Niko233(NA_US2),Niko233(AS_CN),Niko233(AS_CN2),NikoCat233(US),NikoCat233(CN),Niko233(AS3),Niko233(NA2),Niko233(EU2),Niko233(AS2),Niko233(EU),Niko233(EU2),Custom +RemoveRegions = Niko233(NA_US),Niko233(NA_US2),Niko233(AS_CN),Niko233(AS_CN2),NikoCat233(US),NikoCat233(CN),Niko233(AS3),Niko233(NA2),Niko233(EU2),Niko233(AS2),Custom