mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-27 13:15:29 +01:00
Fixed shitty mistakes here and there
This commit is contained in:
parent
456143fabb
commit
ffa628442a
@ -11,6 +11,7 @@
|
||||
|
||||
<name>PlayerBalancer Plugin</name>
|
||||
<artifactId>playerbalancer-plugin</artifactId>
|
||||
<version>2.1.1.1</version>
|
||||
|
||||
<build>
|
||||
<finalName>PlayerBalancer</finalName>
|
||||
|
@ -65,7 +65,7 @@ public enum ProviderType {
|
||||
@Override
|
||||
public ServerInfo requestTarget(PlayerBalancer plugin, ServerSection section, List<ServerInfo> servers, ProxiedPlayer player) {
|
||||
return provider.requestTarget(plugin, section, servers, player);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
EXTERNAL {
|
||||
|
@ -52,6 +52,7 @@ features {
|
||||
# RANDOM: Returns a server selected by a RNG algorithm (random)
|
||||
# PROGRESSIVE: Returns the first server found that is not full
|
||||
# FILLER: Returns the server with the most players online that is not full
|
||||
# EXTERNAL: Returns the server determined by a provider created by other plugin
|
||||
sections {
|
||||
auth-lobbies {
|
||||
provider=RANDOM
|
||||
@ -65,9 +66,7 @@ features {
|
||||
general-lobbies {
|
||||
parent="auth-lobbies"
|
||||
servers=[
|
||||
"Lobby1",
|
||||
"Lobby2",
|
||||
"Lobby3"
|
||||
"Lobby[1-3]"
|
||||
]
|
||||
}
|
||||
|
||||
@ -84,10 +83,7 @@ features {
|
||||
skywars-games {
|
||||
parent="skywars-lobbies"
|
||||
provider=FILLER
|
||||
servers=[
|
||||
"SW_A1", "SW_A2", "SW_A3", "SW_A4", "SW_A5",
|
||||
"SW_B1", "SW_B2", "SW_B3", "SW_B4", "SW_B5"
|
||||
]
|
||||
servers=["SW_A[1-5]", "SW_B[1-5]"]
|
||||
section-server=playskywars
|
||||
section-command {
|
||||
name=skywars
|
||||
@ -115,7 +111,7 @@ features {
|
||||
|
||||
# When true, section servers will show the sum of the players on all servers on that section
|
||||
# Important: This will make some plugins think that your bungeecord has more players than it really does
|
||||
show-players: true
|
||||
show-players=true
|
||||
}
|
||||
|
||||
# Pings servers to see if they are online or not and if they are accessible
|
||||
|
Loading…
Reference in New Issue
Block a user