mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-01 05:18:00 +01:00
Let's call it NoCheat 3.0.0
This commit is contained in:
parent
d05b0aacf6
commit
5401f5f1f7
@ -317,15 +317,17 @@ checks:
|
||||
Should players be checked for this behaviour.
|
||||
distance:
|
||||
What is the maximum distance that NoCheat should allow attacks for.
|
||||
Default is 4 blocks (value 400). Setting this even lower will limit
|
||||
the attack distance below the original "legal" distance.
|
||||
Default is ~4 blocks (value 400). Setting this even lower will limit
|
||||
the attack distance below the original "legal" distance and cause
|
||||
false positives.
|
||||
penaltytime:
|
||||
If a player fails this check, how long should he be prevented from
|
||||
attacking anything. Default is 0.5 seconds (value 500). If you
|
||||
don't want to limit players like this, set this value to 0.
|
||||
actions:
|
||||
What should happen if the player fails this check. Default is to stop
|
||||
the attack ("cancel" it) and log messages.
|
||||
the attack ("cancel" it) and if the player reach a certain vl,
|
||||
log a message.
|
||||
speed:
|
||||
Players may be attacking extremely fast within a short time by using
|
||||
automated clicking or hacks. This is an advantage in many situations.
|
||||
|
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>cc.co.evenprime.bukkit</groupId>
|
||||
<artifactId>NoCheat</artifactId>
|
||||
<version>2.26</version>
|
||||
<version>3.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>NoCheat</name>
|
||||
<properties>
|
||||
|
@ -58,7 +58,7 @@ public class DefaultConfiguration extends NoCheatConfiguration {
|
||||
set(ConfPaths.BLOCKBREAK_DIRECTION_ACTIONS, "cancel vl>10 log:bbdirection:0:5:if cancel");
|
||||
|
||||
set(ConfPaths.BLOCKBREAK_NOSWING_CHECK, true);
|
||||
set(ConfPaths.BLOCKBREAK_NOSWING_ACTIONS, "log:bbnoswing:0:2:if cancel");
|
||||
set(ConfPaths.BLOCKBREAK_NOSWING_ACTIONS, "log:bbnoswing:3:2:if cancel");
|
||||
|
||||
/*** BLOCKPLACE ***/
|
||||
|
||||
@ -94,10 +94,10 @@ public class DefaultConfiguration extends NoCheatConfiguration {
|
||||
set(ConfPaths.FIGHT_REACH_CHECK, true);
|
||||
set(ConfPaths.FIGHT_REACH_LIMIT, 400);
|
||||
set(ConfPaths.FIGHT_REACH_PENALTYTIME, 500);
|
||||
set(ConfPaths.FIGHT_REACH_ACTIONS, "log:freach:2:5:if cancel");
|
||||
set(ConfPaths.FIGHT_REACH_ACTIONS, "cancel vl>10 log:freach:2:5:if cancel");
|
||||
|
||||
set(ConfPaths.FIGHT_SPEED_CHECK, true);
|
||||
set(ConfPaths.FIGHT_SPEED_ATTACKLIMIT, 7);
|
||||
set(ConfPaths.FIGHT_SPEED_ATTACKLIMIT, 10);
|
||||
set(ConfPaths.FIGHT_SPEED_ACTIONS, "log:fspeed:0:5:if cancel");
|
||||
|
||||
set(ConfPaths.STRINGS + ".drop", "[player] failed [check]: Tried to drop more items than allowed. VL [violations]");
|
||||
|
Loading…
Reference in New Issue
Block a user