Commit Graph

22 Commits

Author SHA1 Message Date
asofold
5e8cf481a1 [Bleeding] Set dependency for dev-module to CB 1.5.2-R0.1. 2013-05-01 20:36:16 +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
de5f152df9 [BLEEDING] Flesh out aspects of ComponentRegistry.
* Fixes data removal ignoring chat.logins and chat.text for a part.
* Move some components interfaces and ReflectionUtil to NCPCommons.
* Unregister components in reverse order.
* Add ComponentRegistryProvider for generic sub-registries (DataManager
for instance).
* Add IHoldSUbComponents for delayed sub-component registration
(convenient for iteration over parent-components with later registration
of sub components not missing out any registered parent components for
those). [Partly implemented: Using this during runtime does not yet
work, only used in onEnable.]
* Let CheckListener implement IHoldSubComponents and use this with
addCheck to register the queued checks after all the listeners.
* Register the core system components in a bunch before the
CheckListenerS, to allow sub-registries to work directly and to allow
getAPI().addComponent on the plugin class during construction of
CheckListeners.
2013-04-15 16:11:08 +02:00
asofold
652342c6c9 Add getMCAccess(boolean). 2013-04-15 09:05:01 +02:00
asofold
003e104ef4 Add module for CB2691 to match the beta release of CraftBukkit.
The dev module will compile with 1.5.1-R0.2 but not be used for the
moment.
2013-04-12 19:00:19 +02:00
asofold
d6d465418f [BLEEDING] Set DEV module to 1.5.1. 2013-03-21 01:10:56 +01:00
asofold
72c69df73c Add MC 1.5 module. 2013-03-21 01:01:31 +01:00
asofold
636faecd52 [BLEDING] Update dev-module to CB/1.5. 2013-03-15 22:31:02 +01:00
asofold
df57b0134a Update messages for setting up MCAccess.
Update Jenkins url.
Only log API-only message in case it can be set up at all.
2013-03-01 02:04:34 +01:00
asofold
da4b142aa9 Add module: NCPCompatBukkit
Seems better to have a dedicated module for this as well, since other
modules might be built against different versions of the Bukkit-API,
potentially.
2013-02-28 03:40:40 +01:00
asofold
15f3b38248 Add module for 1.4.7: NCPCompatCB2602 2013-02-28 03:21:38 +01:00
asofold
762ae9174d [BLEEDING] Some missing parts [might still be missing some].
Set to bleeding, because the last commits are. Bukkit-API-only access
shortly tested. There will be issues, but this might help over the
darkest of days.
2013-01-20 05:25:21 +01:00
asofold
4c6798b979 Typo / log level. 2013-01-20 04:35:35 +01:00
asofold
ee1f410dae [SAFETY COMMIT, REFACTOR, BREAKING]
Moving big parts of code between sub-projects. Some refactoring was
needed to unlink some classes. Deprecated methods removed. Some utility
methods were moved to differently named utilities. Few signatures
changed (e.g. BlockProperties.init). Most changes should only concern
bugs or developers who dug into some NCP deeply (not sure those exist).
It should still all be there.
2013-01-20 04:18:08 +01:00
asofold
8e313f4a47 [SAFETY COMMIT, INCOMPLETE] RAW: Add support for bukkit-api-only. 2013-01-20 00:51:09 +01:00
asofold
9810c5c46b Add more info in case MCAccess can not be set. 2013-01-18 23:06:50 +01:00
asofold
6cc3791439 [Bleeding] Change order of testing MCAccess and add dev branch for the
moment.
2013-01-09 19:18:44 +01:00
asofold
77975c2659 Put compat versions "right". (Rename MC1_4_6 to CB2545.) 2012-12-21 18:08:18 +01:00
asofold
09a2a7b003 Correct package name for 1.4.6 compat. 2012-12-21 11:21:03 +01:00
asofold
f1e2781c81 Log all exceptions if setting MCAccess fails. 2012-12-21 11:13:15 +01:00
asofold
3d773c6944 [INSTABLE] Add support for MC1.4.6. 2012-12-21 10:44:28 +01:00
asofold
f21ffd68cb RAW split setup (does not compile in eclipse). 2012-12-13 22:48:56 +01:00