Commit Graph

206 Commits

Author SHA1 Message Date
Evenprime
49f8b6cb5e Airbuild check logging now more flexible and less spamming with heavy
violations.
2011-03-21 18:11:21 +01:00
Evenprime
8b7c6f289a Version bump to 0.7.3 2011-03-21 16:09:13 +01:00
Evenprime
e4af83b425 explicitly ignore vehicles with movingCheck (skypirates) and up the
threshold for jumping by 1, meaning the jumping arc can be a bit
longer than before (but not higher at total).
2011-03-21 15:32:18 +01:00
Evenprime
c655086b4e (Hacky) Fix for detecting and handling teleporting between worlds with
the /world command from "Essentials"
2011-03-20 15:17:39 +01:00
Evenprime
53c9dd50f1 Potential fix for teleporting by other plugins + also log worlds with
coordinates.
2011-03-16 20:34:24 +01:00
Evenprime
3075e79d83 Version bump to 0.7 2011-03-15 17:38:47 +01:00
Evenprime
18ccc4c668 I give up. Determining if a player got pushed horizontally by an
enemy is unreliable/impossible. This is the easy way to mitigate
the problem...
2011-03-15 17:29:33 +01:00
Evenprime
6fd8c775c5 New movement check model + fixed logging to console
New move model works with absolute limits instead of relative limits
for height checks.
2011-03-15 16:25:11 +01:00
Evenprime
c5c67c4f7f Version bump to 0.6.9 2011-03-14 16:16:49 +01:00
Evenprime
43f362e3d6 Another fix for water elevators. 2011-03-14 15:59:48 +01:00
Evenprime
5ba7ce4991 Fixed a small bug causing the log message summary to be displayed
earlier than I intended.
2011-03-13 18:17:31 +01:00
Evenprime
a85084d54a Version bump to 0.6.8 + changes to moving logging: Show log summary
after a certain minimum time of no violations instead of a certain
minimum number of events with no violations.
2011-03-13 14:41:20 +01:00
Evenprime
379fd75068 Added support for logging to irc with CraftIRC plugin + small fixes to
logging.
2011-03-13 14:27:21 +01:00
Evenprime
c4cbff5bef Set minimum "freemoves" to 1 and made neccessary codechanges to
support that.
2011-03-12 17:12:26 +01:00
Evenprime
d05bd2be04 Replaced airbuild-check with something simpler + set minimum freemove
limit to 1.
2011-03-11 13:00:38 +01:00
Evenprime
6cca892298 Fixed potential nullpointer exception(s)
Not sure if these tecnically could actually happen, but its probably
better to fix a nonissue than to not to fix an issue.
2011-03-11 09:00:20 +01:00
Evenprime
e388d44719 Fixed some minor loopholes that would allow players to
fly/speedhack after getting legitimately teleported somewhere. They
would've still been logged, but the "reset" functionality could be
broken in these cases.
2011-03-11 07:57:23 +01:00
Evenprime
36953f4f08 Potential fix for Multiworld support:
- If a player "moves" between worlds he won't be checked
- If a player gets teleported by something else than my plugin the
setback locations for moving and speedhack checks get discarded.
2011-03-11 07:39:04 +01:00
Evenprime
5df7af20b3 Final changes to moving-check + version bump 2011-03-09 18:32:42 +01:00
Evenprime
ad9d14dee1 added damage listener to reset players jumpingphase when hit. 2011-03-09 13:16:17 +01:00
Evenprime
75122fb1af Removed dupebydeath-check because it is no longer needed starting with
build #520
2011-03-09 13:00:55 +01:00
Evenprime
3bcb55d2b2 Finally a clean solution for getting stuck on ledges + resetting
player to his last valid location on the ground instead of somewhere
in midair + even less verbose logging (only show logs if the violating
player made 40 legitimate moves in a row. If he keeps doing
violations, just keep counting incidents).
2011-03-08 19:12:45 +01:00
Evenprime
4a09449d2c Version 0.6.4, Commands and code cleanup 2011-03-05 15:58:19 +01:00
Evenprime
45b4f11452 Code cleanup 2011-03-04 20:38:54 +01:00
Evenprime
2e711e4f44 New optional bugfix for teleporting out of beds + removed now useless
code + changed some default values
2011-03-04 19:37:20 +01:00
Evenprime
8c11e72095 Fixed sleeping + fixed hidden water ladders + version bump
Players going to sleep can now stand further away from the
bed without triggering a violation.
Quick fix for hidden water ladders.
2011-03-03 20:14:09 +01:00
Evenprime
ac44b17c31 Fixed bugs introduced by refactoring + version bump to 0.6.1 2011-03-01 18:40:26 +01:00
Evenprime
78c264d726 Copy+Paste errors fixed + renaming of files to match module names 2011-03-01 17:52:36 +01:00
Evenprime
e83984d2ce Further changes for more modifiability of various checks/bugfixes 2011-03-01 17:28:52 +01:00
Evenprime
11bba9e6ae Lots of renames and moving stuff around to be better organized 2011-03-01 15:17:12 +01:00
Evenprime
2bca8f5ead minor bug with speedhack message fixed 2011-02-28 17:10:12 +01:00
Evenprime
ea414167e0 New check "dupebydeath" + big changes to "speedhack" check 2011-02-28 16:57:15 +01:00
Evenprime
eae6bdc967 mostly a revert to values from 0.5.7 2011-02-27 18:50:21 +01:00
Evenprime
2bf722a5f9 Much lower limits for horizontal movement in moving check 2011-02-27 15:46:10 +01:00
Evenprime
8ea62ae52a Fixed wrong violation when "teleporting" into a bed 2011-02-26 19:38:54 +01:00
Evenprime
80aa08d279 Version 0.5.6 - another minor tweak to categorizing what kind of
violation has happened
2011-02-25 18:46:41 +01:00
Evenprime
c5b2fcb1f2 Further tweaking of initial values 2011-02-25 18:27:06 +01:00
Evenprime
7a976aaf98 Compatible with MC server 1.3 and Permissions 2.0 + 2.1 2011-02-24 19:24:19 +01:00
Evenprime
cf6895139d Version bump to 0.5.4 2011-02-22 18:41:13 +01:00
Evenprime
02628becaf Option to "log" to moderators + more code comments + info about active
checks at startup
2011-02-22 17:30:00 +01:00
Evenprime
a0cd0995c9 Bump to v0.5.3 + reverted constructor to be compatible with older
bukkit versions again.
2011-02-22 15:19:04 +01:00
Evenprime
62dfce532d Fixed logging + new anticheat mechanism
Logging of moving violations (previously reset coordinates of event
before logging, therefore the logged information was not useful at
all).

Added check for building. Building against thin air is not permitted
in the client singleplayer game, so why should it be on a server?
2011-02-21 19:23:05 +01:00
Evenprime
dc83bdb17c Version 0.5.2 - minor changes before release 2011-02-20 11:58:15 +01:00
Evenprime
2daeabc157 Reworked movingcheck to make it easier later-on to modify/adapt.
Now instead of resetting the player after every minor illegal move, he
gets 2 moves in a row. If one of them is legal, we allow it. This is
to give stuck players the chance to escape themselves.

16 minor illegal moves in a row count now as one "normal" illegal
move.
2011-02-20 10:01:53 +01:00
Evenprime
b31f476149 Partly commit of reorganization of plugin structure. 2011-02-19 19:47:57 +01:00
Evenprime
9ebc186490 version bump 2011-02-19 15:01:23 +01:00
Evenprime
9e01d7aedf Changed standard location for configuration and log file. 2011-02-18 20:43:09 +01:00
Evenprime
461097af56 Yet another fix for a "player getting stuck in wall" bug.
I forgot to handle the case where a player is stuck in a wall without
something below (e.g. the infamous minecart ride against a ceiling).
2011-02-18 18:00:47 +01:00
Evenprime
7340933587 Fixed behaviour inside of walls (e.g. after teleports, falling
sand/gravel)
2011-02-18 16:15:57 +01:00
Evenprime
125628cdd8 Fixed Permissions - Fixed bug with players with identical names -
Fixed Minecart bug
2011-02-17 21:48:03 +01:00
Evenprime
c223358e7d Permissions support + fix regression at half blocks and stairs 2011-02-17 18:13:05 +01:00
Evenprime
bf07aa16d7 Complete rewrite of the "onGround" check. Now it is much more
reliable.

OPs are now no longer filtered. (I use player.isOp() to check for
OP-status until I have a better system.

Increased threshold for speedhack from 50 to 60 to reduce false
positives. This value will at some point be configurable by the server
admin.
2011-02-17 16:07:56 +01:00
Evenprime
79c8fd6060 Rename + Speedhack-detection + bugfix
Renamed Project into NoCheatPlugin, because the old name doesn't fit
it anymore.
Also added a first draft of Speedhack detection. Will log suspicious
behaviour.
Fixed another bug with ladders, if a player jumps onto them and holds
itself only with his hands (metaphorically speaking).
2011-02-16 23:16:09 +01:00
Evenprime
20a67d606d Fixed a literal corner case.
When walking diagonally over a pit, Minecraft elevates a little in the
case that you are going to fall down on one side. This special move is
now treated as valid.
2011-02-16 19:52:34 +01:00
Evenprime
1598d487d5 Bumped version number to 0.2
This release should cause (almost) no more false positives on ladders,
stairs and half-blocks.
2011-02-16 15:31:59 +01:00
Evenprime
db5b1d051a Initial Commit to GIT Repository. 2011-02-16 15:15:35 +01:00