Commit Graph

1809 Commits

Author SHA1 Message Date
Ben Woo
ad47ab2340
feat: Revamp world entry checking 2023-06-29 11:05:08 +08:00
Ben Woo
bd78b441ba
Merge pull request #2929 from Multiverse/config_update
feat: Extract generic handler for config with ConfigurationSection
2023-06-29 11:03:14 +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
314ce11630
Merge pull request #2930 from Multiverse/bump_papi
chore: Bump papi to 2.11.3
2023-06-28 19:40:19 +08:00
Ben Woo
c2b943cf0a
chore: Bump papi to 2.11.3 2023-06-28 19:37:36 +08:00
Zax71
986bafc13d
Merge branch 'main' into modrinth-upload 2023-06-27 16:52:29 +01:00
Zax71
9b4613ce84
Support 1.13+ 2023-06-27 16:50:46 +01:00
Jeremy Wood
48e875d13e
Merge pull request #2908 from Multiverse/dumptruckman/fix_classifier
Remove the published jar classifier for maven publish.
2023-04-05 08:48:36 -04:00
Jeremy Wood
14b54d5269
Remove the published jar classifier for maven publish.
Fixes #2906.
2023-04-05 08:38:37 -04:00
Ben Woo
33457ac5d5
Merge pull request #2904 from Multiverse/config-validation
Use Try<Void> for config validation
2023-04-03 10:57:24 +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
1c24b17c90
Merge pull request #2872 from Multiverse/new-readme-2
Update README.md
2023-03-30 08:42:10 -04: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
aac01b9e7e
Merge pull request #2900 from Multiverse/better-revamp-config
refactor: Abstract handle class and improve node handling
2023-03-30 01:43:41 -04: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
b8c95dc71a
Merge pull request #2895 from Multiverse/revamp-config
Revamp config
2023-03-30 01:05:27 -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
3d7af96b41
Merge pull request #2902 from Multiverse/dumptruckman/localized_exceptions
Add localizable message bundles and exceptions.
2023-03-30 00:52:40 -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
1f8f68c383
Add kotlin mockito dependency for tests. 2023-03-29 15:18:08 -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
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