Ben Woo
5b25cf4f6c
chore: Update vault and json dependency
2023-02-08 16:41:25 +08:00
Ben Woo
24596419e5
refactor!: Reorganise the entire MV
2023-02-08 16:19:33 +08:00
Ben Woo
a403380375
refactor!: MultiverseCore plugin mess
2023-02-08 15:33:59 +08:00
Ben Woo
a6ee8a55ca
refactor!: Move queue command manager to command manager class
2023-02-08 14:00:20 +08:00
Ben Woo
6fba6715ba
refactor!: Remove deprecated world purger
2023-02-08 13:54:38 +08:00
Ben Woo
6495b72a53
refactor!: Remove unused messaging classes
2023-02-08 13:54:20 +08:00
Ben Woo
5dba9f156d
refactor!: Remove old command handler and commands
2023-02-08 13:41:38 +08:00
Ben Woo
a8590df9d4
feat: Implementation of new destination API ( #2833 )
...
* feat: Basic implementation of new destination API
* feat!: Move all destinations to new API
* feat: Fully implement teleport and check command
* chore: Improve autocomplete permission checking
* chore: Fine tune tab completion
* chore: Implement suggested changes
* docs: Add javadocs to added api methods
2023-02-08 12:43:59 +08:00
Ben Woo
747cab75fd
feat: Implement command flag system ( #2827 )
...
* feat: Implement command flag system
* docs: Add javadocs and annotation
* chore: Implement suggested improvements
* chore: Add shortcuts for flaggroup in MultiverseCommand
* chore: Add check if flaggroup already registered
2023-02-06 21:04:34 +08:00
Ben Woo
fe8118854e
refactor!: Remove deprecated debug log
2023-02-04 16:49:11 +08:00
Ben Woo
3377c1dbe5
refactor!: Remove deprecated logging ( #2523 )
2023-02-03 22:45:55 +08:00
Ben Woo
3ec22fc578
refactor!: Remove deprecated WorldManager methods ( #2526 )
2023-02-03 22:40:42 +08:00
Ben Woo
17351e66c1
refactor!: Remove deprecated getStaticConfig ( #2525 )
2023-02-03 22:39:23 +08:00
Ben Woo
0166b8d139
refactor!: Remove deprecated LocationManipulation class ( #2528 )
2023-02-03 22:38:51 +08:00
Ben Woo
2acca7f330
refactor!: Remove deprecated PlayChatEvent option ( #2828 )
2023-02-03 22:33:44 +08:00
Ben Woo
4ad6c53ba9
refactor!: Remove redundant MapInitializeEvent ( #2507 )
2023-02-03 22:11:38 +08:00
Ben Woo
0117159159
feat: @benwoo1110 Revamp content display API
...
commit 1211dfb057
Author: Ben Woo <30431861+benwoo1110@users.noreply.github.com>
Date: Tue Aug 17 16:29:31 2021 +0800
Implement suggested improvements.
* Use singleton pattern for DefaultContentFilter with getInstance method.
* Have a default SendHandler.
* Don't need streams for small dataset.
* Private WorldListContentParser class to improve readability.
commit 562eed8255
Author: Ben Woo <30431861+benwoo1110@users.noreply.github.com>
Date: Tue Aug 17 00:26:57 2021 +0800
Revamp content display API.
2023-02-03 20:23:53 +08:00
Ben Woo
ccf802e32f
perf: Update to use json-smart
2023-02-03 20:15:46 +08:00
Ben Woo
83f5a4a701
fix: Remove unused TravelAgent class
2023-02-03 19:50:04 +08:00
Ben Woo
a034eaa555
feat: Implement basic localisation
2023-02-02 17:06:36 +08:00
Ben Woo
3fb99bc156
feat: Add ACF dependency and prep command migration
2023-02-02 16:49:45 +08:00
Ben Woo
9d34e5d75c
fix: Replace deprecated EntityCreatePortalEvent with PortalCreateEvent
...
Use PortalCreateEvent which allows better checking of nether portal creation.
2023-02-02 15:13:00 +08:00
Ben Woo
27c2f7b9e9
feat: Update to 1.16.5-R0.1-SNAPSHOT dependency
2023-02-02 15:01:07 +08: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
Ben Woo
adbe88daa6
Merge pull request #2565 from Multiverse/fis-respawn-anchor
...
Add respawn anchor support.
2021-03-02 00:36:43 +08:00
Kermina Awad
5350c012f7
fix compiling on java 15
2021-02-25 17:48:17 -05:00
Ben Woo
c3ae5ac210
Merge pull request #2539 from Multiverse/disable_buscript
...
Add a Config Option to Disable Buscript
2021-02-24 14:12:35 +08:00
Kermina Awad
3ff8d34053
add config option to disable buscript
2021-02-23 14:38:54 -05:00
benwoo1110
f362f09380
Add support for fullname face direction.
...
So we can do `w:world:north` on top of the current ``w:world:n`.
2021-02-21 17:19:18 +08:00
benwoo1110
62b789dff5
Add support to find players based on name, UUID or selectors.
2021-02-21 16:47:13 +08:00
benwoo1110
84a9db597a
Add respawn anchor support.
2021-02-19 00:57:19 +08:00
nicegamer7
89fd700e32
Merge pull request #2489 from benwoo1110/world-UID
...
Adds world UID and generator details to /mvinfo command
2021-01-17 12:36:27 -05:00
Ben Woo
d93def8b5b
Merge pull request #2503 from Multiverse/getplayerexact
...
Use getPlayerExact in favour of getPlayer.
2020-12-14 10:28:58 +08:00
benwoo1110
425b1c80cc
Update to all use static logging.
2020-12-12 10:49:49 +08:00
Kermina Awad
47ae6f5378
use getPlayerExact instead of getPlayer
2020-12-11 12:48:19 -05:00
benwoo1110
48601e4215
Fix cannot remove block currency with mvm set command.
...
Setting currency to 0 is now considered as no currency value.
2020-11-27 21:14:27 +08:00
Alexander Krantz
ed80083fe8
Fix null location when teleporting to own playerbed destination. ( #2487 )
...
* Fix teleporting to a the calling player's bed
* Change name to my-bed to prevent collisions with player names
* Re-add old player bed for backwards compatibility
* Remove second bed destination name
* Give constant more sensible name
2020-11-27 12:58:11 +08:00
benwoo1110
5d3d732c25
Fix issue where special chars cause PatternSyntaxException
...
Escape regex special chars for help command
2020-10-09 12:19:32 +08:00
Jeremy Wood
115b0dc078
Dump full version output in multifile pastes.
2020-10-07 23:52:43 -04:00
Kermina Awad
e31c391af4
correct a typo in VersionCommand
2020-10-07 23:15:21 -04:00
Jeremy Wood
6ed4be9a64
Move back to '\n' line separators in version command.
2020-10-07 23:12:50 -04:00
Jeremy Wood
d626e7e4b1
Merge pull request #2429 from benwoo1110/green-warning
...
More noticable warning for deprecated event
2020-10-07 22:41:54 -04:00
Jeremy Wood
e7dd4fee51
Merge pull request #2430 from benwoo1110/clone-cleanup
...
Remove uneeded variables from clone method
2020-10-07 22:41:01 -04:00
Ben Woo
146075de69
Loads unloaded world before deleting ( #2431 )
...
* Loads unload world before deleting
Fixes issue where unloaded worlds can't be deleted.
* Missing commit line smh
2020-10-07 22:38:45 -04:00
Jeremy Wood
9fce6c54f6
Merge pull request #2435 from Multiverse/webpaste
...
Fix Double Prefix when Logging Version Info
2020-10-07 22:37:22 -04:00
benwoo1110
ed77cacb1a
Adds generator detail to /mvinfo command
2020-10-07 21:00:40 +08:00
Kermina Awad
2d4fe301cf
fix double prefix when logging version info
2020-10-06 16:26:20 -04:00
Jeremy Wood
864e50e38c
Add TestingMode util.
2020-10-06 15:07:56 -04:00
benwoo1110
cfae997de4
Adds world UID to /mvinfo command
2020-10-07 00:39:08 +08:00
benwoo1110
b345baf20e
Remove uneeded variables from clone method
2020-10-06 21:12:18 +08:00
benwoo1110
d532052c7b
More noticable warning for deprecated event
...
Add green color to the warning
2020-10-06 20:47:41 +08:00
Kermina Awad
994bf922af
make it easier to upload files with the version event
2020-10-06 00:47:33 -04:00
Ben Woo
36094e2bea
Disallow world names with spaces ( #2393 )
...
* Disallowed world names with spaces
* Fixed wildcard imports
* Use Pattern regex check for worldname validation
Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-10-05 23:58:18 -04:00
Jeremy Wood
c1a3d48944
Merge pull request #2420 from benwoo1110/plugin.yml-update
...
Updated plugin.yml commands and some missing alias
2020-10-05 01:34:31 -04:00
nicegamer7
75855826e7
Cleanup webpaste code ( #2411 )
2020-10-05 01:25:15 -04:00
Jeremy Wood
d35363b10c
Merge pull request #2103 from blubberdiblub/make-saved-anchors-locale-insensitive
...
Ensure anchors are saved in a machine-readable way
2020-10-05 00:36:19 -04:00
Jeremy Wood
ad1b733498
Merge pull request #2379 from rti/master
...
load cloned world with doLoad() instead of addWorld() (fixes #2378 )
2020-10-05 00:29:25 -04:00
benwoo1110
9159dfbb7d
Updated plugin.yml commands and some missing alias
2020-10-05 00:28:48 +08:00
Robert Timm
b8acd339b3
load cloned world with doLoad() instead of addWorld() ( fixes #2378 )
2020-10-02 10:01:54 +02:00
nicegamer7
51e035eb3e
Update GameMode command and increase Java support. ( #2279 )
...
* update gamerule command
* fix NPE in gamerules command and remove deprecated method
* catch buscript initialization errors
* update gamerule command to be more descriptive
* undo GameruleCommand style changes
* update legacy version reporting to include all config options
* use LF line ending for files being pasted to the web
* avoid duplicate code
2020-09-22 15:02:03 -04:00
benwoo1110
e1494808f3
Fixed inability to clone due to unable to copy session.lock ( #2392 )
...
* Added ability to exclude files when copying folders
* Remove wildcard imports
* Added unit testing for ignoring files as well
Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-08-27 08:47:57 -04:00
Jeremy Wood
242f05fc77
Merge pull request #2288 from Multiverse/webpaste
...
Rework Webpaste Package
2020-07-28 20:50:08 -04:00
Kermina Awad
d5013546d1
don't report generator settings
2020-06-29 11:40:01 -04:00
Kermina Awad
058c0837f0
bring multi-file pastes to parity with single file pastes
2020-06-14 16:04:58 -04:00
Kermina Awad
e01c646562
add paste.gg paste service
2020-06-14 16:04:17 -04:00
Kermina Awad
94ca18e95c
correct some metrics
2020-06-13 14:20:36 -04:00
Kermina Awad
707eae92a8
improve javadocs, also, no need to make implementations public
2020-06-13 10:36:30 -04:00
Kermina Awad
b4a4519876
no need for protected access modifier
2020-06-13 10:36:25 -04:00
Kermina Awad
4f41b7aa6e
rework webpaste package
2020-06-13 10:36:21 -04:00
Kermina Awad
b9267a3dfc
update version command description
2020-06-13 10:36:16 -04:00
Kermina Awad
a53c4214f0
add extra space for readability
2020-06-13 10:36:08 -04:00
Kermina Awad
343695e23e
add notice as to why pasting to GitHub is disabled
2020-06-13 10:36:04 -04:00
Kermina Awad
e17e9c8ce9
rename GithubPasteService as GitHubPasteService
2020-06-13 10:36:00 -04:00
Kermina Awad
676c3a2e3d
make pasting more system agnostic
2020-06-13 10:35:58 -04:00
Kermina Awad
e821611744
fix pasting to hastebin
2020-06-13 10:35:55 -04:00
Kermina Awad
d69c492577
cleanup GitHub and Pastebin paste services
2020-06-13 10:35:53 -04:00
Kermina Awad
eb91eefc80
fix BitlyURLShortener
2020-06-13 10:35:49 -04:00
Kermina Awad
f570c81366
update version command
2020-06-13 10:35:47 -04:00
Jeremy Wood
b3f23278b1
Yay for tests that use method names in strings. -.-
2020-06-13 02:01:41 -04:00
Jeremy Wood
582d6bef1a
Readd world count metric as multiline chart (for future use).
2020-06-13 01:17:00 -04:00
Jeremy Wood
04c65cc59e
Cleanup new metrics implementation. ( #2286 )
...
* Refactor metrics initialization into its own class.
* Simplify the creation of metrics.
* Clean up new metrics.
* Refactor out duplicate metrics code.
2020-06-13 00:51:18 -04:00
Kermina Awad
268c4982c3
update metric implementations
2020-06-12 23:50:17 -04:00
Kermina Awad
8983a0c024
add vault as softdepend
2020-06-07 19:31:51 -04:00
Kermina Awad
1cbe901e4d
lead dev should be the first author listed
2020-06-06 13:38:03 -04:00
Kermina Awad
4894abd1f1
switch to bStats
2020-06-06 13:36:53 -04:00
Jeremy Wood
59cfacf007
Merge pull request #2227 from A248/patch-1
...
Fix NPE for invalid world argument in gamerule cmd
2020-05-05 21:19:42 -04:00
wellnesscookie
c70e254dbf
Fixes alias not clearing after cloning the world
...
This will rather set an alias to an empty string which will automatically be resulted in alias being as same as the name of the cloned world.
Previously, it was not working as intended and kept the alias of the oldWorld.
2020-04-30 20:43:11 +02:00
A248
9d42a05759
Fix NPE for invalid world argument in gamerule cmd
...
Stumbled upon an NPE when using /mv gamerule. I realised it was because I had specified a nonexistent world. This will fix it.
2020-04-16 18:31:23 -04:00
Niels Boehm
46f8453b5b
Ensure archors are saved in a machine-readable way
...
`locationToString()` is primarily used by the AnchorManager to persist
anchors to disk (the other use is for logging).
In a locale that uses periods as decimal separator, this works fine and
the anchors can be loaded when the server restarts.
However, in a locale that doesn't use periods (but commas, for instance)
this produces an `anchors.yml` that cannot be parsed when loaded.
Tying the string formatting in `locationToString()` to an English locale
makes it behave as expected, regardless of the external locale setting.
2019-09-23 14:54:35 +02:00
Jeremy Wood
b4b0940918
Added additional configuration option to disable the donation messages.
2019-08-26 13:47:54 -04:00
Jeremy Wood
22ad7214b0
Made the donation messages at startup hidden with silent start.
2019-08-26 13:47:26 -04:00
Jeremy Wood
d3ff2922fd
World cloning should work once again! Resolves #1978 .
2019-08-23 15:27:45 -04:00
Jeremy Wood
5e2824abeb
Prevent importing worlds without .dat file. Fixes #1917 .
2019-08-15 21:15:45 -04:00
Jeremy Wood
926e23bf19
Removed super dated toString in plugin main class.
2019-08-02 21:49:11 -04:00
Jeremy Wood
841598232c
Added --include-plugin-list to mv version command.
2019-07-31 00:25:34 -04:00
Jeremy Wood
38d5917915
Added debug mode change event.
2019-07-30 23:03:51 -04:00
Jeremy Wood
8859fa78fd
Bumped core protocol to 24.
2019-07-30 22:09:14 -04:00
Jeremy Wood
1581e1e009
Make TravelAgent warning message a debug message.
2019-07-23 21:47:13 -04:00
Jeremy Wood
7cb9bd4bc2
Added message acknowledging deprecated event.
2019-07-23 21:46:23 -04:00
Jeremy Wood
950402a144
Release version 4.0.0.
2019-06-25 13:33:20 -04:00
Brokkonaut
c3f08318d4
Phantoms are monsters
2019-06-17 05:48:02 +02:00
Jeremy Wood
f0343b08b5
Merge pull request #2001 from Brokkonaut/fix-javadocs-setcurrency
...
Fix javadocs: setCurrency(Material) instead of setCurrency(int)
2019-06-04 12:04:14 -04:00
Jeremy Wood
20a1fcb9f5
Bump protocol version to 23.
2019-06-04 10:08:35 -04:00
Jeremy Wood
253ede1c9a
Wrap the travel agent in an adapter.
2019-06-04 10:08:11 -04:00
Brokkonaut
06bd1a838f
Fix javadocs: it is now setCurrency(Material) instead of setCurrency(int)
2019-05-21 19:15:14 +02:00