Commit Graph

1795 Commits

Author SHA1 Message Date
Jeremy Wood
a45e95c7fd
Merge remote-tracking branch 'origin/MV5' into revamp-config
# Conflicts:
#	build.gradle
#	src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
#	src/main/java/com/onarandombox/MultiverseCore/MultiverseCoreConfiguration.java
#	src/main/java/com/onarandombox/MultiverseCore/api/MVConfig.java
#	src/main/java/com/onarandombox/MultiverseCore/commandtools/MVCommandCompletions.java
#	src/main/java/com/onarandombox/MultiverseCore/commandtools/MVCommandContexts.java
#	src/main/java/com/onarandombox/MultiverseCore/listeners/MVChatListener.java
#	src/main/java/com/onarandombox/MultiverseCore/listeners/MVEntityListener.java
#	src/main/java/com/onarandombox/MultiverseCore/listeners/MVPlayerListener.java
#	src/main/java/com/onarandombox/MultiverseCore/world/SimpleMVWorld.java
#	src/main/java/com/onarandombox/MultiverseCore/world/SimpleMVWorldManager.java
2023-03-26 19:09:37 -04:00
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
zax71
6d351300de chore: remove Modrinth for now
Signed-off-by: zax71 <zabax32@gmail.com>
2023-03-26 18:26:23 +01: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
Ben Woo
cd260b0f5e
feat: Fully implement working migration and validation 2023-03-26 00:31:36 +08: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
Ben Woo
358404b407
feat: Add a runnable when value is set. 2023-03-24 23:42:49 +08:00
Ben Woo
3ccdfd7cf5
refactor: Move to configuration package and rename MVSettings -> ConfigHandle 2023-03-24 22:32:10 +08:00
Ben Woo
274a7ed82b
docs: Add more docstrings to methods implemented 2023-03-24 22:26:38 +08:00
Ben Woo
ba2be24362
docs: Fix inheritDoc more typo 2023-03-24 22:20:56 +08:00
Ben Woo
c8ae27894e
refactor: Change name to optional and fix inheritDoc typo 2023-03-24 22:20:03 +08:00
Ben Woo
cb5877b206
docs: Add docstrings to methods implemented 2023-03-24 22:09:10 +08:00
Ben Woo
d126b3d31a
feat: Add config for papi hook 2023-03-24 15:47:12 +08:00
Ben Woo
2edf955332
refactor: Rename config methods to align with new structure 2023-03-24 14:39:58 +08:00
Ben Woo
136bd3cbe2
fix: Clean up config migration logging 2023-03-24 14:16:03 +08:00
Ben Woo
433160f187
fix: Java 11 compatibility with instanceof pattern 2023-03-24 14:12:26 +08:00
Ben Woo
e3e3c039c3
feat: Fully implement config command 2023-03-24 13:00:29 +08:00
Ben Woo
d321851f0d
fix: Donation and migration of various node path 2023-03-24 00:14:16 +08:00
Ben Woo
7759a37b4e
feat: Implement config names and basic config command 2023-03-23 23:59:19 +08:00
Ben Woo
f1a9d3a723
Merge remote-tracking branch 'origin/MV5' into revamp-config 2023-03-22 22:53:50 +08:00
Ben Woo
9ae2cddfda
refactor: Flip boolean for custom portal search config 2023-03-22 22:53:16 +08:00
Ben Woo
6cc169cb55
feat: Fully replace with new config api 2023-03-22 22:48:24 +08:00