File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
java/me/jaimemartz/lobbybalancer Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 2323import java .util .logging .Level ;
2424
2525public class LobbyBalancer extends Plugin {
26- private static final int LAST_VER_CONFIG_UPDATE = 20950 ;
26+ private static final int LAST_VER_CONFIG_UPDATE = 20950000 ;
2727
2828 @ Getter private ConfigFactory factory ;
2929 @ Getter private boolean failed = false ;
@@ -58,7 +58,7 @@ private void enable() {
5858 getProxy ().getPluginManager ().registerCommand (this , mainCommand );
5959
6060 String text = ConfigEntries .CONFIG_VERSION .get ();
61- int configVersion = DigitUtils .getDigits (text , 5 );
61+ int configVersion = DigitUtils .getDigits (text , 8 );
6262 if (configVersion < LAST_VER_CONFIG_UPDATE ) {
6363 failed = true ;
6464 throw new IllegalStateException ("Your config is outdated, please reset it and configure it again" );
Original file line number Diff line number Diff line change @@ -91,23 +91,6 @@ settings:
9191 rules :
9292 ' section-from ' : ' section-to'
9393
94- # This will determine how the plugin if a string matches other string
95- string-matcher :
96- # Matches when the string is like the other string
97- # ? for one character, * for any number of characters
98- wildcard : true
99-
100- # Matches when the string contains the other string
101- contains : false
102-
103- # Matches when the string matches the pattern of the other string
104- regex : false
105-
106- # Matches when both strings are very similar
107- # See https://en.wikipedia.org/wiki/Levenshtein_distance
108- # Set to 100 to disable it, or other value to match when the result is higher than it
109- similar : 100
110-
11194 # This will reload the plugin every time you execute /greload
11295 auto-reload : true
11396
You can’t perform that action at this time.
0 commit comments