Commit Graph

190 Commits

Author SHA1 Message Date
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