Commit Graph

1924 Commits

Author SHA1 Message Date
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
Evenprime
248a4867a6 + rudimentary support for sprinting players 2011-09-15 13:28:58 +02:00
Evenprime
d280bc4f7d + option to turn world-check-list on startup on or off 2011-09-15 13:03:53 +02:00
Evenprime
80b3718993 Move chat.spam check from "high" to "lowest" listener level, to
support HeroChat and similar.
2011-09-14 15:06:37 +02:00
Evenprime
8442194f3c Fix missing option descriptions + fix formatting of plugin.yml 2011-09-12 00:22:56 +02:00
Evenprime
0264eb97d5 Display which checks are active in which world on startup 2011-09-11 20:17:51 +02:00
Evenprime
1480ebb3db New check "chat.spam" with configuration and permissions 2011-09-11 19:07:38 +02:00
Evenprime
af2242844f Updated link in readme.txt 2011-09-10 21:52:12 +02:00
Evenprime
ad92e67256 Fix (harmless) NPE in case of portal usage with disabled nether. 2011-09-10 18:53:16 +02:00
Evenprime
fbd078209c Prevent dupe exploit in combination with .drop protection 2011-09-07 17:37:47 +02:00
Evenprime
5b56fc7302 - Some code cleanup
- measure serverside lag in a seperate thread, once per second
- (Server) lag resistant "more packets" check
- minor adjustments to default config settings
- fixed a bug that would deactivate the durability check if the
morepackets check got deactivated
2011-09-03 19:05:59 +02:00
Evenprime
c0a124ac61 Create folders for action-files, if they don't exist yet 2011-09-03 01:33:45 +02:00
Evenprime
0283ded357 - Respect -p parameter of craftbukkit (plugin directory)
- "logfile" config option is now relative to the Nocheat/ folder,
instead of relative to the craftBukkit folder.
- new check blockplace.reach: limit distance at which blocks may be
placed
- new check blockplace.liquid: don't allow block placing onto liquids
- new permission nodes and config options for the new checks
2011-09-02 19:33:32 +02:00
Evenprime
848d2b3623 Added infinite durability hack check
Deactivated parts of the NoClip check, until I can work on it
2011-09-01 14:08:48 +02:00
Evenprime
92620c4fd4 NoCheat 2.0 initial Commit 2011-08-31 15:26:07 +02:00
Evenprime
6d0da77e7d Use SuperPerms if "Permissions" plugin isn't found 2011-08-23 22:42:36 +02:00
Evenprime
911d62a411 Workaround for placing blocks below yourself 2011-08-22 13:39:03 +02:00
Evenprime
6a7e7d239f Try to make speedhack ignore "cancelled" move events. 2011-08-21 14:37:21 +02:00
Evenprime
0284f5be3f More stuff for infinitedurability check: cancel using of items, choose
if to log or not. Only log once every 5 seconds.
2011-08-20 22:46:24 +02:00
Evenprime
c207f6ce94 Fix the fix for cancelled move events. Rather use the real player
location than the faulty "from" location as a new setback point.
2011-08-20 22:10:13 +02:00
Evenprime
bc35207828 Detect and kick players that activate the infinite durability hack 2011-08-20 21:33:47 +02:00
Evenprime
624e04393f Fixed behaviour of ladders that don't fully connect to the ground 2011-08-20 20:00:43 +02:00
Evenprime
d23f38ebd1 Fixed water on top of player behaviour + Fixed behaviour in case of
cancelled move-events
2011-08-20 15:51:55 +02:00
Evenprime
6033ee47e5 Fixed fences and halfblocks behaviour + make "enforceteleport" true by
default
2011-08-19 20:39:40 +02:00
Evenprime
f13c35ed59 Fixed movement check to reduce false positives/increase accuracy
(again)
2011-08-17 17:01:24 +02:00
Evenprime
d9985e1721 Fix false positives when jumping down half-blocks/stairs 2011-08-17 14:10:22 +02:00
Evenprime
3d338d5a65 Fixed a NPE with Nether portals in case that nether=false and
therefore the "to" location is null
2011-08-16 23:23:19 +02:00
Evenprime
0afa1d90f7 Display message(s) of the day before loading the rest of the plugin. 2011-08-09 18:39:27 +02:00
Evenprime
7e0721da98 Removed no longer needed workarounds + lots of code formatting 2011-08-09 15:58:05 +02:00