Let's call it NoCheat 3.0.0

This commit is contained in:
Evenprime 2012-02-01 15:31:24 +01:00
parent d05b0aacf6
commit 5401f5f1f7
3 changed files with 9 additions and 7 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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]");