Commit Graph

1069 Commits

Author SHA1 Message Date
Ben Woo
006fe56d18 Fix edge case where PlayerTeleportEvent getTo is null 2024-08-12 21:41:39 +08: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
Jeremy Wood
4d40b3f7e4
Switch from Maven to Gradle. 2023-02-19 19:02:52 -05:00
nicegamer7
5ec27db284
remove j.mp domain from BitlyURLShortener 2022-03-05 09:35:10 -05:00
Kisaragi
5868ad64b4 use Collections' factory method instead of static field
this resolves some unchecked generics warning
2021-12-31 00:46:21 +09:00
Ben Woo
51801b1b36 Fix velocity not apply. 2021-10-01 15:11:03 +08:00
Kermina Awad
9821f1d9c8 clean up test files 2021-07-18 13:51:53 -04:00
Kermina Awad
b9b1fa6164 remove PowerMockito 2021-07-18 13:17:15 -04:00
Kermina Awad
28585dd6f9 remove unnecessary stub 2021-07-18 13:12:09 -04:00
nicegamer7
9ce2dfd100
Merge pull request #2445 from benwoo1110/fix-help
Fix issue where special chars cause PatternSyntaxException
2021-07-16 09:51:21 -04:00
Ben Woo
473ccd09d7
Don't need to toLowerCase filter. 2021-07-16 21:38:57 +08:00
Ben Woo
cc2e1d44b2
Implement new content display system. (#2584)
* Implement new content display system.

* Add @FunctionalInterface annotation to displaytools interfaces.

* Use static factory method to create Builder with contents.

* Use T for generic type since it's static method.

* Rename Builder#display to show and require CommandSender.

* Rename package from displaytools to display.

* Move DisplayHandler impls into their own package.

* Overload ContentDisplay#forContent with defaults for list and map.

* Pass CommandSender to send command.

This system is much more versatile when a single ContentDisplay instance
can be used for multiple players.

* Rename ContentDisplay#send to #show.

* Split DisplaySettings into separate classes.

Co-authored-by: Jeremy Wood <farachan@gmail.com>
2021-07-07 10:25:07 +08:00
Ben Woo
b7b17c5d21
Set defaultportalsearch to true by default. 2021-07-05 11:28:52 +08:00
Jeremy Wood
1c483148dc Change default permission for version command. Seriously wth. 2021-06-04 13:00:04 -04:00
nicegamer7
128442c062
Merge pull request #2622 from Multiverse/queue-system-cleanup
Queue system cleanup
2021-05-16 11:29:23 -04:00
Kermina Awad
141854f076 correct some javadoc typos 2021-05-16 11:21:20 -04:00
xSavior_of_God
f72cc6764b
Fix creation and import Exploit (#2353)
Through this fix you can avoid deleting of important folders.
2021-05-16 12:56:14 +08:00
benwoo1110
d95ecfaa8e Update some CommandQueueManager docs to be clearer. 2021-04-28 14:01:30 +08:00
benwoo1110
6c96f4e974 Ensure DummyCommandBlockSender isnt used for Op. 2021-04-28 13:58:43 +08:00
Ben Woo
155f32c00f Add ability to keep gamerules on world regen. 2021-04-27 23:44:24 +08:00
Ben Woo
071ba05d81
Merge pull request #2585 from Multiverse/Revamp-queue-command-
Implement new queue command system.
2021-04-27 23:10:59 +08:00
Ben Woo
2ee5aea06b
Merge pull request #2580 from Multiverse/per-search-and-reflect
Improve portal search radius
2021-04-27 10:57:46 +08:00
Ben Woo
3bb8de6d33 Improve portal search radius.
* Fix portal search radius not respected after travel agent removed.
* Set portal search radius for entity entering portals.
2021-04-26 22:52:24 +08:00
Kermina Awad
6e4fbb0ece correct a copy-paste error introduced in #2588 2021-04-24 14:51:24 -04:00
Kermina Awad
91f3304f78 add to Buscript failed to load message 2021-04-24 14:13:40 -04:00
Kermina Awad
d61d186544 update bStats Metrics class 2021-04-24 14:08:09 -04:00
nicegamer7
dc356e88d0
Merge pull request #2582 from Multiverse/unload-message
Update unload message logging.
2021-04-24 13:49:12 -04:00
Kermina Awad
d0d5574580 update unload message logging another time 2021-04-24 13:48:09 -04:00
Sam Goodger
bf05fc81dd
Make prefixchat config option default to 'false'
This may seem like a really negligible change but having this option default to `true` actually causes a lot of pain for support in other plugins that deal with prefixes (LuckPerms and Essentials being the main victims). Users always come in guns blazing, screaming at us because they don't know how to remove the world name from their chat. It's such a simple solution, yet no one thinks that of all plugins, it would be Multiverse that is tainting their beloved chat format.

Please consider updating this default setting. It will save a lot of us trouble in the future 🙏
2021-04-06 14:19:38 +10:00
benwoo1110
ea19006465 Fix selector log level. 2021-03-18 16:40:47 +08:00
benwoo1110
89f685ff9a Add missing javadocs in DestinationFactory. 2021-03-10 17:45:39 +08:00
benwoo1110
ecc76033dc Remove redundant line that was moved to WorldNameChecker. 2021-03-10 17:41:56 +08:00
Ben Woo
e843b0711d
Merge pull request #2590 from Multiverse/small-wm-updates
Small WorldManager updates
2021-03-10 06:41:18 +08:00
Ben Woo
eddfaf7df0
Merge pull request #2593 from Multiverse/destination-id
Add method to get registered destination identifiers.
2021-03-10 06:39:31 +08:00
benwoo1110
cc3996ca76 Implement new queue command system. 2021-03-09 20:54:42 +08:00
benwoo1110
1965aecfba Add method to get registered destination identifiers. 2021-03-09 20:05:23 +08:00
benwoo1110
ce34ae44d8 Make UUID regex less restrictive. 2021-03-09 11:48:26 +08:00
benwoo1110
f5a2d7bc47 Add getPotentialWorlds method to WorldManager. 2021-03-09 10:40:46 +08:00
benwoo1110
24295025ef Add option to lookup mvworlds without checking for aliases. 2021-03-09 10:35:42 +08:00
Ben Woo
e3f56f6498
Merge pull request #2586 from Multiverse/reflect-helper
Add ReflectHelper class to better facilitate various reflection actions.
2021-03-09 01:18:29 +08:00
Ben Woo
bd0c3cff3f
Merge pull request #2587 from Multiverse/player-desination
Player destination
2021-03-09 00:32:20 +08:00
Ben Woo
7c4ab035a0
Merge pull request #2588 from Multiverse/world-name-check
Implement new WorldNameChecker
2021-03-09 00:31:58 +08:00
Ben Woo
2593080f77
Merge pull request #2567 from Multiverse/player-utils
Add support to find players based on name, UUID or selectors.
2021-03-09 00:29:22 +08:00
benwoo1110
0d4595d511 Implement new WorldNameChecker for better preliminary checks of world name. 2021-03-08 18:03:35 +08:00
benwoo1110
bf820c2c27 Add getPlayerAwareDestination to DestinationFactory. 2021-03-08 17:09:03 +08:00
benwoo1110
a12718d354 Add ReflectHelper class to better facilitate various reflection actions. 2021-03-08 16:25:33 +08:00
benwoo1110
b23c1ae606 Update unload message logging. 2021-03-04 16:00:53 +08:00
Ben Woo
7c59dcbcb9
Merge pull request #2494 from benwoo1110/property-fix
Fix cannot remove block currency with mvm set command.
2021-03-04 15:32:34 +08:00
Ben Woo
15cacba7c9
Merge pull request #2573 from Multiverse/java-11
Fix compiling with Java 11+
2021-03-02 09:01:38 +08:00