Commit Graph

1662 Commits

Author SHA1 Message Date
asofold
bd043f407d [Bleeding] Reduce false positives for blockinteract.visible.
Alternate positions are checked for both passable and ray-tracing. This
lacks a little bit abuse prevention, because up to nine times
ray-tracing can be checked, which can be used to cause load for the
server, limited by blockinteract.speed.
2013-06-07 19:24:33 +02:00
asofold
9231de2d60 Adapt comments for getCorrectedBounds. 2013-06-07 15:35:22 +02:00
asofold
8f862fb3f6 Outer space again! 2013-06-07 15:23:40 +02:00
asofold
d01fa3e8a7 Too late to do it right! 2013-06-05 00:28:08 +02:00
asofold
ed33d6af25 Add permission for FastConsume to plugin.yml. 2013-06-05 00:20:53 +02:00
asofold
44a9bcbbfc More appropriate message. 2013-06-04 19:41:15 +02:00
asofold
fc6a20ae0d Write to console if NOT suppressed. 2013-06-04 19:21:15 +02:00
asofold
f6819dc6d6 Add option to suppress warnings for consistency checks.
Currently only applies to the player-inconsistencies (DataMan). A
summary message will be written to console on disabling the plugin if
inconsistencies were found.
2013-06-04 19:18:35 +02:00
asofold
05ab822615 Remove Location reference for FightData on world changing. 2013-06-04 11:57:44 +02:00
asofold
a9f26e2d7d [BLIND] Quick fix for memory leak with unloaded worlds (MovingData). 2013-06-04 11:44:21 +02:00
asofold
b8141f5f32 Adjust interact.visible to use bounds (read details below!).
* Uses unmodified block bounds as returned by the server, this is not
the final version but does fix the door problem.
* Users that use the CompatBukkit (bukkitapionly) module should beware
of the current dev-line, because the block shapes can not be retrieved
with using the Bukkit-API only, thus some blocks squeezed between other
blocks can not be interacted with in a reliable way. This concerns
interacting with the sides that are directed towards solid blocks
mostly, so in most cases there still is a side possible to interact
with, but it might be the short side of a door, not convenient.
2013-06-01 14:48:23 +02:00
asofold
90f110146f Attempt to fix fall-damage issue with dealdamage=false (Ticket 548). 2013-05-30 20:41:48 +02:00
asofold
18e18fae5f Refactor NoFall to reduce code duplication, re-order some arguments. 2013-05-30 20:28:37 +02:00
asofold
640409f4d3 Add option to reset nofall data if in vehicle. Relates to ticket 535. 2013-05-29 16:37:31 +02:00
asofold
dac80f9e32 Remove unneeded dependencies for NCPCore. 2013-05-27 14:33:24 +02:00
asofold
e1b1e55f01 Set version to 3.9.3-DEV for more development. 2013-05-26 21:34:19 +02:00
asofold
430915e377 [BLEEDING/INCOMPLETE] Attempt to fix issues with blockinteract.visible.
Done: Check if the end point of ray-tracing is passable.

Problem: Might lead to problems with non-full blocks squeezed between
full blocks.

Missing: Implement corrected outer bounds getting for use with this.
2013-05-26 21:10:47 +02:00
asofold
3b22ca2e6a [Experimental] Update inventory after FastConsume violations.
This might be used for other inventory violations too (subject to
testing).
2013-05-26 21:01:39 +02:00
asofold
7e1347a78b Set version to 3.9.2-RC for release on BukkitDev. 2013-05-23 10:53:20 +02:00
asofold
c6b1a81a26 [CRITICAL] Fix block-coordinates being used for chunk loading. 2013-05-23 10:38:02 +02:00
asofold
87f83ffe65 Add ymax to nofall debug output. 2013-05-23 09:49:36 +02:00
asofold
c77dbff23e [Bleeding] Add FastConsume, if available will replace instanteat.
Somewhat hacky still, not sure it actually works too well.
2013-05-23 09:44:24 +02:00
asofold
37f4881f6f Filter plugin.yml from the NoCheatPlus pom to get content right. 2013-05-22 22:03:35 +02:00
asofold
e06e55a752 Put a pom for building into the NoCheatPlus module until knowing better. 2013-05-22 21:00:37 +02:00
asofold
ce834675d7 Move most code to NCPCore, removes NCPCompat.
Factories are now on NCPPlugin level, thus all the core stuff can be in
one module, giving better source code browsing.

Updates has been moved into an updates package, because there is to be
expected more content, and to make utilities less fat.

To indicate the direction, the basic infra-structure has been added to
allow adding components to the DefaultComponentFactory. Further
processQueuedSubComponents is now called after each components adding in
order to allow more flexible registry features.
2013-05-22 12:24:48 +02:00
asofold
463700cb3a [BREAKING API] Add module NCPCore between NCPCompat and NCPPlugin.
* Static utility NCPAPIProvider instead of NoCheatPlus.getAPI().
* Extend NoCheatPlusAPI: Some previously static access methods are now
part of the NoCheatPlusAPI interface instead. MCAccessHolder is
implemented and allows external setting of MCAccess.
* Fix some static members/calls to non-static.
* Moving some packages to NCPCore.
* Prepares for moving most check stuff between NCPCompat and NCPPlugin
to allow more optional higher level components.
2013-05-21 22:49:05 +02:00
asofold
6e6b198188 Move auxiliary code. 2013-05-21 15:51:51 +02:00
asofold
6519ea1e19 Update supported versions of MCAccessBukkit. 2013-05-21 15:07:23 +02:00
asofold
8d0751fa64 [Safety commit] Prepare better mod support for blockbreak (slowly).
Not yet in place, but setting up new package structure to split off some
things from BlockProperties. Likely not final.
2013-05-21 15:02:51 +02:00
asofold
43d1c4aad0 SurvivalFly: Add tag lowfoodsprint for debugging purposes.
This tag is added if the player is sprinting but the food level has
dropped. Not sure this can actually be the case.
2013-05-21 14:56:19 +02:00
asofold
2319830873 [Incomplete] First go at shift+double-click on items with item on
cursor.
2013-05-15 01:37:21 +02:00
asofold
52b28bdfb4 [Bleeding] Add "sprintinggrace" concept to moving.
This allows setting a grace-period which allows that amount of seconds
longer sprinting even though the food level just dropped below minimum
for sprinting. This will hopefully reduce seldom false positives as well
as improve compatibility with other plugins like Heroes, which have
skills that add velocity and at the same time decrease the food level
below sprinting-limit (fp on landing).
2013-05-14 19:39:45 +02:00
asofold
9ae355c537 Iterate over the wrong list. 2013-05-11 01:02:47 +02:00
asofold
ac4d103cc1 Use ArrayList / index iteration here. 2013-05-11 00:56:33 +02:00
asofold
6d1d6612b2 More too hot breaking time fixes. 2013-05-10 15:50:27 +02:00
asofold
cce1f64ae7 Fix block breaking times for vines and cocoa beans. 2013-05-10 14:20:55 +02:00
asofold
969ccf57e0 Point project url to BukkitDev. 2013-05-10 14:00:23 +02:00
asofold
a277cbc96e Set version to 3.9.2 - back to development. 2013-05-10 13:59:58 +02:00
asofold
c45e92b50b Update checks and notifications are not processed anyway. 2013-05-06 00:31:18 +02:00
asofold
5717765de3 Add xz100 flag to steps just in case. 2013-05-06 00:26:02 +02:00
asofold
2457f031f2 Set version to 3.9.1-RC2 for second release attempt 2013-05-06 00:25:36 +02:00
asofold
9af9bcc7e9 Set version to 3.9.1-RC for release on BukkitDev. 2013-05-04 01:18:59 +02:00
asofold
e231b8773a Set dependecy for compat cb-dev to CB 1.5.1-R0.1 (beta release). 2013-05-04 01:13:30 +02:00
asofold
384c3483ca Add configuration for ender-pearl checks to the combined section. 2013-05-03 11:13:53 +02:00
asofold
3e96d7d9a2 [Experimental] Add "strictinvalidation" flag to velocity config.
This allows triggering the invalidation for the active horizontal
velocity at half of the allowed speed instead of full, in case of
setting the flag to false.
2013-05-01 22:44:19 +02:00
asofold
5e8cf481a1 [Bleeding] Set dependency for dev-module to CB 1.5.2-R0.1. 2013-05-01 20:36:16 +02:00
asofold
00a240ff9a Bind chunk loading debug messages to the debug flag as well. 2013-04-30 19:26:41 +02:00
asofold
a493da7ff7 Don't deal fall damage for causing passable violations moving from
ground.

This hopefully prevents a range of login/teleport problems with nofall.
Does not resolve those for tp/login into air.
2013-04-29 00:39:00 +02:00
asofold
634ca39824 Load chunks on players joining (configurable). 2013-04-27 00:32:07 +02:00
asofold
dcd606d1d2 Adjust flags for stairs. 2013-04-27 00:23:57 +02:00