Commit Graph

2046 Commits

Author SHA1 Message Date
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
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
Ben Woo
5178d68828
Merge pull request #3017 from Multiverse/dtm/checkstyle/imports
Fix import order check.
2023-09-12 10:26:49 +08:00
Ben Woo
f6ba48c5f2
Apply new import order changes 2023-09-12 10:24:58 +08:00
Jeremy Wood
ede47e834b
Fix import order check. 2023-09-11 22:17:47 -04:00
Ben Woo
df7e333610
Merge pull request #3016 from Multiverse/ben/mv5/repackage
Move package to org.mvplugins.multiverse.core
2023-09-12 01:03:17 +08:00
Ben Woo
48f9e65321
Change third party relocate to org.mvplugins.multiverse.external. 2023-09-12 01:02:00 +08:00
Ben Woo
474630d1ff
Move package to org.mvplugins.multiverse.core 2023-09-12 00:56:20 +08:00
Ben Woo
1812315033
Merge pull request #3015 from Multiverse/ben/mv5/import-refactor
Optimise all imports
2023-09-12 00:45:18 +08:00
Ben Woo
e31ef1428c
Fix import order checkstyle and remove comment 2023-09-12 00:43:46 +08:00
Ben Woo
256ac67cf1
Optimise all imports 2023-09-12 00:41:17 +08:00
Ben Woo
9dbe7e20ad
Merge pull request #3014 from Multiverse/ben/mv5/a-lot-of-checkstyle
Fix a lot of checkstyles throughout
2023-09-12 00:29:14 +08:00
Ben Woo
e005b266ea
Add a todo about the todo checkstyle to enable todo warning after mv 2023-09-12 00:19:27 +08:00