Add priority servers, update servers_v7.json (#8720)

* Update servers_v7.json

* Add priority server outlining and bumping

* a

* chore: A little bit of cleanup :)

* json

* fixed no-server issue

* removed cursed duplication

---------

Co-authored-by: phinner <62483793+Phinner@users.noreply.github.com>
This commit is contained in:
router
2023-06-23 21:00:00 +03:00
committed by GitHub
parent a20ca67527
commit 591c31fd29
3 changed files with 51 additions and 24 deletions

View File

@@ -5,10 +5,16 @@ import arc.*;
public class ServerGroup{
public String name;
public String[] addresses;
public boolean prioritized = false;
public ServerGroup(String name, String[] addresses){
public ServerGroup(String name, String[] addresses, boolean prioritized){
this.name = name;
this.addresses = addresses;
this.prioritized = prioritized;
}
public ServerGroup(String name, String[] addresses){
this(name, addresses, false);
}
public ServerGroup(){