Commit Graph

2107 Commits

Author SHA1 Message Date
Ben Woo
13dc1bd0d0
Support more variety of message payload for MVCommandIssuer 2023-09-22 17:44:44 +08:00
Ben Woo
3a6c52337f
Add more properties to info command and refactor 2023-09-22 17:20:41 +08:00
Ben Woo
61e3ffb7e5
Add null value formatting for MapContentProvider 2023-09-22 17:20:13 +08:00
Ben Woo
41f9989eef
Fix more checkstyles and use LinkedHashMap for info command 2023-09-22 16:09:04 +08:00
Ben Woo
896524b57a
Check some checkstyles for info command 2023-09-22 15:46:54 +08:00
Zax71
42ca91d05b Add /mv info 2023-09-21 18:54:49 +01:00
Ben Woo
5db5b948cc
Fix some related checkstyles 2023-09-21 11:47:20 +08:00
Ben Woo
2e5679491c
Remove UnsafeCallWrapper as now we use varv Try 2023-09-21 11:36:55 +08:00
Ben Woo
980d6784df
Merge branch 'MV5' into ben/mv5/teleporter
# Conflicts:
#	src/main/java/org/mvplugins/multiverse/core/commands/RemoveCommand.java
2023-09-21 11:23:05 +08:00
Ben Woo
a2f6e201d0
Add injection test for AsyncSafetyTeleporter 2023-09-21 11:20:23 +08:00
Ben Woo
f2e193eda3
Improve node suggest javadocs 2023-09-20 23:39:04 +08:00
Ben Woo
4084cd4af1
Move property handling to a separate class 2023-09-20 23:35:10 +08:00
Ben Woo
6fe87fbc7b
Implement autocomplete and string parsing for config handling 2023-09-20 16:32:25 +08:00
Ben Woo
6611ec4457
Make defaultValue a supplier and fix some checkstyle in ConfigNode 2023-09-20 13:45:14 +08:00
Ben Woo
e4bff69372
Pass multiverse core instance directly into WorldConfigNodes 2023-09-20 12:39:59 +08:00
Ben Woo
5dba08dd1b
Merge pull request #3025 from Multiverse/ben/mv5/fix-remove-locale
Fix remove success message key
2023-09-20 12:34:02 +08:00
Ben Woo
2e0ce517a8
Merge pull request #3026 from Multiverse/ben/mv5/enum-completion
Implement lowercased enum completion and fix some checkstyles
2023-09-20 12:33:47 +08:00
Ben Woo
7fcfa64538
Merge pull request #3024 from Multiverse/ben/mv5/mv-world-oncontext
Ben/mv5/mv world oncontext
2023-09-20 12:33:33 +08:00
Ben Woo
cce041877f
Cleanup NodeGroup with docs and annotation 2023-09-20 12:31:34 +08:00
Ben Woo
6ba51fa573
Implement lowercased enum completion and fix some checkstyles 2023-09-20 12:25:03 +08:00
Ben Woo
bbfc1a05e8
Cleanup MultiverseCommand and add docs 2023-09-20 12:18:04 +08:00
Ben Woo
80fcf8fe19
Fix remove success message key 2023-09-20 12:10:02 +08:00
Ben Woo
b99de26deb
Use MultiverseWorld instead of worldname string for RemoveCommand 2023-09-20 12:06:08 +08:00
Ben Woo
fb240a19fa
Add context resolving for MultiverseWorld class 2023-09-20 12:02:29 +08:00
Ben Woo
180680f297
Add method to get MultiverseWorld from a bukkit world. 2023-09-20 12:01:26 +08:00
Ben Woo
91f9842b24
Merge pull request #3022 from Multiverse/dtm/mv5/teleporter_attempt
Add AsyncAttempt.
2023-09-14 22:34:34 +08:00
Ben Woo
bf8244e587
Refactor some async attempt handling 2023-09-14 11:30:35 +08:00
Ben Woo
94bcca914f
Add warning of player still in world while unloading 2023-09-14 11:26:07 +08:00
Ben Woo
23b429940c
Fully implement AsyncResult 2023-09-14 11:03:45 +08:00
Jeremy Wood
3df46bc55c
Add AsyncAttempt for example purposes. 2023-09-13 16:16:47 -04:00
Ben Woo
2f3306aa97
Add class level docs for AsyncResult 2023-09-14 00:37:33 +08:00
Ben Woo
82c84c2c7c
Implement AsyncResult, a wrapper for CompletableFuture 2023-09-14 00:36:22 +08:00
Ben Woo
2642d940ba
Clearer docs for tolerance and radius for getSafeLocation 2023-09-13 23:32:10 +08:00
Ben Woo
404ab738c0
Fix imports 2023-09-13 23:21:23 +08:00
Ben Woo
bc1a2ff8a1
Merge branch 'MV5' into ben/mv5/teleporter
# Conflicts:
#	src/main/java/org/mvplugins/multiverse/core/commands/DeleteCommand.java
#	src/main/java/org/mvplugins/multiverse/core/commands/RegenCommand.java
#	src/main/java/org/mvplugins/multiverse/core/commands/RemoveCommand.java
#	src/main/java/org/mvplugins/multiverse/core/commands/UnloadCommand.java
#	src/main/java/org/mvplugins/multiverse/core/destination/core/CannonDestination.java
#	src/main/java/org/mvplugins/multiverse/core/destination/core/ExactDestination.java
#	src/main/java/org/mvplugins/multiverse/core/destination/core/WorldDestination.java
#	src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java
#	src/main/java/org/mvplugins/multiverse/core/permissions/CorePermissionsChecker.java
#	src/main/java/org/mvplugins/multiverse/core/world/LoadedMultiverseWorld.java
#	src/main/java/org/mvplugins/multiverse/core/world/helpers/PlayerWorldTeleporter.java
2023-09-13 23:04:36 +08:00
Jeremy Wood
db0d5da5ce
Merge pull request #3020 from Multiverse/ben/mv5/nuke-worldmanager
Nuke the old world manager
2023-09-13 09:55:32 -04:00
Ben Woo
fbab3bc269
Nuke the old world manager 2023-09-12 23:05:51 +08:00
Ben Woo
ba93195671
Move logic of teleporting players out of world from world manager 2023-09-12 18:07:12 +08:00
Ben Woo
9ddfa59712
Merge branch 'MV5' into ben/mv5/teleporter
# Conflicts:
#	src/main/java/org/mvplugins/multiverse/core/commands/TeleportCommand.java
2023-09-12 17:25:50 +08:00
Ben Woo
6f014838e9
Cleanup commands checkstyle and flags 2023-09-12 17:22:20 +08:00
Ben Woo
ef2b42d9a0
Check for destination's checkTeleportSafety 2023-09-12 16:36:43 +08:00
Ben Woo
245fac98e5
Implement new AsyncSafetyTeleporter 2023-09-12 16:33:43 +08:00
Ben Woo
0e43444523
Merge pull request #3018 from Multiverse/ben/mv5/player-world-action
Implement player world actions and some refactor
2023-09-12 14:20:42 +08:00
Ben Woo
f9bd7f136d
Split PlayerWorldAction to PlayerWorldTeleporter and EnforcementHandler 2023-09-12 13:13:54 +08:00
Ben Woo
a45849799d
Implement player world actions and some refactor 2023-09-12 12:45:09 +08:00
Ben Woo
80dba5068c
Merge pull request #2991 from zax71/MV5-always-spawn-location
Implement JoinDestination and EnableJoinDestination config options
2023-09-12 11:38:10 +08:00
Ben Woo
b78941c0a0
Refactor join-destination config and use async teleport 2023-09-12 11:33:50 +08:00
Ben Woo
dc3ec52d74
Merge branch 'MV5' into MV5-always-spawn-location 2023-09-12 11:27:38 +08:00
Ben Woo
57b27ce6e6
Fix hk2 ServiceLocatorGenerator 2023-09-12 11:16:30 +08:00
Ben Woo
d6c8d5381f
Merge branch 'MV5' into MV5-always-spawn-location
# Conflicts:
#	src/main/java/org/mvplugins/multiverse/core/config/MVCoreConfigNodes.java
#	src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java
2023-09-12 10:38:04 +08:00