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

The Portal Problem #65

Closed
BazZziliuS opened this issue Dec 23, 2024 · 5 comments
Closed

The Portal Problem #65

BazZziliuS opened this issue Dec 23, 2024 · 5 comments

Comments

@BazZziliuS
Copy link

Please paste the output from /usb version below

[19:55:16 INFO]: Name: uSkyBlock
[19:55:16 INFO]: Version: 3.1.0-SNAPSHOT
[19:55:16 INFO]: Description: Ultimate SkyBlock v3.1.0-SNAPSHOT-518f3fa
[19:55:16 INFO]: Language: ru (ru)
[19:55:16 INFO]:   State: d=384, r=96, i=1, p=1, n=true, awe=false
[19:55:16 INFO]: Server: Mohist 1.20.1-863 (MC: 1.20.1)
[19:55:16 INFO]:   State: online=true, bungee=false
[19:55:16 INFO]: ------------------------------
[19:55:16 INFO]: Vault 1.7.3-b131 (ENABLED)
[19:55:16 INFO]: WorldEdit 7.2.17+6544-56d0383 (ENABLED)
[19:55:16 INFO]: WorldGuard 7.0.10-SNAPSHOT+cef4c44 (ENABLED)
[19:55:16 INFO]: ------------------------------

What steps will reproduce the problem?
I noticed a problem in your plugin related to the work of teleportation between dimensions.

When using the standard config, teleportation from hell back through the portal leads to the player appearing on the wrong island. However, when changing the config, an example of which is given below, teleportation to hell does not create an island at all, which makes it impossible to fully use the portals.

Changed config: https://paste.fuix.net/2cTWQmB

If you have any log-files, please paste them to pastebin.com

  • server-log: link-to-pastebin
@BazZziliuS BazZziliuS added the bug Something isn't working label Dec 23, 2024
@BazZziliuS
Copy link
Author

The problem seems to be that when teleporting from the overworld to hell, the player is teleported to zero coordinates instead of being transported to the corresponding island coordinates (eg +500 and beyond)

@minoneer
Copy link
Collaborator

Hi,
What exactly is your setup? From the /usb version output, you are not using Multiverse and Multiverse-Inventories. How did you link the two worlds?

I'm unfamiliar with the nether part - it was introduced long after we set up our skyblock worlds. But from what I can see, the assumption is that the scale of both worlds is 1:1 - i.e., that one block traveled in the overworld is equal to 1 block traveled in the nether. This is because both islands are the same size, and therefore, portals will lead to the correct location. Vanilla has a scaling of 1:8 - which means portals would appear in the wrong location.

@BazZziliuS
Copy link
Author

I changed the name of the world and that's it
https://paste.fuix.net/2cTWQmB#L217

@minoneer
Copy link
Collaborator

uSkyBlock itself doesn't touch portal operations (except blocking them when they lead to another player's island).

The plugin assumes that islands in the nether are the same size as those in the overworld. Vanilla nether portals assume a scale difference of 8 (i.e., 1 block distance in the nether is equal to 8 block difference in the overworld), which leads to players landing on the wrong island (see https://github.com/Multiverse/Multiverse-Core/wiki/Basics-(NetherPortals)#world-scaling).

For now the only solution I see is to use a plugin such as Multiverse-Netherportals to set the scale of both worlds to 1 (see https://github.com/Multiverse/Multiverse-Core/wiki/World-properties#scale).

It may be a good idea to handle this natively in the future - but since most servers use Multiverse anyway, it hasn't been a priority.

@minoneer
Copy link
Collaborator

minoneer commented Jan 3, 2025

I'll close this issue for now - let me know if you have any further questions.

@minoneer minoneer closed this as completed Jan 3, 2025
@minoneer minoneer removed the bug Something isn't working label Jan 3, 2025
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

No branches or pull requests

2 participants