Skip to content

Commit cd1dd95

Browse files
committed
Removed option to opt-out of update notifications, it was misleading
1 parent 9e1ed79 commit cd1dd95

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

src/main/java/me/jaimemartz/lobbybalancer/LobbyBalancer.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,10 @@ private void enable() {
8686
getProxy().getPluginManager().registerListener(this, reloadListener);
8787
}
8888

89-
if (ConfigEntries.CHECK_UPDATES_ENABLED.get()) {
90-
try {
91-
new BungeeUpdater(this, 10788);
92-
} catch (IOException e) {
93-
e.printStackTrace();
94-
}
89+
try {
90+
new BungeeUpdater(this, 10788);
91+
} catch (IOException e) {
92+
e.printStackTrace();
9593
}
9694

9795
Logger.getLogger(Java7Support.class.getName()).setLevel(Level.SEVERE);

src/main/java/me/jaimemartz/lobbybalancer/configuration/ConfigEntries.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
public class ConfigEntries implements ConfigEntryHolder {
1111
public static final ConfigEntry<Boolean> PLUGIN_ENABLED = new ConfigEntry<>(0, "settings.enabled", false);
1212
public static final ConfigEntry<Boolean> SILENT_STARTUP = new ConfigEntry<>(0, "settings.silent-startup", false);
13-
public static final ConfigEntry<Boolean> CHECK_UPDATES_ENABLED = new ConfigEntry<>(0, "settings.check-updates", true);
1413

1514
public static final ConfigEntry<Boolean> SERVER_CHECK_ENABLED = new ConfigEntry<>(0, "settings.server-check.enabled", true);
1615
public static final ConfigEntry<String> SERVER_CHECK_MODE = new ConfigEntry<>(0, "settings.server-check.tactic", "CUSTOM");

src/main/resources/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ settings:
1111
# Disable the messages the plugin prints out when loading
1212
silent-startup: false
1313

14-
# Whether the plugin should ask you to update or not
15-
check-updates: true
16-
1714
# Pings to the servers to see if they can be accessed or not
1815
server-check:
1916
# If this is disabled the players will connect to the first server available

0 commit comments

Comments
 (0)