Commit Graph

1971 Commits

Author SHA1 Message Date
Jeremy Wood
0cc3f93e0b
Use Option instead of Optional for ValueNode#getName.
Also clean up nullability annotations in ConfigNode and co.
2023-03-28 16:38:35 -04:00
Jeremy Wood
63078270bf
Use Option instead of Optional in NodeGroup. 2023-03-28 16:22:50 -04:00
Ben Woo
a19fe76cbc
chore: Add docs and remove some unused methods 2023-03-28 17:50:00 +08:00
Ben Woo
5cc5e6828f
refactor: Allow for nullable NodeGroup 2023-03-28 17:15:15 +08:00
Ben Woo
90a3388728
refactor: Abstract handle class and improve node handling 2023-03-28 16:56:30 +08:00
Ben Woo
33fcf1ba26
refactor: Remove serverFolder value 2023-03-28 14:38:44 +08:00
Ben Woo
f76b9b0670
feat: Add support for async teleport 2023-03-28 12:20:30 +08:00
Ben Woo
985f2e8823
refactor: Move teleport queue into seperate class 2023-03-28 11:32:04 +08:00
Jeremy Wood
9bbf42f993
Rename test methods. 2023-03-27 09:51:27 -04:00
Jeremy Wood
55390952c9
Add additional test set up more idiomatically. 2023-03-27 08:39:18 -04:00
Ben Woo
2f834ebfd6
fix: Relocation of acf dependency 2023-03-27 18:30:38 +08:00
Ben Woo
8f9df0294d
chore: Improve logging in ConfigHandle 2023-03-27 18:29:34 +08:00
Ben Woo
a5ae29c91a
test: Implement test for config 2023-03-27 14:10:49 +08:00
Ben Woo
624d5ad117
fix: Get version without default fallback 2023-03-27 14:10:22 +08:00
Ben Woo
98fc0178aa
fix: Migrate from old config on every load 2023-03-27 14:09:36 +08:00
Jeremy Wood
61cd593844
Fix a couple nits. 2023-03-27 01:03:21 -04:00
Jeremy Wood
7b39d78bfd
Remove MultiverseCore dependency from DebugCommand. 2023-03-27 00:53:36 -04:00
Jeremy Wood
5a0957d894
Remove unused MultiverseConfigurationException. 2023-03-27 00:51:55 -04:00
Ben Woo
9f1ddcc81e
refactor: Remove use of MVCoreConfigProvider 2023-03-27 12:25:13 +08:00
Ben Woo
a8c8ef7a6b
refactor: Move MVCoreConfigNodes to a non-static context 2023-03-27 11:39:11 +08:00
Ben Woo
ce9d53c6e9
refactor: Rename to MVCoreConfig 2023-03-27 11:14:58 +08:00
Ben Woo
7af22c451e
chore Remove unused MultiverseCoreConfiguration.java 2023-03-27 10:49:07 +08:00
Ben Woo
db9879af8d
refactor: Move DefaultMVConfig and MVConfigNodes to config package 2023-03-27 10:48:46 +08:00
Ben Woo
f05092076f
fix: Don't need to check version before removing serialisation value 2023-03-27 10:39:29 +08:00
Ben Woo
346ac94737
Merge branch 'main' into new-readme-2 2023-03-27 10:16:41 +08:00
Jeremy Wood
7f9c45d8e1
Use DI for new config. 2023-03-26 19:16:14 -04:00
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