Removed option to opt-out of update notifications, it was misleading

This commit is contained in:
Jaime Martinez Rincon 2017-02-19 03:00:03 +01:00
parent 9e1ed79b2d
commit cd1dd959e4
3 changed files with 4 additions and 10 deletions

View File

@ -86,12 +86,10 @@ public class LobbyBalancer extends Plugin {
getProxy().getPluginManager().registerListener(this, reloadListener);
}
if (ConfigEntries.CHECK_UPDATES_ENABLED.get()) {
try {
new BungeeUpdater(this, 10788);
} catch (IOException e) {
e.printStackTrace();
}
try {
new BungeeUpdater(this, 10788);
} catch (IOException e) {
e.printStackTrace();
}
Logger.getLogger(Java7Support.class.getName()).setLevel(Level.SEVERE);

View File

@ -10,7 +10,6 @@ import java.util.List;
public class ConfigEntries implements ConfigEntryHolder {
public static final ConfigEntry<Boolean> PLUGIN_ENABLED = new ConfigEntry<>(0, "settings.enabled", false);
public static final ConfigEntry<Boolean> SILENT_STARTUP = new ConfigEntry<>(0, "settings.silent-startup", false);
public static final ConfigEntry<Boolean> CHECK_UPDATES_ENABLED = new ConfigEntry<>(0, "settings.check-updates", true);
public static final ConfigEntry<Boolean> SERVER_CHECK_ENABLED = new ConfigEntry<>(0, "settings.server-check.enabled", true);
public static final ConfigEntry<String> SERVER_CHECK_MODE = new ConfigEntry<>(0, "settings.server-check.tactic", "CUSTOM");

View File

@ -11,9 +11,6 @@ settings:
# Disable the messages the plugin prints out when loading
silent-startup: false
# Whether the plugin should ask you to update or not
check-updates: true
# Pings to the servers to see if they can be accessed or not
server-check:
# If this is disabled the players will connect to the first server available