Commit Graph

2073 Commits

Author SHA1 Message Date
Ben Woo
b4d86ac133
Completely refactor player listener 2023-09-25 15:31:58 +08:00
Ben Woo
454bcd36e5
Refactor and fix checkstyles for some listeners 2023-09-25 14:09:09 +08:00
Ben Woo
af7d5a8cb0
Remove useless MultiverseCoreListener 2023-09-25 14:08:51 +08:00
Ben Woo
a44361f5e4
Merge pull request #3034 from Multiverse/zax71/MV5/gameruleCommandMerge
Zax71/mv5/gamerule command merge
2023-09-25 13:31:20 +08:00
Ben Woo
8d508358f7
Implement gamerule reset 2023-09-25 12:29:29 +08:00
Zax71
7c6d7d5883 Merge /mv gamerule and /mv gamerules 2023-09-24 10:34:11 +01:00
Ben Woo
b2c1aafb62
Make sure nodes is not null and fix some checkstyles 2023-09-23 10:14:10 +08:00
Ben Woo
d08e6fae38
Merge pull request #3032 from Multiverse/zax71/MV5/GeneratorsCommand
Add `/mv generators` command
2023-09-23 09:52:17 +08:00
Ben Woo
d6ccbd9eee
Fix some checkstyles for generator command 2023-09-23 09:50:22 +08:00
Ben Woo
d880ea95ed
Merge pull request #3031 from Multiverse/ben/mv5/issuer-methods
Support more variety of message payload for MVCommandIssuer
2023-09-23 09:41:07 +08:00
Ben Woo
38aa2acf8e
Merge pull request #3030 from Multiverse/zax71/MV5/InfoCommand
Add `/mv info`
2023-09-23 09:40:41 +08:00
Ben Woo
5845fdd541
Merge pull request #3027 from Multiverse/ben/mv5/config-suggest-parser
Implement autocomplete and string parsing for config handling
2023-09-23 09:39:15 +08:00
Ben Woo
01cfcc5684
Merge pull request #3019 from Multiverse/ben/mv5/teleporter
Ben/mv5/teleporter
2023-09-23 09:38:55 +08:00
Ben Woo
62a4e7e27d
Merge pull request #3028 from Multiverse/ben/mv5/remove-unsafecallwrapper
Remove UnsafeCallWrapper as now we use varv Try
2023-09-23 09:38:39 +08:00
Zax71
ac174dcf66 Add /mv generators 2023-09-22 19:03:19 +01:00
Ben Woo
4095829eca
Replace properties method in MVConfig to StringPropertyHandle 2023-09-22 23:09:31 +08:00
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