asofold
bd5bc5a5bd
Use public visibility for event handler methods.
2018-01-20 00:37:39 +01:00
asofold
7a4a8b0490
[BLEEDING] With NCP 3.16.1-SNAPSHOT: remove plugin enabling, add order.
...
* Run from NCP 3.16.1-SNAPSHOT on exclusively.
* Add default order to registration.
* Add true wrapping order to hook event handlers.
* Remove config features for enabling other plugins.
* Remove static instance storing.
Effects remain to be seen...
2018-01-17 15:32:18 +01:00
asofold
f1e9efc828
Don't use getTypeId.
2017-12-10 14:44:08 +01:00
asofold
ad48d3400b
Use IDisableListener instead of the deprecated DisableListener.
2017-04-02 11:30:24 +02:00
TheComputerGeek2
a490a718c8
Added class based exemption hook for PlayerInteractEvent.
...
Default contains MagicSpells's wrapped event class.
2016-12-03 18:50:15 -08:00
TheComputerGeek2
fe67703311
Added MagicSpells events to existing class based exemption hooks.
...
- BlockBreak
- BlockPlace
- EntityDamageByEntity
2016-12-03 17:58:56 -08:00
asofold
4c265ec186
Update to latest NCP changes.
2016-06-21 20:13:39 +02:00
asofold
fa5c1e05aa
Remove WorldGuard from the ensure-enable preset.
...
Don't remember why it's been there...
2015-11-24 14:55:32 +01:00
asofold
3edeec8f7c
Copy ActionFrequency here, to avoid issues on future renaming.
2015-11-24 07:37:31 +01:00
asofold
0c52cbef60
Maven not found for MagicSpells, remove this hook for the time being.
2015-07-30 12:44:43 +02:00
asofold
21d54b48a4
onEnable: Log an error if NCP is not there or already enabled. Spaces.
2015-03-22 01:24:18 +01:00
asofold
a649ad5c18
Make unregistration of NCPHook instances more robust.
...
* Do catch exceptions on unregister (too many for now).
* Register a DisableListener with NCP, for timely unregistration.
* Still attempt to unregister in onDisable (no effect for the usual
case)
2014-07-21 12:06:33 +02:00
asofold
2dea2695b9
Quick try: Add EntityDamageByEntity hook (aiming at CrackShot).
2013-12-25 23:41:20 +01:00
asofold
c23e39d156
Reset set-speed hook values for older config versions.
...
Some people might have had the inoperable set-speed hook enabled.
2013-07-17 11:57:06 +02:00
asofold
3103ffbafa
Must increment version of HookSetSpeed.
2013-07-17 11:47:35 +02:00
asofold
e049523b30
L-O-L.
2013-07-15 22:03:59 +02:00
asofold
ebcc776553
Set initial speeds for the set-speed hook to CraftBukkit defaults.
2013-07-15 22:01:40 +02:00
asofold
ad4d7a284d
Suppress deprecation warnings for NCP API access.
2013-06-07 15:28:22 +02:00
asofold
124f47be1a
Change info command output for cncp.
2013-03-03 16:39:54 +01:00
asofold
13e2554e24
[EXPERIMENTAL] Add in MagicSpells hook, untested.
...
This only works for spells that are processed in the same tick.
2013-03-03 16:26:14 +01:00
asofold
ec30333545
Clear registered hooks on disable, add info command (cncp).
2013-03-03 15:50:19 +01:00
asofold
de7025debf
Deprecate ExemptionManager.
2013-03-03 14:18:10 +01:00
asofold
11b6c18c74
Forgot to increment versions of changed hooks.
2013-03-03 14:13:25 +01:00
asofold
46fa467755
Add SpoutCraftPlayer (and other random ones) ot player-class default
...
player classes.
2013-03-03 14:11:21 +01:00
asofold
58436abf35
By default the player-class hook is disabled from now on.
...
It was mostly used for Citizens 1.
2013-03-03 13:39:50 +01:00
asofold
dbb70e9bcc
Add skeleton for MagicSpells support (not yet operable).
2013-03-03 13:35:55 +01:00
asofold
d93c7d1166
Add AbstractConfigurableHook.
2013-02-06 09:41:13 +01:00
asofold
cbe63815ba
Better cancary.
2013-02-01 08:33:17 +01:00
asofold
e4c355bc48
More sharp check for outdated entries.
2013-01-23 02:52:37 +01:00
asofold
586ea509d2
[Bleeding] ActionFrequency + System time running backwards.
2013-01-12 20:47:53 +01:00
asofold
607d40201c
Hotfix attempt.
2012-11-16 00:42:10 +01:00
asofold
64c2e61f16
Fix IndexOutOfBounds issue.
2012-11-14 17:02:48 +01:00
asofold
5e162bd00b
Adapt to NCP aPI changes (breaks with earlier builds of NCP).
2012-11-14 17:00:50 +01:00
asofold
04aa4a6cc6
Adapt to NCP API change.
2012-10-19 18:32:50 +02:00
asofold
d6c093d2fd
Adapt to NCP API changes (NCP build 158 +).
2012-10-17 18:31:02 +02:00
asofold
fbea0ee095
Add SpoutClientPlayer to default classes.
2012-10-03 02:27:02 +02:00
asofold
5355e7aa61
Safety Commit.
2012-09-17 22:58:41 +02:00
asofold
3acc9c4b2b
Fix exemptions staying with player for too long.
2012-09-17 01:35:34 +02:00
asofold
5af4f6a661
Compatibility with Spout.
2012-09-15 20:20:27 +02:00
asofold
5773810bf9
(adapt) To API change of build 92 of NCP.
2012-09-15 10:12:26 +02:00
asofold
5645f468b0
(bugfix) critical: Insta break hook uses a stack now.
2012-09-13 19:01:39 +02:00
asofold
122848d04b
REVERT: insta break hook needs to be enabled, currently (slightly
...
mysterious).
2012-09-13 18:10:02 +02:00
asofold
5d43f83351
- (adjust) Also exempt mcMMO from WrongBlock check, disable insta break
...
hook (for ncp 88+), limit to 20 blcokbreaks per second by default.
2012-09-13 18:04:16 +02:00
asofold
306e1d41f0
(6.2.1)
...
- (bugfix) Fix priorities of InstaBreak hook.
2012-09-13 00:07:20 +02:00
asofold
980a39c693
- (add) Generic insta break hook.
...
- (add) Option to let mcMMO use the insta break hook.
2012-09-12 19:19:20 +02:00
asofold
c9d1b1e490
(adapt) Adjust mcMMO hook to build 84 of NCP. Use exemption mechanisms
...
where possible for better performance.
2012-09-12 18:27:52 +02:00
asofold
5d4a2ac5cb
Change design of exemption bookkeeping (ExemptionManager), adjust
...
visibility.
2012-09-12 12:10:54 +02:00
asofold
6ce5d55618
ADjust to NCP build 82 + .
2012-09-10 21:26:18 +02:00
asofold
ec17d36f74
Correct version of mcMMO hook.
2012-09-04 00:19:56 +02:00
asofold
39534cc5af
(6.1.0)
...
- (add) Generic hooks: block-break and block-place. Some defaults added
for MachinaCraft.
- (refactor) Re structured generic hooks configuration handling.
2012-08-31 04:25:49 +02:00