Skip to content

Commit

Permalink
Update custom regions
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoCat233 committed Jan 8, 2025
1 parent 8397c8e commit d626608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Modules/ModUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions Resources/at.duikbo.regioninstall.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d626608

Please sign in to comment.