Commit Graph

2082 Commits

Author SHA1 Message Date
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
Jeremy Wood
a81e045598
Use getter in MultiverseCore for config provider. 2023-03-09 08:52:51 -05:00
Jeremy Wood
eac2fa53cb
Stop relocating and minimizing for hk2. 2023-03-09 08:50:16 -05:00
Jeremy Wood
0f1d1adeb2
Remove Service/Contract from MVConfig and impl. 2023-03-09 08:49:29 -05:00
Jeremy Wood
d4f43853f5
Skip checkstyle and javadoc in test workflow. 2023-03-08 23:52:39 -05:00
Jeremy Wood
d7f907b40c
Enable full exception format for gradle test. 2023-03-08 23:52:24 -05:00
Jeremy Wood
686c4a4b16
Simplify config provider usage. 2023-03-08 23:02:17 -05:00
Jeremy Wood
ea07a490a6
Update Java version used in GHA. 2023-03-08 15:19:50 -05:00
Jeremy Wood
3d1c3f81f6
Fix relocations and minimize shadow jar. 2023-03-08 13:50:07 -05:00
Jeremy Wood
7fc78d81bc
Remove faulty javadoc from CannonDestination. 2023-03-08 13:48:03 -05:00
Jeremy Wood
47002061db
Remove some unused imports. 2023-03-08 13:37:41 -05:00
Jeremy Wood
1ea6df4a27
Merge remote-tracking branch 'origin/MV5' into dumptruckman/inject
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/CheckCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/CloneCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/DeleteCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/GameruleCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/ImportCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/LoadCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/RegenCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/ReloadCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/RemoveCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/RootCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/TeleportCommand.java
#	src/main/java/com/onarandombox/MultiverseCore/commands/UnloadCommand.java
2023-03-08 13:32:59 -05:00
Jeremy Wood
23693835ca
Remove PluginDataFolder. 2023-03-08 13:19:31 -05:00
Jeremy Wood
8e7e0ef566
Replace all service getters with DI. 2023-03-08 13:16:18 -05:00
Jeremy Wood
dd93223eb1
Use DI for command classes. 2023-03-08 08:43:40 -05:00
Jeremy Wood
e6f304fd25
Use specific dependencies in SimpleMVWorldManager and SimpleMVWorld. 2023-03-08 07:39:18 -05:00
Jeremy Wood
b6a0d272df
Use specific dependencies in UnsafeCallWrapper. 2023-03-07 19:02:11 -05:00
Jeremy Wood
177adf80cb
Use specific dependencies in SimpleSafeTTeleporter. 2023-03-07 19:00:06 -05:00
Jeremy Wood
160f49bbae
Use specific dependencies in MVPermissions. 2023-03-07 18:54:33 -05:00
Jeremy Wood
397101f712
Use specific dependencies in DestinationsProvider. 2023-03-07 18:49:13 -05:00
Jeremy Wood
d1f59e3d86
Use specific dependencies in SimpleBlockSafety. 2023-03-07 18:40:37 -05:00
Jeremy Wood
bab0ccd3f2
Use specific dependencies in AnchorManager. 2023-03-07 17:00:24 -05:00
Jeremy Wood
015c58421d
Add MVCoreConfigProvider#getConfigUnsafe. 2023-03-07 16:58:29 -05:00
Jeremy Wood
a57a83a047
Add injectable wrapper for plugin data folder. 2023-03-07 16:49:14 -05:00
Jeremy Wood
6362a97aaf
Move configuration loading/saving into injectable MVCoreConfigProvider. 2023-03-07 16:10:34 -05:00
Jeremy Wood
0db90dc0b9
Set up DI for primary dependencies of MultiverseCore. 2023-03-07 14:39:11 -05:00
Jeremy Wood
6a434746c9
Also bind plugin logger in PluginBinder. 2023-03-07 14:16:58 -05:00
Ben Woo
c76652f0a2
feat: Test out new commentedconfiguration 2023-03-07 23:33:35 +08:00
Ben Woo
e314539847
dep: Bump CommentedConfiguration to 1.0.1 2023-03-07 23:32:09 +08:00
Jeremy Wood
de6b25db35
Also bind MultiverseCore to MVCore and MVPlugin. 2023-03-07 02:24:00 -05:00
Jeremy Wood
40637e6a88
Enable basic dependency injection. 2023-03-07 01:59:48 -05:00
Jeremy Wood
7ad0b04787
Abstract TestWithMockBukkit out of MockBukkitTest. 2023-03-07 00:20:26 -05:00
Jeremy Wood
00554fefc3
Add vavr dependency. 2023-03-06 22:55:36 -05:00
Jeremy Wood
0082287a5d
Enable hk2 annotation processing. 2023-03-06 20:41:27 -05:00
Ben Woo
84730e0fcd
Merge branch 'main' into MV5 2023-03-06 19:43:46 +08:00
Ben Woo
9dba558ffd
Merge pull request #2884 from Lildirt/ld/command-i18n
i18n for strings directly in commands
2023-03-06 16:45:40 +08:00
Lildirt
1f1c8240d9 i18n: move RootCommand further down 2023-03-05 13:00:31 -05:00
Jeremy Wood
4576ca99c9
Add hk2 dependency. 2023-03-04 10:26:49 -05:00
Lildirt
eaa8b1ee56 i18n: last bit of colorizing 2023-03-03 12:23:50 -05:00
Lildirt
10c910f00f i18n: fix prompt message mappings 2023-03-03 12:23:43 -05:00
Lildirt
3bd6712f0e i18n: Move mv-core.debug 2023-03-03 12:23:36 -05:00
Lildirt
6a5e8d2522 i18n: Register root command 2023-03-03 12:23:11 -05:00