mirror of
https://github.com/colbster937/originblacklist.git
synced 2026-03-22 21:37:42 +00:00
Compare commits
3 Commits
a7ea336158
...
f4261e0d6c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4261e0d6c | ||
|
|
b91b4f93e5 | ||
|
|
2e05fb6031 |
@@ -97,9 +97,6 @@ public final class OriginBlacklist {
|
|||||||
if (this.isMetricsEnabled()) {
|
if (this.isMetricsEnabled()) {
|
||||||
this.metrics.start();
|
this.metrics.start();
|
||||||
}
|
}
|
||||||
this.plugin.scheduleRepeat(() -> {
|
|
||||||
this.plugin.log(EnumLogLevel.INFO, String.valueOf(this.isMetricsEnabled()));
|
|
||||||
}, 1, TimeUnit.SECONDS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void shutdown() {
|
public final void shutdown() {
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ public final class OriginBlacklistConfig {
|
|||||||
addJSONObj(uObj, "enabled", Json5Primitive.fromBoolean(true), null);
|
addJSONObj(uObj, "enabled", Json5Primitive.fromBoolean(true), null);
|
||||||
addJSONObj(uObj, "allow_snapshots", Json5Primitive.fromBoolean(false), null);
|
addJSONObj(uObj, "allow_snapshots", Json5Primitive.fromBoolean(false), null);
|
||||||
addJSONObj(uObj, "check_timer", Json5Primitive.fromNumber(3600), null);
|
addJSONObj(uObj, "check_timer", Json5Primitive.fromNumber(3600), null);
|
||||||
addJSONObj(uObj, "auto_update", Json5Primitive.fromBoolean(true), null);
|
addJSONObj(uObj, "auto_update", Json5Primitive.fromBoolean(false), null);
|
||||||
addJSONObj(obj, "update_checker", uObj, null);
|
addJSONObj(obj, "update_checker", uObj, null);
|
||||||
addJSONObj(obj, "blacklist_http_api", Json5Primitive.fromBoolean(false), null);
|
addJSONObj(obj, "blacklist_http_api", Json5Primitive.fromBoolean(false), null);
|
||||||
addJSONObj(obj, "blacklist_to_whitelist", Json5Primitive.fromBoolean(false), null);
|
addJSONObj(obj, "blacklist_to_whitelist", Json5Primitive.fromBoolean(false), null);
|
||||||
|
|||||||
Reference in New Issue
Block a user