Commit Graph

1150 Commits

Author SHA1 Message Date
asofold
7e26e7e030 Set CraftBukkit dependency to 1.4.2R0.2 . 2012-11-08 04:26:53 +01:00
asofold
19d6ed4210 Bleeding: Add ListenerManager (experimental).
The ListenerManager just allows to register Listener objects, but also
allows to register before other or certain other listeners. This might
be an interesting addition for compatibility add-ons.
2012-11-07 12:56:25 +01:00
asofold
affdffe1d8 Correct printing of stacktraces. 2012-11-07 11:42:33 +01:00
asofold
4225367d04 Bleeding: increase bounding box for on-ground checks.
I am not sure about exact values, increasing too far will lead to nofall
killing players that jump down near a wall, so one has to find a
reasonable distinction here.
2012-11-07 09:39:19 +01:00
asofold
370e89b9a3 SF: Add vdist tag. 2012-11-07 09:29:28 +01:00
asofold
30d1c915ad Fix jumping on boat for a bit.
Also rename field entity to entityPlayer to avoid similar trouble in
future.
2012-11-07 09:28:29 +01:00
asofold
85e9b00501 Show correct jump amplifier for debugging. 2012-11-07 09:27:02 +01:00
asofold
f529d2f1c3 Ensure fluids are not regarded as ground. 2012-11-07 09:00:17 +01:00
asofold
a26eacef29 More like comment additions. 2012-11-07 08:57:41 +01:00
asofold
b64beac0b4 Fix undoCommandChanges.
Remove entries after undoing them. change type of change history to
List, remove in reverse order to avoid potential problems with
overriding of multiple changes.
2012-11-07 08:16:01 +01:00
asofold
28afa77c74 Add tab completion for CheckType. 2012-11-07 07:03:35 +01:00
asofold
ae5427e01d Add Method for matching CheckType names [might get moved, changed
arbitrarily].
2012-11-07 07:03:11 +01:00
asofold
9741f45346 Basic tab-completion for the root command. 2012-11-07 06:03:02 +01:00
asofold
a5ada55ac4 Protect version (icanhasbukkit) and plugins commands by permission
defaults as well.
2012-11-07 05:30:21 +01:00
asofold
9fc50e315b Add convenience logging method. PErmisisonUtil was moved. 2012-11-07 05:25:42 +01:00
asofold
59d0ea2629 Add getCommand to CommandUtil. 2012-11-06 13:14:13 +01:00
asofold
40a9f881d7 Do sharpen protectplugins and opinconsoleonly.
Compare to label of a registered command.
2012-11-06 10:25:12 +01:00
asofold
f9942a608e Do add CommandUtil for auxiliary methods. 2012-11-06 10:23:39 +01:00
asofold
941c308333 Do move Permissions where it belongs. 2012-11-06 10:11:17 +01:00
asofold
a88f69f164 Merge branch 'master' of
https://git@github.com/NoCheatPlus/NoCheatPlus.git

Conflicts:
	src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java
2012-11-06 10:01:21 +01:00
asofold
3a1e9fe7d8 Safety fuck up commit. 2012-11-06 07:56:53 +01:00
asofold
50ad3915ed SF: Use accounting only in air. 2012-11-06 02:14:02 +01:00
asofold
3bb18c5c35 SF: don't clear tags with bunny and hbuffer. 2012-11-06 02:12:51 +01:00
asofold
b2f513b1ad Some events still can not be cancelled at all. 2012-11-05 13:16:06 +01:00
asofold
e73620e5c2 Combined/EntityDamage allows to ignore cancelled events. 2012-11-05 13:12:27 +01:00
asofold
cf89b93095 Actually we want to receive cancelled events for teleport. 2012-11-05 13:06:05 +01:00
asofold
10db15c8f6 Add tag "buffer", if buffer negated distance above limit. 2012-11-05 12:38:13 +01:00
asofold
8dde53b9ba Fixes for survivalfly, adaptions, comments. 2012-11-05 12:32:28 +01:00
asofold
43aa80e0dc Rename ParameterName.COMPONENT to TAGS.
1. Component(s) collides with concepts of the overall design.
2. It is meant like simple tags of whatever origin.
2012-11-05 10:06:20 +01:00
asofold
c5ea1ad9c6 Code simplification. 2012-11-05 10:02:24 +01:00
asofold
857e299c30 SF: Use maximum for distance above limit. Fill in component information. 2012-11-05 07:24:39 +01:00
asofold
dbdebd0e84 Add ParameterName.COMPONENT, for check details on violations. 2012-11-05 07:04:25 +01:00
asofold
619359cc32 Bleeding: add consistency check for y-moving direction (accounting). 2012-11-05 07:01:44 +01:00
asofold
06a5d33542 Set jumAmplifier to the actual value instead of 0 for some spots. 2012-11-05 06:49:15 +01:00
asofold
1a87a9d0da Random formatting + java doc. 2012-11-05 05:14:58 +01:00
asofold
d8d6c5ab60 Redundant. 2012-11-05 02:48:49 +01:00
asofold
d59eaaec2f SF + set-back: Still use set-back location, don't reset data.
On teleports initiated by NCP set-back location is kept, as well as some
parts of the fly data should not be cleared but reset according to the
set-back location.
Bed checks take into account that there could be a set-back location if
ground is not set.
2012-11-05 01:15:03 +01:00
asofold
7a70f0e4a2 SF: Fix problems with continued jumping.
Especially over stairs one would encounter problems, because the setback
location was not set anymore for the "lost-ground" workaround. This
effectively reverts former removal of setting it then.
2012-11-04 13:43:35 +01:00
asofold
ea2960e37f Equipped end portal frames are walked on differently... 2012-11-04 13:18:38 +01:00
asofold
7ab2b1ae33 FlowerPot can be walked on. 2012-11-04 13:06:16 +01:00
asofold
61860247f4 Add lastAccess to ActionFrequency. 2012-11-04 12:50:19 +01:00
asofold
2901ac3abc Javadoc/comments. 2012-11-03 13:15:29 +01:00
asofold
67e993d597 DataManager.removeData: Fix for consistency. 2012-11-03 12:27:03 +01:00
asofold
dd1da82abd Compromise: Completely bind yawrate(fight) to the angle check.
To avoid compatibility issues with exemptions the yawrate
feeding/checking is now only done if angle is enabled. As a compromise
both are still checked, even if speed has already cancelled the event,
because the "fast turning" checks both accumulate data and depend on not
missing players attempts.
2012-11-03 10:54:00 +01:00
asofold
17395cb742 Deprecate CheckType.removeData(String, CheckType), move to DataManager. 2012-11-03 10:22:21 +01:00
asofold
2e87c821b5 Add note. 2012-11-03 10:19:00 +01:00
asofold
c43a00e21c Keep it at faster enabled-checks for moving event. 2012-11-03 10:09:19 +01:00
asofold
1e7b60f79b Prefer the set-back location from passable, but still check it first. 2012-11-03 09:55:50 +01:00
asofold
d8a1d96550 Random formatting. 2012-11-03 09:44:07 +01:00
asofold
b8f886f59c API cleanup: Associate all group check types with their bypass
permissions.
2012-11-03 09:33:10 +01:00