Jeremy Wood
|
43c6945710
|
Merge pull request #2886 from Multiverse/dumptruckman/inject
Implement simple dependency injection using hk2.
|
2023-03-26 16:12:16 -04:00 |
|
Jeremy Wood
|
edea4aff4b
|
Fix PAPI registration.
|
2023-03-26 14:48:30 -04:00 |
|
Jeremy Wood
|
44dacdceb1
|
Use consistency for exception param names.
|
2023-03-26 14:11:05 -04:00 |
|
Jeremy Wood
|
75998ae2c3
|
Remove EagerlyLoaded.
|
2023-03-26 14:10:26 -04:00 |
|
Jeremy Wood
|
16db616546
|
Remove EagerlyLoaded from SimpleMVWorldManager.
|
2023-03-26 14:09:40 -04:00 |
|
Jeremy Wood
|
4c94af5f08
|
Remove EagerlyLoaded from UnsafeCallWrapper.
|
2023-03-26 14:08:58 -04:00 |
|
Jeremy Wood
|
e91bcb9658
|
Remove EagerlyLoaded from MVPermissions.
|
2023-03-26 14:08:28 -04:00 |
|
Jeremy Wood
|
0836badea6
|
Remove EagerlyLoaded from SimpleSafeTTeleporter.
|
2023-03-26 14:02:06 -04:00 |
|
Jeremy Wood
|
426d7639bb
|
Remove EagerlyLoaded from SimpleLocationManipulation.
|
2023-03-26 14:01:02 -04:00 |
|
Jeremy Wood
|
a74aeb53d0
|
Remove EagerlyLoaded from SimpleBlockSafety.
|
2023-03-26 14:00:22 -04:00 |
|
Jeremy Wood
|
52a2ff78c8
|
Remove EagerlyLoaded from MVEconomist.
|
2023-03-26 13:59:15 -04:00 |
|
Jeremy Wood
|
6f86416310
|
Remove EagerlyLoaded from MVCoreConfigProvider.
|
2023-03-26 13:55:21 -04:00 |
|
Jeremy Wood
|
1f134d4501
|
Use Provider for MultiverseCorePlaceholders in MultiverseCore.
|
2023-03-26 13:52:36 -04:00 |
|
Jeremy Wood
|
573b424efe
|
Use vavr for registering listeners.
|
2023-03-26 13:51:54 -04:00 |
|
Jeremy Wood
|
f2347cb620
|
Use Provider for MetricsConfigurator in MultiverseCore.
|
2023-03-26 13:33:01 -04:00 |
|
Jeremy Wood
|
a8ec599b35
|
Remove direct getService usage for DestinationsProvider.
|
2023-03-26 13:18:20 -04:00 |
|
Jeremy Wood
|
a8b44dff78
|
Remove additional direct getService usage for MVCommandProvider.
|
2023-03-26 13:09:43 -04:00 |
|
Jeremy Wood
|
e8a33c0cdf
|
Remove EagerlyLoaded from MVCommandManager.
|
2023-03-26 13:01:08 -04:00 |
|
Jeremy Wood
|
8b244e7d3b
|
Remove EagerlyLoaded from AnchorManager.
|
2023-03-26 12:45:14 -04:00 |
|
Jeremy Wood
|
472742dde8
|
Manually initialize metrics.
|
2023-03-25 16:49:04 -04:00 |
|
Jeremy Wood
|
372569ed6c
|
Don't eagerly load MultiverseCorePlaceholders.
|
2023-03-25 09:38:15 -04:00 |
|
Jeremy Wood
|
aa023f3c44
|
Use injection in MultiverseCorePlaceholders.
|
2023-03-25 09:28:27 -04:00 |
|
Jeremy Wood
|
93ac4fffcc
|
Merge remote-tracking branch 'origin/MV5' into dumptruckman/inject
# Conflicts:
# src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
|
2023-03-25 08:42:20 -04:00 |
|
Jeremy Wood
|
750460fff0
|
Eagerly load core services.
|
2023-03-25 00:27:30 -04:00 |
|
Jeremy Wood
|
add73be4fc
|
Rename AutoLoadedService to EagerlyLoaded.
|
2023-03-25 00:17:08 -04:00 |
|
Jeremy Wood
|
c65a945203
|
Fix listener registration.
|
2023-03-25 00:15:56 -04:00 |
|
Jeremy Wood
|
cbc3bace58
|
Remove InjectionFeature loading.
|
2023-03-25 00:02:48 -04:00 |
|
Jeremy Wood
|
376fc8db18
|
Revert "Add API for creating auto-registering services."
This reverts commit b2171717ad .
|
2023-03-24 23:32:14 -04:00 |
|
Jeremy Wood
|
4aa1782cfd
|
Revert "Add automatic listener registration through ListenerFeature."
This reverts commit d03063f2b9 .
|
2023-03-24 23:31:58 -04:00 |
|
Jeremy Wood
|
e38796f492
|
Revert "Add automatic command registration through BaseCommandFeature."
This reverts commit 0c97aea3dc .
|
2023-03-24 23:31:37 -04:00 |
|
Jeremy Wood
|
5d2e68a362
|
Revert "Add automatic destination registration through DestinationFeature."
This reverts commit c6a2cee050 .
|
2023-03-24 23:31:30 -04:00 |
|
Zax71
|
95c3b034ec
|
feat: Add PlaceholderAPI Support (#2888)
* feat:Add PlaceholderAPI Support
Signed-off-by: zax71 <zabax32@gmail.com>
* Implement requested changes
Signed-off-by: zax71 <zabax32@gmail.com>
* Add separate world functionality and half-baked i18n support.
Signed-off-by: zax71 <zabax32@gmail.com>
* refactor: Simplify papi world parsing
* Fix spelling and remove unused i18n.
Signed-off-by: zax71 <zabax32@gmail.com>
* chore: Add warnings
* chore: Remove unused imports
* chore: Setup papi before log enable message
---------
Signed-off-by: zax71 <zabax32@gmail.com>
Co-authored-by: Ben Woo <30431861+benwoo1110@users.noreply.github.com>
|
2023-03-16 20:18:36 +08:00 |
|
Jeremy Wood
|
2a504f4360
|
Add annotation processing for tests.
|
2023-03-12 17:30:46 -04:00 |
|
Jeremy Wood
|
1d5d7a9ce2
|
Add hamkrest test dependency.
|
2023-03-12 17:04:38 -04:00 |
|
Jeremy Wood
|
0601c05761
|
Revert "Simplify PluginInjection by removing unneeded population."
This reverts commit f7bd538049 .
|
2023-03-12 00:02:46 -05:00 |
|
Jeremy Wood
|
c6a2cee050
|
Add automatic destination registration through DestinationFeature.
|
2023-03-11 23:56:49 -05:00 |
|
Jeremy Wood
|
0c97aea3dc
|
Add automatic command registration through BaseCommandFeature.
|
2023-03-11 23:46:15 -05:00 |
|
Jeremy Wood
|
7dcada0c2d
|
MultiverseCore#getAllServices should not instantiate services.
|
2023-03-11 23:37:03 -05:00 |
|
Jeremy Wood
|
d03063f2b9
|
Add automatic listener registration through ListenerFeature.
|
2023-03-11 12:30:09 -05:00 |
|
Jeremy Wood
|
485d2428ed
|
Rename PluginService to AutoLoadedService.
|
2023-03-11 11:40:37 -05:00 |
|
Jeremy Wood
|
b2171717ad
|
Add API for creating auto-registering services.
|
2023-03-11 11:37:33 -05:00 |
|
Jeremy Wood
|
49c23d31b0
|
MultiverseCore#getService should not instantiate services.
|
2023-03-11 11:24:24 -05:00 |
|
Jeremy Wood
|
f7bd538049
|
Simplify PluginInjection by removing unneeded population.
|
2023-03-11 11:05:35 -05:00 |
|
Jeremy Wood
|
9f650d683d
|
Add PluginService and InjectionFeature loading.
|
2023-03-10 02:07:44 -05:00 |
|
Jeremy Wood
|
b40ded9806
|
Fix relocations and exported maven dependencies.
|
2023-03-09 15:57:55 -05:00 |
|
Jeremy Wood
|
93b82ae825
|
Inject MVCoreConfigProvider directly into MultiverseCore.
|
2023-03-09 11:34:41 -05:00 |
|
Jeremy Wood
|
ecec80dfe3
|
Correctly rename hk2 metadata file.
|
2023-03-09 11:31:32 -05:00 |
|
Jeremy Wood
|
2f1a3bcc22
|
Use Provider for MVCoreConfigProvider in MultiverseCore.
|
2023-03-09 09:24:55 -05:00 |
|
Jeremy Wood
|
1ea88615c7
|
Don't rename hk2 metadata file.
|
2023-03-09 09:05:03 -05:00 |
|
Jeremy Wood
|
7fe50d2171
|
Temporarily throw exception on enable to reveal testing issue.
|
2023-03-09 08:53:37 -05:00 |
|