mirror of
https://github.com/colbster937/originblacklist.git
synced 2026-02-04 11:07:41 +00:00
Compare commits
1 Commits
v2.0.2+50e
...
8f1fd3f1f4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f1fd3f1f4 |
@@ -240,7 +240,7 @@ public final class OriginBlacklist {
|
|||||||
player.getName().replaceAll("_", "\\_"),
|
player.getName().replaceAll("_", "\\_"),
|
||||||
player.getOrigin(),
|
player.getOrigin(),
|
||||||
player.getBrand(),
|
player.getBrand(),
|
||||||
player.getAddr(),
|
this.config.get("discord.send_ips").getAsBoolean() ? player.getAddr() : "*\\*CENSORED\\**",
|
||||||
player.getPVN(),
|
player.getPVN(),
|
||||||
userAgent,
|
userAgent,
|
||||||
player.isRewind() ? "YES" : "NO",
|
player.isRewind() ? "YES" : "NO",
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ public final class OriginBlacklistConfig {
|
|||||||
final Json5Object dobj = new Json5Object();
|
final Json5Object dobj = new Json5Object();
|
||||||
addJSONObj(dobj, "enabled", Json5Primitive.fromBoolean(false), null);
|
addJSONObj(dobj, "enabled", Json5Primitive.fromBoolean(false), null);
|
||||||
addJSONObj(dobj, "webhook_urls", new Json5Array(), null);
|
addJSONObj(dobj, "webhook_urls", new Json5Array(), null);
|
||||||
|
addJSONObj(dobj, "send_ips", Json5Primitive.fromBoolean(true), null);
|
||||||
addJSONObj(obj, "discord", dobj, null);
|
addJSONObj(obj, "discord", dobj, null);
|
||||||
final Json5Object uobj = new Json5Object();
|
final Json5Object uobj = new Json5Object();
|
||||||
addJSONObj(uobj, "enabled", Json5Primitive.fromBoolean(true), null);
|
addJSONObj(uobj, "enabled", Json5Primitive.fromBoolean(true), null);
|
||||||
|
|||||||
Reference in New Issue
Block a user