Commit Graph

135 Commits

Author SHA1 Message Date
Jeremy Wood
15ac39c3c2
Merge pull request #2897 from Multiverse/teleport-queue
refactor: Move teleport queue into seperate class
2023-03-30 08:41:29 -04:00
Jeremy Wood
2a5b670ce6
Merge remote-tracking branch 'origin/MV5' into better-revamp-config 2023-03-30 01:06:00 -04:00
Jeremy Wood
3ffc63a003
Merge remote-tracking branch 'origin/MV5' into revamp-config
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
#	src/test/java/org/mvplugins/multiverse/core/inject/InjectionTest.kt
2023-03-30 01:02:26 -04:00
Jeremy Wood
032a8c366d
Add send message methods to MVCommandIssuer. 2023-03-29 23:45:44 -04:00
Jeremy Wood
224435f6cd
Add Message for bundling messages with their arguments. 2023-03-29 12:53:40 -04:00
Jeremy Wood
40d5417629
Make PluginLocales injectable. 2023-03-29 00:51:54 -04:00
Jeremy Wood
e5bb6bc23b
Use Try<Void> rather than Try<Boolean> for ConfigHandle#set. 2023-03-28 17:25:48 -04:00
Ben Woo
90a3388728
refactor: Abstract handle class and improve node handling 2023-03-28 16:56: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
a5ae29c91a
test: Implement test for config 2023-03-27 14:10:49 +08:00
Ben Woo
9f1ddcc81e
refactor: Remove use of MVCoreConfigProvider 2023-03-27 12:25:13 +08:00
Jeremy Wood
7f9c45d8e1
Use DI for new config. 2023-03-26 19:16:14 -04:00
Jeremy Wood
e91bcb9658
Remove EagerlyLoaded from MVPermissions. 2023-03-26 14:08:28 -04:00
Jeremy Wood
f2347cb620
Use Provider for MetricsConfigurator in MultiverseCore. 2023-03-26 13:33:01 -04:00
Jeremy Wood
8b244e7d3b
Remove EagerlyLoaded from AnchorManager. 2023-03-26 12:45:14 -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
49c23d31b0
MultiverseCore#getService should not instantiate services. 2023-03-11 11:24:24 -05:00
Jeremy Wood
47002061db
Remove some unused imports. 2023-03-08 13:37:41 -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
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
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
a4e84ad581
Use ServerMock instead of Server. 2023-03-02 08:36:43 -05:00
Jeremy Wood
65cb3f7037
Put test method after tearDown. 2023-03-02 08:35:52 -05:00
Jeremy Wood
fc7509cca6
Use a better test method name. 2023-03-02 08:35:30 -05:00
Jeremy Wood
eebb4a4a6d
Implement initial test using MockBukkit. 2023-03-02 02:22:47 -05:00
Jeremy Wood
87225b1c65
Move old tests to old-test. 2023-03-02 01:20:38 -05:00
Ben Woo
7dbd29b838
refactor: Shift classes and add javadocs 2023-02-28 23:07:19 +08:00
Ben Woo
c05d866f2f
refactor: Remove buscript entirely (#2837) 2023-02-15 10:28:56 +08:00
Ben Woo
6694c02650 refactor!: Rename back to MVWorldManager 2023-02-09 14:02:00 +08:00
Ben Woo
24596419e5 refactor!: Reorganise the entire MV 2023-02-08 16:19:33 +08:00
Ben Woo
a403380375 refactor!: MultiverseCore plugin mess 2023-02-08 15:33:59 +08:00
Ben Woo
2acca7f330
refactor!: Remove deprecated PlayChatEvent option (#2828) 2023-02-03 22:33:44 +08:00
Kisaragi
5868ad64b4 use Collections' factory method instead of static field
this resolves some unchecked generics warning
2021-12-31 00:46:21 +09:00
Kermina Awad
9821f1d9c8 clean up test files 2021-07-18 13:51:53 -04:00
Kermina Awad
b9b1fa6164 remove PowerMockito 2021-07-18 13:17:15 -04:00
Kermina Awad
28585dd6f9 remove unnecessary stub 2021-07-18 13:12:09 -04:00
Ben Woo
7c59dcbcb9
Merge pull request #2494 from benwoo1110/property-fix
Fix cannot remove block currency with mvm set command.
2021-03-04 15:32:34 +08:00
Kermina Awad
5350c012f7 fix compiling on java 15 2021-02-25 17:48:17 -05:00
benwoo1110
425b1c80cc Update to all use static logging. 2020-12-12 10:49:49 +08:00
benwoo1110
48601e4215 Fix cannot remove block currency with mvm set command.
Setting currency to 0 is now considered as no currency value.
2020-11-27 21:14:27 +08:00
Jeremy Wood
864e50e38c Add TestingMode util. 2020-10-06 15:07:56 -04:00