Evenprime
25ab6a6659
Added option to limit reach for block destruction + configuration file
...
will get default values for missing boolean options instead of always
false.
2011-07-09 18:32:07 +02:00
Evenprime
be9a728eda
Custom commands can now execute plugin commands too + made nukeCheck
...
a bit more reliable and faster
2011-07-09 16:14:20 +02:00
Evenprime
67c8ca13d1
Experimental "nuke" protection
2011-07-08 20:14:54 +02:00
Evenprime
8729400be5
Fixed Respawning
2011-07-05 16:29:19 +02:00
Evenprime
9406961f05
Fixed a rare exception in moving check if a teleport destination
...
isn't in the same world as the player.
2011-07-04 00:27:57 +02:00
Evenprime
272f2d410c
Fixed teleports (for real this time) by completely rewriting how they
...
are handled.
2011-07-03 13:06:17 +02:00
Evenprime
c3b6148245
Adapted to CB 950+: Fixed teleports, reduced false positives while
...
moving/jumping around randomly.
2011-07-01 10:51:25 +02:00
Evenprime
a4bb515ee0
Potential fix(es) for flying after respawning
2011-06-30 13:30:00 +02:00
Evenprime
61d89d78d8
Removed Bedteleport check, workaround for bogusitems pickup check
...
(bukkit has a nasty bug here), adapted moving and speedhack check for
new system.
2011-06-24 14:10:54 +02:00
Evenprime
669f730fd4
Fix for vehicles
2011-06-24 13:41:48 +02:00
Evenprime
ed14d23f25
Got rid of respawn and worldchanged workarounds in favour of more
...
generic ways to handle that.
2011-06-19 12:17:20 +02:00
Evenprime
7598cecdc9
Fixed behaviour of new checkops options (was inverted before)
...
Made speedhack check a bit less strict in case of server lag, and
server lag measurement more useful.
Made descriptions for options easier to use
2011-06-19 11:47:52 +02:00
Evenprime
65ed8d4da6
No longer replace the nice [keywords] with their e.g. ugly %3$.1f
...
counterparts in the config file.
2011-06-18 18:15:05 +02:00
Evenprime
fda8ae4c06
Descriptions are now stored to a file descriptions.txt every time the
...
GUI or the plugin get started.
The config file gets overwritten every time the GUI or the plugin get
started, to automatically remove no longer valid options and/or add
newly available options to it.
2011-06-18 17:40:27 +02:00
Evenprime
a37daefa63
Minor change to recently added teleport enforcing to (hopefully) be
...
pre and post #888 compatible for now.
2011-06-18 16:54:17 +02:00
Evenprime
1ddd1ca6c9
Lengthy descriptions for every option of the config file,
...
nicely integrated into the GUI config tool.
2011-06-18 16:49:02 +02:00
Evenprime
1de43ec782
"Help" buttons for GUI configuration program
...
Started implementing additional options for:
- forcing checks of OPs (in case Permissions plugin is not
available)
- enforcing teleports initialized by NoCheat to be successful
(overriding cancels of other plugins)
2011-06-17 21:45:57 +02:00
Evenprime
2fa4beb656
Show warning about disfunctional Permissions plugin (at most) every 60
...
seconds instead of just once.
Shutdown ALL async tasks properly (missed one)
Added new keyword "[distance]" for moving violation messages
2011-06-15 16:02:20 +02:00
Evenprime
bfae43effc
A little bit improved handling of velocity-changing plugins
...
Potential fix for respawn-events with changed respawn-location
2011-06-13 20:55:55 +02:00
Evenprime
84c8e98054
Potential fix for World<->Nether teleports
...
Potential fix for Vehicle destruction problems
2011-06-12 11:35:03 +02:00
Evenprime
2c8de34864
Removed Itemdupe check (no longer needed)
...
Readded water ladder support (optional by config file)
2011-06-06 20:58:57 +02:00
Evenprime
a039edcfaf
Use soft dependencies to request loading of Permissions and CraftIRC
...
before NoCheat
2011-06-06 19:57:59 +02:00
Evenprime
30622e9235
New permission "fastswim" and config option "allowfastswim" to
...
accompany the new moving-check feature.
2011-06-06 18:44:42 +02:00
Evenprime
7945496e79
Only allow a reduced max movement speed in water
2011-06-06 17:57:33 +02:00
Evenprime
81b4d7160e
Differentiate between LIQUID and SOLID blocks when determining if a
...
player is on ground or in the air.
2011-06-06 17:04:20 +02:00
Evenprime
eac9f4d10a
Replaced definition of block types with a much more flexible method,
...
that should theoretically also support future blocks
2011-05-31 17:49:25 +02:00
Evenprime
e565e07c6a
- fixed loading of configuration if a String value is missing
...
- don't count placing air in air in airbuild check
2011-05-25 22:12:45 +02:00
Evenprime
c61584efb6
Updated Moving-check:
...
- fixed potential exploit to partially bypass nofly protection in
certain cases
- removed some legacy workarounds that are probably no longer needed
- teleport players after violations closer to the ground, if the
original target location is high above ground
- fixed bug occuring while reading config file if String parameters
are missing in the file
2011-05-25 22:01:42 +02:00
Evenprime
22d73209a8
Fixed speedhack check and minor other stuff
2011-05-17 18:12:42 +02:00
Evenprime
1fe7aaa1ae
missed a uncatched exception
2011-05-16 16:00:17 +02:00
Evenprime
5a72df08f7
Version 1.00 - fixed some remaining errors after the merge
2011-05-16 15:01:44 +02:00
Evenprime
6cdc3171ec
Merge branch 'wizard' into HEAD
2011-05-16 14:46:54 +02:00
Evenprime
ed0a36879c
Option to add and remove custom actions in the wizard
2011-05-16 14:27:01 +02:00
Evenprime
8705328021
Added warning in case allow-flight is set to false in
...
server.properties.
2011-05-16 13:36:54 +02:00
Evenprime
5725209bc6
Log time AND date to logfile
2011-05-14 18:08:43 +02:00
Evenprime
c6aa6b213b
Implemented extremely simple (and incomplete) YAML parser to no longer
...
depend on external libraries like SnakeYAML.
2011-05-14 17:54:11 +02:00
Evenprime
29361d0867
Fixed bug related to new action handling + finished implementing
...
custom Actions
2011-05-13 14:00:00 +02:00
Evenprime
cc5c946141
Simpified custom commands - only allow choice if repetition is wanted
...
or not, but no longer choice about intervals for repetition.
2011-05-12 18:05:19 +02:00
Evenprime
d10b85c12d
Integration of custom actions into existing checks
2011-05-10 17:19:26 +02:00
Evenprime
c5f910de21
Additional implementations for the configuration GUI and custom
...
actions
2011-05-10 14:04:03 +02:00
Evenprime
fe9a868169
Further integration of the new configuration system + package
...
refactoring
2011-05-04 07:58:39 +02:00
Evenprime
c989b9f025
Finished automated GUI generation out of a Options Tree
2011-05-03 18:05:14 +02:00
Evenprime
f13fcf39e1
Initial test for GUI configuration tool
2011-05-02 19:04:34 +02:00
Evenprime
b656644b29
Fix for a bug with Minecarts /and probably other vehicles) that only
...
happens if players destroy their cart instead of leaving it.
2011-05-01 23:42:26 +02:00
Evenprime
11e18e0423
Fixed bug that caused part of the moving check to be executed twice.
2011-05-01 02:00:42 +02:00
Evenprime
e404a65b0f
Code cleanup and big performance improvement of "moving" check
2011-04-30 23:36:02 +02:00
Evenprime
ff2f9244a6
Fixed bug that would cause part of the moving check to not work at all
2011-04-30 07:06:05 +02:00
Evenprime
bc45bac045
Implemented "fakesneak" check - detecting players that "sneak too
...
fast" + again some code moving for better readability
2011-04-29 18:12:18 +02:00
Evenprime
5d0585d546
Method renaming and moving data around + only cache and update really
...
used permissions
2011-04-28 18:33:31 +02:00
Evenprime
6a5b9f2a20
Split itemdupe check into itemdupe and bogusitems checks + logging
...
instead of just System.out.println
2011-04-27 11:17:51 +02:00
Evenprime
85a52c5fbf
Improved itemdupe check + reliable fix for the underlying problem
2011-04-26 21:04:06 +02:00
Evenprime
d0ba809f2a
Rewritten speedhack check to detect much earlier and only if the
...
server doesn't lag + measure server lag every half second
2011-04-26 16:11:45 +02:00
Evenprime
18cb95ab5e
More refactoring + seperate data objects for each check, only created
...
on demand + some whitespace code formatting
2011-04-25 22:44:54 +02:00
Evenprime
d9b73cbb67
Code refactoring + cleaner seperation between speedhack and moving
...
check + only register listeners for activated checks
2011-04-25 21:53:27 +02:00
Evenprime
cce01cca1a
Allow using permission nocheat.itemdupe to bypass the new check.
2011-04-25 17:51:46 +02:00
Evenprime
385c807c10
A fix for a new itemduplication bug involving Workbenches, but may
...
also fix other such bugs due to its generic nature.
2011-04-25 14:03:17 +02:00
Evenprime
eb3ddabbc3
Keep orientation of teleported player when teleporting
2011-04-17 14:41:58 +02:00
Evenprime
6d0f26d814
A little code refactoring + fixed portals with Essentials
...
Move events that don't move the player at all, events after a respawn,
events after a teleport between worlds and events after a move that I
didn't track (e.g. because the player had permissions set accordingly,
was riding a vehicle) are now ignored.
2011-04-17 14:30:18 +02:00
Evenprime
f75a7ecaa1
Better compatibility with Essentials "jail" plus big performance
...
improvements
2011-04-15 19:57:28 +02:00
Evenprime
05db6c58af
Performance measurement for moving check
2011-04-14 17:06:22 +02:00
Evenprime
a3a8e64127
First rudimentary implementation of a new "sneakrun" check - still
...
needs refinement
2011-04-13 20:04:24 +02:00
Evenprime
8fe02be3b5
Fixed configuration of new option allowflying
2011-04-11 16:57:40 +02:00
Evenprime
3855ed7987
Show "flying" in the console startup info as an active check (if not
...
allowed)
2011-04-11 16:53:32 +02:00
Evenprime
467fb90ad1
Shutdown logging to file in a clean way if the plugin gets disabled
2011-04-11 16:45:30 +02:00
Evenprime
7390acdd39
Removed "precisevelocity" option because it is no longer needed +
...
added option to allow flying generally + much more reliable way to
determine a players velocity before Minecraft taints the values
2011-04-11 16:12:13 +02:00
Evenprime
004748dbd3
Fixed concurrentModificationException
2011-04-10 22:08:05 +02:00
Evenprime
bbe2250e0a
put under MIT License
2011-04-10 16:52:45 +02:00
Evenprime
3082133e40
Option to decide between two variants for supporting velocity
...
(standard and "less precise" for compatibility with other plugins +
cleanup function running at regular intervals + permission to allow
flying
2011-04-10 15:20:41 +02:00
Evenprime
5268c6a11a
Simpler method for bedteleport check (now that the interfaces for beds
...
are implemented in bukkit)
2011-04-10 13:52:21 +02:00
Evenprime
7e065d19dd
Changed priority of logging destinations (log to more important
...
locations like the log file and console before logging to chat/irc)
2011-04-08 09:57:14 +02:00
Evenprime
8e04bdece9
Fixed recursion within error handling of Permissions plugin
2011-04-08 09:43:47 +02:00
Evenprime
9ef5282905
Plugin rename from "NoCheatPlugin" to "NoCheat" and configurable
...
speedhack check log message + v0.8
2011-04-04 20:44:14 +02:00
Evenprime
f8eff5ee25
Renamed to NoCheat + configurable moving check messages
2011-04-04 20:20:03 +02:00
Evenprime
18a46a996c
removed forgotten debug output
2011-04-04 15:04:45 +02:00
Evenprime
b702801d2b
Changed config file constructor
2011-04-04 14:49:34 +02:00
Evenprime
3f7f537fc0
v0.7.8: Fixed config file creation/initialization + Walking on Fence
...
no longer causes false positives
2011-04-03 22:43:31 +02:00
Evenprime
c47c2d98e8
Code Refactoring plus preparations for custom events
2011-04-03 20:36:06 +02:00
Evenprime
085cad8ee8
Preparations for implementation of Custom Actions + better lag
...
resistance for the Moving-check in combination with serverside
velocity changes for the player
2011-04-01 22:02:58 +02:00
Evenprime
4535efd2eb
A bit code cleanup and new method to remove data for no longer online
...
players.
2011-03-30 12:50:59 +02:00
Evenprime
a9c85d231e
Workaround for changed PLAYER_MOVE event logic + catch and
...
handle Permissions exceptions + Version 0.7.7
2011-03-30 07:33:30 +02:00
Evenprime
8b8e5c2267
Preparations for new Bukkit version
2011-03-29 13:32:05 +02:00
Evenprime
3e92d0b9a2
Potential fix for problems with Borderguard Lite
2011-03-28 15:27:44 +02:00
Evenprime
fdd8bfdf6d
Fixed Water ladders facing towards positive z-axis
2011-03-28 14:11:40 +02:00
Evenprime
d93438db24
Ignore vehicles and movement with positive Y-Velocity in Speedhack
...
check + reset speedhack event counter in case of teleports + version
bump
2011-03-26 17:20:27 +01:00
Evenprime
74e39bc99e
Rewritten parts of moving check
2011-03-26 14:15:39 +01:00
Evenprime
77f347e182
Refactoring: seperate listeners for different checks + instancing
...
instead of static for almost anything
2011-03-25 16:47:37 +01:00
Evenprime
6a6cb9e247
Potential bugfix for false positives while landing during move event +
...
Moving check now (somewhat) respects vertical velocity of the player.
2011-03-21 18:28:49 +01:00
Evenprime
49f8b6cb5e
Airbuild check logging now more flexible and less spamming with heavy
...
violations.
2011-03-21 18:11:21 +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
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
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
b821292bf2
Readded "event.setCancelled(true);" for PLAYER_MOVE events, now that I
...
know that this was not the reason for disappearing players. I wished
cancelling move events would actually do what one would expect.
2011-03-13 15:57:19 +01:00
Evenprime
da413e842f
removed "dupebydeath" entry from standard config file
2011-03-13 14:43:26 +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
a2d443cb75
forgot to update command line feedback + version is now 0.6.3
2011-03-04 19:39:04 +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
9f2b2db2b5
Big changes to logging and movingcheck to prepare them for
...
customizable actions
2011-03-01 16:15:01 +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
66d801b1f8
Configurable unpunished minor moves for movingCheck
2011-02-25 17:48:28 +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
abeb50c62c
Minor bug with permissions
2011-02-22 19:04:09 +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
2d34799a87
Check against building in air + more configuration options + less
...
noisy logging.
2011-02-22 15:08:08 +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
f338325bd9
Minor changes to logging
2011-02-20 14:05:22 +01:00
Evenprime
274dc260e2
Potential fix for people going invisible after Teleports.
2011-02-20 13:10:50 +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
ef3bc33748
Minor change to onGround Check + more config options
...
Instead of using the built-in Math.floor I now use my own, because I
want to treat a very special case different to see if it fixes people
"freezing" on borders of blocks.
Now you can change the limit(s) for the speedhack-check yourself.
2011-02-19 14:50:05 +01:00
Evenprime
9e01d7aedf
Changed standard location for configuration and log file.
2011-02-18 20:43:09 +01:00
Evenprime
83d984edeb
experimental Logging support.
...
Choose where and what to log. (needs some additional code changes
before it is actually useful)
2011-02-18 20:30:23 +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
bc5985628e
Forgot a file
2011-02-17 21:48:32 +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