Skip to content

Commit 0a9f832

Browse files
DefaultConfig - FightSync
1 parent 8a45246 commit 0a9f832

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

NCPCore/src/main/java/fr/neatmonster/nocheatplus/config/DefaultConfig.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,11 @@ public DefaultConfig() {
565565
set(ConfPaths.NET_ATTACKFREQUENCY_SECONDS_EIGHT, 100, 785);
566566
set(ConfPaths.NET_ATTACKFREQUENCY_ACTIONS, "cancel vl>30 cancel log:attackfrequency:0:5:if vl>160 cancel log:attackfrequency:0:0:cif cmd:kickattackfrequency", 785);
567567

568+
// FightSync
569+
set(ConfPaths.NET_FIGHTSYNC_ACTIVE, "default", 1154);
570+
set(ConfPaths.NET_FIGHTSYNC_THRESHOLD, 5, 1154);
571+
set(ConfPaths.NET_FIGHTSYNC_RESETCOUNT, 30, 1154);
572+
set(ConfPaths.NET_FIGHTSYNC_ACTIONS, "vl<10 log:fightsync:0:5:if", 1154);
568573
// FlyingFrequency
569574
set(ConfPaths.NET_FLYINGFREQUENCY_ACTIVE, "default", 785);
570575
set(ConfPaths.NET_FLYINGFREQUENCY_SECONDS, 5, 785);
@@ -624,6 +629,7 @@ public DefaultConfig() {
624629
set(ConfPaths.STRINGS + ".fastheal", start + "regenerates health faster than usual (health [health])" + end, 785);
625630
set(ConfPaths.STRINGS + ".fastplace", start + "tried to place too many blocks" + end, 785);
626631
set(ConfPaths.STRINGS + ".fdirection", start + "tried to hit an entity out of line of sight" + end, 785);
632+
set(ConfPaths.STRINGS + ".fightsync", start + "client and server fight data out of sync" + end, 1154);
627633
set(ConfPaths.STRINGS + ".flyshort", start + "tried to move unexpectedly" + end, 785);
628634
set(ConfPaths.STRINGS + ".flylong", start
629635
+ "tried to move: [locationfrom] -> [locationto], d=[distance] ([tags])" + end, 1067);

0 commit comments

Comments
 (0)