Commit Graph

427 Commits

Author SHA1 Message Date
asofold
543dcf57f5 Metrics/ticks: Use rounding + de-tweak counting up to 20. 2013-07-09 17:16:47 +02:00
asofold
295ecee2cd Cancel metrics if set so and still active, also reset metrics on reload. 2013-07-09 16:50:10 +02:00
asofold
e60006d6a3 Update pom.xml descriptions. 2013-07-06 14:49:24 +02:00
asofold
d5d7973654 [BLEEDING/INSTABLE] Set CompatCBDev to support 1.6.1 changes. 2013-07-02 12:35:18 +02:00
asofold
3b337d968d Change config path for protectplugins. 2013-06-30 19:28:52 +02:00
asofold
78f453c5c2 Update metrics. 2013-06-30 02:49:26 +02:00
asofold
a4556667fd Add dedicated 1.5.2 module. 2013-06-24 12:24:36 +02:00
asofold
21442c4e22 Use a filter permission to see if a player can use the root command.
The permission is set as child of all command permissions 
(sub commands of the root command). This is done in post enable to not
have to add it 100 times to the plugin.yml. Hopefully permission plugins
handle this right, superperms (permissions.yml) does.
2013-06-12 02:08:22 +02:00
asofold
ae2d6142d9 Add command to turn notifications off and on again (per player). 2013-06-12 00:53:40 +02:00
asofold
8ea5eccaa0 Put commands on feet.
* Add a new base class for better sub-command handling also for
tab-completion (AbstractCommand).
* Alter package structure slightly, to group command-classes by purpose.
* Some renaming.
2013-06-11 21:17:06 +02:00
asofold
888c7d937a Add tags to PlayerData + implement a notify-off tag.
Not sure this is that much final, but PlayerData can now carry tags.
NoCheatPlus.sendAdminNotify... will now check PlayerData for the
"notify_off" tag, as a preparation for a command to turn off
notifications.
2013-06-11 20:06:57 +02:00
asofold
2bf28c4982 [BLEEDING] Move configuration for logging back-ends to sub-sections. 2013-06-11 00:36:43 +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
dac80f9e32 Remove unneeded dependencies for NCPCore. 2013-05-27 14:33:24 +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
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
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
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
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
0e5912c77f Fly and xray removed from cjb? 2013-04-24 01:25:11 +02:00
asofold
34d851e0df Quick rework for client-mod-motdS. One class per client for better
overview.
2013-04-24 01:03:55 +02:00
asofold
04f2baed50 . 2013-04-23 23:45:38 +02:00
asofold
cdcd7945e9 Update permissions in the plugin.yml + order. 2013-04-23 23:30:26 +02:00
asofold
22ffb43ddf [BLEEDING] Testing: ender-pearl glitch use (first sketch, read details).
* This method is "hard-coded" and not configurable yet.
* Prevent throwing and teleporting into blocks directly, prevent
the second throw on glitching into a one thick ceiling (might lead to
lots of passable violations at present).
* If stuck in a block with the feet (not sand/gravel) without being on
ground, throwing is prevented.
* Some dependencies were updated, hopefully without conflicts for
backwards compatibility (untested).
2013-04-22 21:46:49 +02:00
asofold
3b4352c044 [BLEEDING] Add AutoSign check (first sketch). 2013-04-22 04:38:14 +02:00
asofold
f4b88b3309 Adjust critical, remove remainders of old god-mode check.
Critical:
* Add tags.
* Add extra flag (redundant to MediumLiftOff, just indicating what the
real lift off was, might need redesign, since m-lo is modified
sometimes.)
2013-04-22 01:14:05 +02:00
asofold
6b4421dc81 [BLEEDING] Add low jump detection, prevent critical hits if in low jump
phase.
2013-04-21 22:20:28 +02:00
asofold
19ddaefb4c Fix crop trampling being disabled by anticriticals. 2013-04-21 21:23:51 +02:00
asofold
e26aec2cbd Make login denial configurable for the illegal-move checking. 2013-04-21 19:52:55 +02:00
asofold
2334bc9f22 Hover check: Check if chunks are loaded before triggering a violation. 2013-04-21 19:48:04 +02:00
asofold
fa50f34023 Add the auxiliary OnDemandTickListener class for temporary TickListener
registration.

* OnDemandTickListener contains API for convenient on-demand
registration and use.
* TickTask recognizes these and conveniently sets them
registered/unregistered.
* TickTask was optimized to allow faster adding and removal of
TickListener instances.
* Used for delayed component registration.
* Future purpose.
2013-04-18 17:10:12 +02:00
asofold
a950a2b7f8 Use a "temporary" TickListener to process queued IHoldSubComponents
instances.
2013-04-15 16:20:41 +02:00