Skip to content

Commit ffa6284

Browse files
committed
Fixed shitty mistakes here and there
1 parent 456143f commit ffa6284

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Main Plugin/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
<name>PlayerBalancer Plugin</name>
1313
<artifactId>playerbalancer-plugin</artifactId>
14+
<version>2.1.1.1</version>
1415

1516
<build>
1617
<finalName>PlayerBalancer</finalName>

Main Plugin/src/main/java/com/jaimemartz/playerbalancer/connection/ProviderType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ServerInfo requestTarget(PlayerBalancer plugin, ServerSection section, Li
6565
@Override
6666
public ServerInfo requestTarget(PlayerBalancer plugin, ServerSection section, List<ServerInfo> servers, ProxiedPlayer player) {
6767
return provider.requestTarget(plugin, section, servers, player);
68-
}
68+
}
6969
},
7070

7171
EXTERNAL {

Main Plugin/src/main/resources/default.conf

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ features {
5252
# RANDOM: Returns a server selected by a RNG algorithm (random)
5353
# PROGRESSIVE: Returns the first server found that is not full
5454
# FILLER: Returns the server with the most players online that is not full
55+
# EXTERNAL: Returns the server determined by a provider created by other plugin
5556
sections {
5657
auth-lobbies {
5758
provider=RANDOM
@@ -65,9 +66,7 @@ features {
6566
general-lobbies {
6667
parent="auth-lobbies"
6768
servers=[
68-
"Lobby1",
69-
"Lobby2",
70-
"Lobby3"
69+
"Lobby[1-3]"
7170
]
7271
}
7372

@@ -84,10 +83,7 @@ features {
8483
skywars-games {
8584
parent="skywars-lobbies"
8685
provider=FILLER
87-
servers=[
88-
"SW_A1", "SW_A2", "SW_A3", "SW_A4", "SW_A5",
89-
"SW_B1", "SW_B2", "SW_B3", "SW_B4", "SW_B5"
90-
]
86+
servers=["SW_A[1-5]", "SW_B[1-5]"]
9187
section-server=playskywars
9288
section-command {
9389
name=skywars
@@ -115,7 +111,7 @@ features {
115111

116112
# When true, section servers will show the sum of the players on all servers on that section
117113
# Important: This will make some plugins think that your bungeecord has more players than it really does
118-
show-players: true
114+
show-players=true
119115
}
120116

121117
# Pings servers to see if they are online or not and if they are accessible

0 commit comments

Comments
 (0)