mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 04:20:32 +01:00
Removed feature: forced-entry-section
This commit is contained in:
parent
bf71b5263e
commit
faf8a56cac
@ -1,19 +1,14 @@
|
|||||||
package com.jaimemartz.playerbalancer.section;
|
package com.jaimemartz.playerbalancer.section;
|
||||||
|
|
||||||
import com.google.common.collect.Iterables;
|
|
||||||
import com.jaimemartz.playerbalancer.settings.props.features.BalancerProps;
|
import com.jaimemartz.playerbalancer.settings.props.features.BalancerProps;
|
||||||
import net.md_5.bungee.BungeeServerInfo;
|
import net.md_5.bungee.BungeeServerInfo;
|
||||||
import net.md_5.bungee.api.config.ServerInfo;
|
import net.md_5.bungee.api.config.ServerInfo;
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
|
||||||
import java.util.stream.Collector;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
|
||||||
|
|
||||||
public class SectionServer extends BungeeServerInfo {
|
public class SectionServer extends BungeeServerInfo {
|
||||||
private final BalancerProps props;
|
private final BalancerProps props;
|
||||||
|
@ -7,7 +7,6 @@ import com.jaimemartz.playerbalancer.utils.AlphanumComparator;
|
|||||||
import net.md_5.bungee.api.config.ServerInfo;
|
import net.md_5.bungee.api.config.ServerInfo;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.NavigableSet;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
|
@ -21,9 +21,6 @@ public class FeaturesProps {
|
|||||||
@Setting(value = "server-refresh")
|
@Setting(value = "server-refresh")
|
||||||
private ServerRefreshProps serverRefreshProps;
|
private ServerRefreshProps serverRefreshProps;
|
||||||
|
|
||||||
@Setting(value = "force-entry-section")
|
|
||||||
private ForcedEntrySectionProps forcedEntrySectionProps;
|
|
||||||
|
|
||||||
public BalancerProps getBalancerProps() {
|
public BalancerProps getBalancerProps() {
|
||||||
return balancerProps;
|
return balancerProps;
|
||||||
}
|
}
|
||||||
@ -64,14 +61,6 @@ public class FeaturesProps {
|
|||||||
this.serverRefreshProps = serverRefreshProps;
|
this.serverRefreshProps = serverRefreshProps;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ForcedEntrySectionProps getForcedEntrySectionProps() {
|
|
||||||
return forcedEntrySectionProps;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setForcedEntrySectionProps(ForcedEntrySectionProps forcedEntrySectionProps) {
|
|
||||||
this.forcedEntrySectionProps = forcedEntrySectionProps;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "FeaturesProps{" +
|
return "FeaturesProps{" +
|
||||||
@ -80,7 +69,6 @@ public class FeaturesProps {
|
|||||||
", serverCheckerProps=" + serverCheckerProps +
|
", serverCheckerProps=" + serverCheckerProps +
|
||||||
", kickHandlerProps=" + kickHandlerProps +
|
", kickHandlerProps=" + kickHandlerProps +
|
||||||
", serverRefreshProps=" + serverRefreshProps +
|
", serverRefreshProps=" + serverRefreshProps +
|
||||||
", forceEntrySectionProps=" + forcedEntrySectionProps +
|
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
package com.jaimemartz.playerbalanceraddon;
|
package com.jaimemartz.playerbalanceraddon;
|
||||||
|
|
||||||
import me.clip.placeholderapi.PlaceholderAPI;
|
|
||||||
import me.clip.placeholderapi.external.EZPlaceholderHook;
|
import me.clip.placeholderapi.external.EZPlaceholderHook;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user