mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 04:20:32 +01:00
Removed option to opt-out of update notifications, it was misleading
This commit is contained in:
parent
9e1ed79b2d
commit
cd1dd959e4
@ -86,12 +86,10 @@ public class LobbyBalancer extends Plugin {
|
|||||||
getProxy().getPluginManager().registerListener(this, reloadListener);
|
getProxy().getPluginManager().registerListener(this, reloadListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ConfigEntries.CHECK_UPDATES_ENABLED.get()) {
|
try {
|
||||||
try {
|
new BungeeUpdater(this, 10788);
|
||||||
new BungeeUpdater(this, 10788);
|
} catch (IOException e) {
|
||||||
} catch (IOException e) {
|
e.printStackTrace();
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger.getLogger(Java7Support.class.getName()).setLevel(Level.SEVERE);
|
Logger.getLogger(Java7Support.class.getName()).setLevel(Level.SEVERE);
|
||||||
|
@ -10,7 +10,6 @@ import java.util.List;
|
|||||||
public class ConfigEntries implements ConfigEntryHolder {
|
public class ConfigEntries implements ConfigEntryHolder {
|
||||||
public static final ConfigEntry<Boolean> PLUGIN_ENABLED = new ConfigEntry<>(0, "settings.enabled", false);
|
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> 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<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");
|
public static final ConfigEntry<String> SERVER_CHECK_MODE = new ConfigEntry<>(0, "settings.server-check.tactic", "CUSTOM");
|
||||||
|
@ -11,9 +11,6 @@ settings:
|
|||||||
# Disable the messages the plugin prints out when loading
|
# Disable the messages the plugin prints out when loading
|
||||||
silent-startup: false
|
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
|
# Pings to the servers to see if they can be accessed or not
|
||||||
server-check:
|
server-check:
|
||||||
# If this is disabled the players will connect to the first server available
|
# If this is disabled the players will connect to the first server available
|
||||||
|
Loading…
Reference in New Issue
Block a user