Commit Graph

1076 Commits

Author SHA1 Message Date
Evenprime
2c621e14c1 Added two saveguards designed a special situation related to system
time changes in the wrong moment. Minor modification to sprinting for
debugging purposes.
2011-11-16 15:13:07 +01:00
Evenprime
cb2c3ceba6 Some renaming and code moving to be more consistent 2011-11-16 02:06:06 +01:00
Evenprime
e853eac486 Fix two common mistakes by other plugins (cancelling move
events and cancelling toggle sprint events)
2011-11-15 17:05:06 +01:00
Evenprime
5a02e78888 Removed debug output and some unnecessary code 2011-11-15 14:59:27 +01:00
Evenprime
fb5225fac5 Simpler access to isSprinting() and getGameMode() 2011-11-15 14:42:02 +01:00
Evenprime
c5806da644 Reintroduced discarding of player data after 1 minute of inactivity 2011-11-14 00:16:46 +01:00
Evenprime
3c44445d9b Less sensitive godmode check, bugfixes for log messages, better check
names
2011-11-14 00:00:06 +01:00
Evenprime
cfd8661f3f Make sure we only listen to direct attacks and no other types of
damage
2011-11-13 22:13:24 +01:00
Evenprime
17dac93056 Bugfixes and code style changes 2011-11-08 17:12:07 +01:00
Evenprime
40f187b55c Reintroduced Performance measurement and fixed casting bug in
moveEventHandling
2011-11-08 16:15:16 +01:00
Evenprime
3ce696ee1f Nicer handling of events 2011-11-08 15:30:23 +01:00
Evenprime
ae8cacb97b Massive rewrite part 1: Inheritance between checks, less entanglement
between
components, introduce "NoCheatPlayer" class for easier access to data
and configuration
2011-11-06 21:08:22 +01:00
Evenprime
f04be42eb2 Removed "onliquid" check 2011-11-06 11:27:06 +01:00
Evenprime
fa1f7cfc06 Godmode check changes to tick counting (more permissive now)
Permission sorting in output of "nocheat permlist" improved (again)
2011-11-02 19:26:26 +01:00
Evenprime
666a52bf73 Minor changes to default settings of new blockplace.direction check 2011-10-30 20:41:11 +01:00
Evenprime
04ec82eef6 Fix cancelling of bukkit task, moving around some things, use
"SimpleLocation" instead of Block in blockplaced checks.
2011-10-30 20:35:59 +01:00
Evenprime
99a197607b Removed blockplace.noswing check, because it causes problems
Added blockplace.direction check
2011-10-30 20:15:03 +01:00
Evenprime
71b53892c4 Added missing output for "active checks per world" 2011-10-30 19:03:00 +01:00
Evenprime
ad6b7b49a1 Sort permissions for permlist command alphabetically 2011-10-30 18:59:25 +01:00
Evenprime
b6d6ea58f4 Implemented NoSwing checks for blockbreak, blockplace and fight 2011-10-30 18:56:29 +01:00
Evenprime
a1286cb966 Minor safety improvement for godmode check 2011-10-30 17:29:45 +01:00
Evenprime
70d5bc48f2 Dead people are ignored by the godmode check 2011-10-26 16:39:00 +02:00
Evenprime
de16694698 Remove "timedEventManager" task when disabled, avoid using
"server.getOnlinePlayers()" because it's a performance hog.
Updated plugin.yml
2011-10-25 18:58:35 +02:00
Evenprime
d31525ba3a new check "timed.godmode" with config etc. 2011-10-25 17:32:10 +02:00
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