Commit Graph

1140 Commits

Author SHA1 Message Date
asofold
9ddb442bc9 Add trap_door to ignorepassable default config. 2012-11-09 21:17:47 +01:00
asofold
f044db166b Fix Actionfrequency.fromLine [need to add test cases]. 2012-11-09 20:46:07 +01:00
asofold
131ad3356f Fix and extend ActionFrequency. 2012-11-09 20:24:06 +01:00
asofold
d36cbe787a Correct comments (revert aggressive renaming effects). 2012-11-09 15:04:13 +01:00
asofold
4120ca9bd7 LogAction: no longer check the config file for flags.
The optimized actions will have done that beforehand.
2012-11-09 14:46:56 +01:00
asofold
9f4896b47c Make use of the optimized action lists. 2012-11-09 14:42:07 +01:00
asofold
a6003fc820 Use NoCheatPlus.sendAdminNotifyMessage in LogAction. 2012-11-09 14:30:08 +01:00
asofold
e0aca1a6eb Add pinpoint notification and getting players by permission support
(cached).

This adds the ability to keep track of players with a certain
permission with world-specific resolution (world changes, join, quit,
kick). Also adding a static access method to NoCheatPlus to notify all
with administration.notify permission.
2012-11-09 14:29:51 +01:00
asofold
a7b45fc3d4 Add basic support for getting an optimized ActionList. 2012-11-09 13:51:24 +01:00
asofold
71aaba2ea8 Store message in ActionWithParameters. 2012-11-09 11:57:33 +01:00
asofold
006d987518 Optimize ActionWithParameters.
Only return true for needsParameters() if a wildcard is present at all.
2012-11-09 11:13:05 +01:00
asofold
4cb953e2bb Change DummyAction to always execute.
there shpould not be any history for this, so execute it always.
2012-11-09 11:08:03 +01:00
asofold
c824f54c3d ExecutionHistory: Do not add entries for actions that always execute. 2012-11-09 10:28:57 +01:00
asofold
eed05511a6 Add Action.executesAlways . 2012-11-09 10:23:47 +01:00
asofold
6f41bad624 Refactor slightly to hide SimpleCommandMap (ongoing). 2012-11-09 10:17:07 +01:00
asofold
d4e171b9c9 Add getter: ViolationData.getPermissionSilent. 2012-11-09 09:24:39 +01:00
asofold
8ac003508f Adapt to LogUtil use. 2012-11-09 08:47:24 +01:00
asofold
b158d5369a Deprecate some methods, delegate to LogUtil. 2012-11-09 08:39:04 +01:00
asofold
86695a8cb0 Add LogUtil to bundle some static access methods. 2012-11-09 08:37:55 +01:00
asofold
ff5db38d0e GenericListener: Don't handle events that can't be handled.
For some reason this is needed.
2012-11-08 19:47:37 +01:00
asofold
e17cb6f5dd SF: Make horizontal-accounting a hidden setting for the moment. 2012-11-08 19:16:02 +01:00
asofold
7f747e9c18 MovingListener: Do more for dead players. 2012-11-08 19:09:12 +01:00
asofold
dd74accab8 Tweak NoFall.
For maximum and minimum y also consider player.getLocation(). For the
most normal cases it does not matter, but it can matter.
2012-11-08 18:56:25 +01:00
asofold
b531091e7f Add method for reset condition to PlayerLocation. 2012-11-08 18:33:28 +01:00
asofold
fdd5bf3b58 SF: Split off workaround from main method. 2012-11-08 18:04:29 +01:00
asofold
d59ba6fd19 SF: Simple re-structure for after-failure permission checks. 2012-11-08 17:52:27 +01:00
asofold
ee8244ecbc Re-work accounting for survivalfly slightly. 2012-11-08 16:44:47 +01:00
asofold
04761af8b8 Use ComponentWithName to set the tag parameter (managed listeners). 2012-11-08 10:58:43 +01:00
asofold
138431c413 Add interface for named components. 2012-11-08 10:49:04 +01:00
asofold
823fc285c5 Rename IComponentRegistry to ComponentRegistry. 2012-11-08 10:46:02 +01:00
asofold
1235f7acd0 Add configuration if to manage listeners (change needs restart). 2012-11-08 10:43:44 +01:00
asofold
2a364b8cb3 SF: Clear buffer on resetFlyData, carefully reduce with onSetBack. 2012-11-08 10:10:25 +01:00
asofold
24c78d4cd6 SF: Adapt tags (...).
sf+debug: only add tags line if any are present.
buffer tags: distinguish if buffer is used to reduce or if buffer is
used as further penalty.
2012-11-08 10:08:19 +01:00
asofold
30a937f2ed Rename some fields in MovingData, improve debug log messages for sf. 2012-11-08 09:31:00 +01:00
asofold
b3b88a7513 Adapt to ActionFrequncy changes. 2012-11-08 07:39:13 +01:00
asofold
3bac9c9530 Elaborate on ActionFrequency. 2012-11-08 07:18:50 +01:00
asofold
4cc28b0720 Move illegal-move-handling to a method, reorder slightly. 2012-11-08 06:53:01 +01:00
asofold
4ce6efeea1 Add getter for entityPlayer. 2012-11-08 06:29:58 +01:00
asofold
462aeed412 Hot fix for bounding box problems. 2012-11-08 06:02:22 +01:00
asofold
22f2a5c248 Add interface IHaveMethodOrder.
This allows to add a Listener with MethodOrder in case the
ListenerManager instance is not directly accessible.
2012-11-08 04:39:53 +01:00
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