diff --git a/src/main/java/me/jaimemartz/lobbybalancer/LobbyBalancer.java b/src/main/java/me/jaimemartz/lobbybalancer/LobbyBalancer.java index 29bc574..e1ea7a6 100644 --- a/src/main/java/me/jaimemartz/lobbybalancer/LobbyBalancer.java +++ b/src/main/java/me/jaimemartz/lobbybalancer/LobbyBalancer.java @@ -23,7 +23,7 @@ import java.io.IOException; import java.util.logging.Level; public class LobbyBalancer extends Plugin { - private static final int LAST_VER_CONFIG_UPDATE = 20950; + private static final int LAST_VER_CONFIG_UPDATE = 20950000; @Getter private ConfigFactory factory; @Getter private boolean failed = false; @@ -58,7 +58,7 @@ public class LobbyBalancer extends Plugin { getProxy().getPluginManager().registerCommand(this, mainCommand); String text = ConfigEntries.CONFIG_VERSION.get(); - int configVersion = DigitUtils.getDigits(text, 5); + int configVersion = DigitUtils.getDigits(text, 8); if (configVersion < LAST_VER_CONFIG_UPDATE) { failed = true; throw new IllegalStateException("Your config is outdated, please reset it and configure it again"); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index e7d50ad..26b19ee 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -91,23 +91,6 @@ settings: rules: 'section-from': 'section-to' - # This will determine how the plugin if a string matches other string - string-matcher: - # Matches when the string is like the other string - # ? for one character, * for any number of characters - wildcard: true - - # Matches when the string contains the other string - contains: false - - # Matches when the string matches the pattern of the other string - regex: false - - # Matches when both strings are very similar - # See https://en.wikipedia.org/wiki/Levenshtein_distance - # Set to 100 to disable it, or other value to match when the result is higher than it - similar: 100 - # This will reload the plugin every time you execute /greload auto-reload: true