Prep for Alts-OG

This commit is contained in:
NotAlexNoyle committed 2026-06-08 03:10:17 -04:00
1 parent 11404bed5b
commit 9d94007142
3 files changed
+3 -3

No files matched your search

@@ -274,7 +274,7 @@ public class ViolationData implements IViolationInfo, ActionData {
return health == null ? (BridgeHealth.getHealth(player) + "/" + BridgeHealth.getMaxHealth(player)) : health;
}
case IP:
return player.getAddress().toString().substring(1).split(":")[0];
return "<redacted>";
case PLAYER:
case PLAYER_NAME:
return player.getName();
@@ -665,7 +665,7 @@ public class DefaultConfig extends ConfigFile {
set(ConfPaths.STRINGS + ".bvisible", start + "tried to interact with a block through a solid obstacle" + end, 1154);
set(ConfPaths.STRINGS + ".bwrong", start + "tried to break another block than interacted with last" + end, 1154);
set(ConfPaths.STRINGS + ".captcha", "[player] failed captcha repeatedly" + end, 785);
set(ConfPaths.STRINGS + ".chatfast", start + "acted like spamming (message deleted) (IP: &6[ip]&7)" + end, 1154);
set(ConfPaths.STRINGS + ".chatfast", start + "acted like spamming (message deleted)" + end, 1154);
set(ConfPaths.STRINGS + ".chatnormal", start + "seems to be spamming the server chat" + end, 1154);
set(ConfPaths.STRINGS + ".commands", start + "issued too many commands too quickly" + end, 785);
set(ConfPaths.STRINGS + ".creativefly", start + "tried to perform a move that deviates from the model (Model: &6[model]&7, Tags: &6[tags]&7)" + end, 1154);
+1 -1
View File
@@ -715,7 +715,7 @@ strings:
with last &7(&cVL[violations]&7)'
captcha: '[player] failed captcha repeatedly &7(&cVL[violations]&7)'
chatfast: '&c[player]&7 failed &c[check]&7: acted like spamming (message deleted)
(IP: &6[ip]&7) &7(&cVL[violations]&7)'
&7(&cVL[violations]&7)'
chatnormal: '&c[player]&7 failed &c[check]&7: seems to be spamming the server chat
&7(&cVL[violations]&7)'
commands: '&c[player]&7 failed &c[check]&7: issued too many commands too quickly