Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for multiverse teleportation problems on a multiworld server (also see thread in Discord server) #53

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

Waterman1001
Copy link
Contributor

These changes circumvent a problem where a player does not get their Lobby items when joining a game from a different world using multiverse and multiverse inventories on a multiworld server. The problem has been investigated for a long time already in the Discord server of Plugily. See channel 'Beta-feedback' and Thread: No BuildBattle Lobby items when joining game from different world (Multiworld), for more information.
(https://discord.com/channels/345628548716822530/1058176621045092402/1079051884242931762)

It has been confirmed that these problems exist and these simple code changes resolve the issue without affecting performance on non-multiworld servers. It simply makes the plugin more usable across different types of Minecraft server setups.
The core of these issues lay at multiverse inventories, but since they are not resolving it nor are replying on the PR that was already opened almost 2 years ago, these changes would be very welcome to include within MiniGamesBox. (Multiverse/Multiverse-Inventories#521)

This basically uses completablefuture to see if the teleport is done and wait until that moment to provide the players with the lobby items.

It would be highly appreciated if these changes could be merged into main as after years of waiting I would be finally able to use BuildBattle on my server with mv inventories setup again together with the players.

Thank you so much in advance for your understanding! 😄

@Lagggpixel Lagggpixel merged commit ca0a187 into Plugily-Projects:development Jun 26, 2024
2 checks passed
Tigerpanzer02 added a commit that referenced this pull request Jul 9, 2024
* Bump version from 1.3.9-SNAPSHOT0 to 1.3.10

* Fix for multiverse teleportation problems on a multiworld server (also see thread in Discord server) (#53)

* Bump version from 1.3.10 to 1.3.10-SNAPSHOT0

* Adjusted CHANGELOG.md

* Bump version from 1.3.10-SNAPSHOT0 to 1.3.10-SNAPSHOT1

---------

Co-authored-by: version-bump[github-action] <41898282+version-bump[github-action]@users.noreply.github.com>
Co-authored-by: Onno <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants