Commit Graph

402 Commits

Author SHA1 Message Date
Evenprime
67b5505d04 Prevent amplification of violation level for moving check(s) in case
of only logging violations instead of cancelling them.
2011-10-23 21:20:17 +02:00
Evenprime
15e5367175 Make removal of unused playerdata more predictable and independent of
JOIN/LEAVE events.
2011-10-23 16:05:18 +02:00
Evenprime
a6ae2d1e90 Don't allow people to hit themself with close-combat weapons/punches
Some changes to default config (again).
2011-10-22 17:03:45 +02:00
Evenprime
8a70c1348a 1337 compatibility checked 2011-10-21 21:27:03 +02:00
Evenprime
3a0413b082 more little improvements and changed default configuration 2011-10-21 21:22:45 +02:00
Evenprime
0687d6c78c Lots of minor optimizations to avoid creation of new objects if not
necessary and stop referencing bukkit objects beyond the scope of
events.
2011-10-21 20:14:21 +02:00
Evenprime
0225c73a51 Respect the "MobEffect" speed increase for players (for compatibility
with Heroes plugin).
2011-10-21 16:03:20 +02:00
Evenprime
e9aceb4fef Changed some default settings 2011-10-20 16:45:41 +02:00
Evenprime
247e5d082b Prevent sprinting if food level is below 6. More descriptive error
message for runfly check
2011-10-20 15:20:17 +02:00
Evenprime
2b4eccf4a1 Move stuff out of NoCheat.java into seperate classes 2011-10-19 18:12:35 +02:00
Evenprime
ca2da0d6b4 Lag detection in seperate thread, bugfix for blockbreak direction
check and code refactoring to reduce complexity
2011-10-19 17:34:59 +02:00
Evenprime
d917242683 spamcheck message/command whitelist 2011-10-18 15:58:14 +02:00
Evenprime
3fc80cbad2 minor change 2011-10-18 15:01:42 +02:00
Evenprime
08ef299290 Colors! And getting kicked for extensive (command) spamming by default
now
2011-10-17 21:22:26 +02:00
Evenprime
c87f99262e Expanded the idea of having timeouts to the blockbreak direction
check.
2011-10-17 20:18:54 +02:00
Evenprime
2c27063b75 Some refactoring to lessen class dependencies, reduce number of
parameters and duplicate code
2011-10-16 19:57:05 +02:00
Evenprime
14642564b6 Fixed typo in config "alkingspeedlimit"->"walkingspeedlimit" 2011-10-15 16:05:36 +02:00
Evenprime
9bbdfc59da Make fight.direction check violation level depend on how far off
players were with their hits vs. their line of sight.
2011-10-15 15:48:58 +02:00
Evenprime
a0024d0737 Refactoring, code cleanup, moved executionHistories to "data" 2011-10-14 18:44:56 +02:00
Evenprime
0b04b7d43f Further refined default settings to reduce log spam 2011-10-14 16:25:40 +02:00
Evenprime
bbec08d34d Get rid of the own implementation of ConsoleCommandSender in favour of
using the servers ConsoleCommandSender.
2011-10-14 16:04:16 +02:00
Evenprime
033fad0f54 Only remove part of the data for players immediatly after they logout,
and keep the rest for 1 minute in case they come back.
2011-10-14 15:56:24 +02:00
Evenprime
9a7bffcc1f Further configuration options for the fight.direction check 2011-10-14 15:19:13 +02:00
Evenprime
37e9f2ff62 Make fight.direction check depend (partly) on entity dimensions 2011-10-13 23:32:33 +02:00
Evenprime
bcf0b89915 Basic fight.direction check to identify "kill-aura"/"forcefield" hacks 2011-10-13 14:55:48 +02:00
Evenprime
e16059c84e version update 2011-10-11 18:37:19 +02:00
Evenprime
ae86381ade New command "nocheat performance" to display performance stats
Minor code cleanup
2011-10-11 18:21:39 +02:00
Evenprime
6a5a9e0834 Moved and renamed "ActionManager" to "ActionMapper", as that's what it
does
2011-10-11 16:12:32 +02:00
Evenprime
747e5bcdce Another round of code cleaning, simplification
Fixed nocheat reload command to give feedback and clear critical data
Remove stored data when a player disconnects
2011-10-10 19:27:45 +02:00
Evenprime
4309c70a39 reset data objects too when using "nocheat reload" 2011-10-10 02:49:41 +02:00
Evenprime
7186f26504 give positive feedback if the "reload" command was used 2011-10-10 02:37:40 +02:00
Evenprime
e93f501271 Removed player interact infinite durability check, as the exploit is
now fixed by bukkit itself.
2011-10-10 02:20:20 +02:00
Evenprime
a8342b0681 Complete rewrite of internal configuration and action execution system
for performance
removed noclip check,  itemdrop check andgui editor
2011-10-10 02:00:47 +02:00
Evenprime
3d28e5738f - Refined "nofall" check, to only "punish" for the perceived
difference in fall distances
- slightly modified falldamage calculation in general, to always count
the "last step" as part of the fall (fixes a loophole that could be
used for bypassing the nofall check)
- replaced default nofall damage multiplier with 120 (was 200)
2011-10-03 18:23:33 +02:00
Evenprime
e67a1f2c0c Fixed spamcheck + also count commands 2011-10-02 17:07:29 +02:00
Evenprime
75050efbbd Option to automatically identify "creative" mode or not for flying
Option to also check "instant-breaking" blocks for
blockbreak.direction
2011-10-02 08:14:03 +02:00
Evenprime
3895ff029f Add command "/nocheat permlist" to display the effective permissions
of a certain player.
2011-09-26 20:07:59 +02:00
Evenprime
6f56ae77a8 Update to 7.0a 2011-09-25 11:11:47 +02:00
Evenprime
8b5f26f4b1 Find out what name the "isSprinting()" method has at runtime 2011-09-25 11:01:17 +02:00
Evenprime
dad338db65 fix onliquid check
clear internal fall damage counter if players get new velocity
assigned
2011-09-25 10:33:42 +02:00
Evenprime
4569546b3a - Updated permissions descriptions to simpler format
- more info from "onliquid" check
- fixed bug in "chat.spam" check
2011-09-22 19:44:08 +02:00
Evenprime
d435f7ab3c Enabled blockbreak.distance check for creative mode again, because the
server doesn't handle it.
2011-09-21 20:00:56 +02:00
Evenprime
e63d90e4cd Modified nofall check. Let the game decide if and when to do the
damage, we just set the "fallDistance".
2011-09-20 18:41:15 +02:00
Evenprime
de4acaa8c7 Adapted name of nofall action to better reflect what it does (deal
damage)
2011-09-19 20:31:31 +02:00
Evenprime
33bb52b46d Update "check" list 2011-09-19 20:23:45 +02:00
Evenprime
3724525f89 Final changes and adaptations for the new nofall check 2011-09-19 20:20:18 +02:00
Evenprime
1ac3c524e5 NoFallCheck implementation 2011-09-19 19:28:56 +02:00
Evenprime
41a09ea5ae + Refactoring of movement check to be more clear about what it does
+ Workarounds for bug in Minecraft related to jumping while sprinting
+ potential workarounds for plugins that cancel
  teleportation-related events on "monitor" level
+ fix a bug that would allow a player to fly at the same level of
height infinitely
+ Deactivate blockbreak.reach check for players in creative mode
2011-09-17 15:28:19 +02:00
Evenprime
3e344be924 Players that are in creative mode are always allowed to fly with
default "creative-mode-speed".
2011-09-16 16:05:42 +02:00
Evenprime
3943812b8c Rewritten "onliquid" check to maybe avoid problems some people have 2011-09-15 22:02:54 +02:00