Commit Graph

1459 Commits

Author SHA1 Message Date
zax71
5af06d9a0f Switch from hastebin to pastes.dev and fix non multi-file services 2023-08-28 14:38:42 +01:00
Ben Woo
e06536acd6
Command manager already a parent class field 2023-08-27 13:48:03 +08:00
Ben Woo
39c702a5fc
Remove custom sendMessage method 2023-08-27 13:46:47 +08:00
Ben Woo
317b2c679f
Minor code style fixes 2023-08-27 13:45:06 +08:00
zax71
1f7ad9d27f Add i18n 2023-08-26 11:53:15 +01:00
zax71
f261d88b4a Fix codestyle 2023-08-26 11:28:58 +01:00
zax71
949eb44447 Invert --include-plugin-list to --exclude-plugin-list 2023-08-26 11:25:10 +01:00
zax71
4750839497 Yeet all the wildcard imports 2023-08-26 11:19:11 +01:00
zax71
260777303c Implement /mv dumps command 2023-08-25 19:52:45 +01:00
Ben Woo
9a80620aa1 Fix teleporter reference being null 2023-08-20 20:26:52 +08:00
Ben Woo
582d256f38 Fix regen args parsing logic 2023-08-19 12:11:13 +08:00
Ben Woo
8df371c90c
refactor: Rename CheckResult to Result 2023-06-29 11:05:08 +08:00
Ben Woo
ad47ab2340
feat: Revamp world entry checking 2023-06-29 11:05:08 +08:00
Ben Woo
3b384dbe6d
docs: Add docs to new config classes 2023-06-28 20:18:26 +08:00
Ben Woo
d1370bfb8c
feat: Extract generic handler for config with ConfigurationSection 2023-06-28 19:41:33 +08:00
Ben Woo
fac79e0780
fix: Double print error message for getting config value 2023-03-31 23:10:46 +08:00
Ben Woo
16e81ec141
refactor: Use Try<Void> for config validation 2023-03-31 23:08:56 +08:00
Ben Woo
ffb238bf24
fix: Enable unstable api help for UsageCommand 2023-03-30 23:51:00 +08:00
Ben Woo
14472f5740
Merge pull request #2903 from Multiverse/improve-config-revamp
Improve config revamp
2023-03-30 23:41:44 +08:00
Ben Woo
d9cf933d14
Merge pull request #2898 from Multiverse/async-teleport
feat: Add support for async teleport
2023-03-30 23:32:37 +08:00
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
8a05b3b815
Merge pull request #2899 from Multiverse/remove-serverfolder
refactor: Remove serverFolder value
2023-03-30 08:35:55 -04:00
benwoo1110
bfedc268d4 refactor: Improve setProperty onFailure output 2023-03-30 17:29:39 +08:00
benwoo1110
272c950f3e fix: Resolve context for MVCommandIssuer class 2023-03-30 13:54:13 +08:00
Jeremy Wood
259189f23e
Use specific exception for not found node. 2023-03-30 01:41:25 -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
dab8ac2bf8
Set up locales before registering commands. 2023-03-30 00:14:45 -04:00
Jeremy Wood
5dcc0651e4
Add MVCorei18n#bundle for creating Message objects. 2023-03-29 23:59:19 -04:00
Jeremy Wood
2cb134bdeb
Add base exception class MultiverseException.
Allows for localized messages to be contained in our exceptions.
2023-03-29 23:58:41 -04:00
Jeremy Wood
032a8c366d
Add send message methods to MVCommandIssuer. 2023-03-29 23:45:44 -04:00
Jeremy Wood
979e80e1bd
Use a custom implementation of BukkitCommandIssuer. 2023-03-29 13:09:18 -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
c32b2a4b51
Update Javadoc for MVConfig. 2023-03-28 17:36:02 -04:00
Jeremy Wood
e5bb6bc23b
Use Try<Void> rather than Try<Boolean> for ConfigHandle#set. 2023-03-28 17:25:48 -04:00
Jeremy Wood
94251be048
Change call order in FileConfigHandle.get for consistency. 2023-03-28 17:02:20 -04:00
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
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
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
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
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
Ben Woo
783038ffb4
feat: Implement get/set methods from previous MVConfig class 2023-03-18 23:27:57 +08:00
Ben Woo
db0e9f3142
feat: Implement migration from old mv config.yml 2023-03-18 23:09:10 +08: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
Ben Woo
9ce648d06a
refactor: Version migrator code 2023-03-16 11:18:31 +08: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
Jeremy Wood
a81e045598
Use getter in MultiverseCore for config provider. 2023-03-09 08:52:51 -05:00
Jeremy Wood
0f1d1adeb2
Remove Service/Contract from MVConfig and impl. 2023-03-09 08:49:29 -05:00
Jeremy Wood
686c4a4b16
Simplify config provider usage. 2023-03-08 23:02:17 -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
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
Lildirt
1f1c8240d9 i18n: move RootCommand further down 2023-03-05 13:00:31 -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
Lildirt
1dadaa1a73 i18n: use error message levels 2023-03-03 12:23:11 -05:00
Lildirt
ef3a50f32b i18n: section out the string file with comments 2023-03-03 12:22:58 -05:00
Lildirt
ac31a66a45 i18n: Preserve original string colorization. 2023-03-03 12:22:58 -05:00
Lildirt
992ce7cff5 i18n: more sections & missing confirm description 2023-03-03 12:22:58 -05:00
Lildirt
fd237243a4 i18n: Usage command 2023-03-03 12:22:58 -05:00
Lildirt
0512fa1820 i18n: Unload command 2023-03-03 12:22:58 -05:00
Lildirt
a9896df2a7 i18n: Teleport command 2023-03-03 12:22:58 -05:00
Lildirt
216adf5fa9 i18n: MV Root command 2023-03-03 12:22:58 -05:00
Lildirt
12f6ceb622 i18n: Remove command 2023-03-03 12:22:58 -05:00
Lildirt
ca0f6febb5 i18n: Reload command 2023-03-03 12:22:58 -05:00
Lildirt
3e468dba4d i18n: Regen command 2023-03-03 12:22:58 -05:00
Lildirt
8b450910ba i18n: Load command 2023-03-03 12:22:58 -05:00
Lildirt
38002261b7 i18n: Import command 2023-03-03 12:22:58 -05:00
Lildirt
9e5fb2cf4b i18n: Gamerule command 2023-03-03 12:22:58 -05:00
Lildirt
fa0e9f4268 i18n: Delete command 2023-03-03 12:22:58 -05:00
Lildirt
5e4e925bb1 i18n: Clone command 2023-03-03 12:21:19 -05:00
Lildirt
c9bb6180bd i18n: Check command 2023-03-03 12:21:14 -05:00
Ben Woo
3f6c3047d8
fix: Restore locales setup method (#2881) 2023-03-03 22:23:39 +08: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
974afb4751
feat: Implement help command 2023-02-28 23:16:09 +08:00
Ben Woo
7dbd29b838
refactor: Shift classes and add javadocs 2023-02-28 23:07:19 +08:00
Ben Woo
560e3ab201
refactor: Make FileResClassLoader usable for other file paths. 2023-02-28 23:07:19 +08:00
Ben Woo
ffc4c600c5
feat: Enable per player locale support 2023-02-28 23:07:18 +08:00
Ben Woo
44904eaef4
feat: Allow for custom locale folder path 2023-02-28 23:07:18 +08:00
Ben Woo
47a92deffd
refactor: Use '&' for chat color formatting 2023-02-28 23:07:17 +08:00
Ben Woo
b4549c6791
feat: Add support for loading locales from plugin dir 2023-02-28 23:07:17 +08:00
Ben Woo
ec254c2989 build: Make MV5 build with gradle 2023-02-20 20:29:08 +08:00
Ben Woo
36549294b7 Merge branch 'main' into gradle-build 2023-02-20 20:25:47 +08:00
Jeremy Wood
4d40b3f7e4
Switch from Maven to Gradle. 2023-02-19 19:02:52 -05:00
Ben Woo
20ba6f130a feat: Implement remove and import command (#2839)
* feat: Implement remove and import command

* chore: Improve some description strings
2023-02-18 14:03:05 +08:00
Ben Woo
d8fff0ae15 chore: Up protocol version to 50 2023-02-18 14:03:04 +08:00
Ben Woo
3da1b7e8c4 refactor: Remove AbstractMVPlugin entirely 2023-02-16 11:12:03 +08:00
Ben Woo
79ae8754dc feat: Properly cleanup AbstractMVPlugin 2023-02-16 10:46:01 +08:00
Ben Woo
3fc3663d5d feat: Improve SpawnLocation toString
This helps in debug logs not showing world=null for spawn location
2023-02-15 20:27:59 +08:00
Ben Woo
5d1d71baf2 refactor: Add shortcut methods to ParsedDestination 2023-02-15 19:47:11 +08:00
Ben Woo
71367d2d69 fix: Arg pop issue with * worlds selection 2023-02-15 14:06:41 +08:00
Ben Woo
72415cdae5 feat: Implement list command 2023-02-15 12:17:04 +08:00