Multiverse-Core

Multiverse-Core

6M Downloads

Non-player entities teleport incorrectly with End portal

JamesRagnarok opened this issue ยท 9 comments

commented

Information

Help request

Problem
With Multiverse activate, non-player entities such as items and mobs can't land on obsidian platform in the End while going through the End portal. Instead, they seems spawn at 0, 63, 0, right on the Exit portal, and immediately teleport back into overworld. Moreover, when items and mobs leave the End through Exit portal, they do not show up at the world spawn of the overworld (I had my overworld spawn moved to 800 blocks away), but somewhere near 0, 63, 0. These are not vanilla behaviors and somehow do not affect players.

What I have tried
Disable Multiverse would fix this problem. I had the respawnWorld property set before (otherwise players cannot leave the End), but removing respawnWorld didn't help.

Screenshots

commented

@JamesRagnarok I can shed a bit of light on your issues.

As far as non player entities entering the end at 0,0 you need to set your spawn location (MVSpawnLocation) for your end worlds to the air block above the center of the obsidian platforms, thus making it like vanilla.
I typically take the server down and just edit the worlds.yml file.
Or you can use /mvsetspawn <your_world> x y z yaw pitch.
In my case: /mvsetspawn FoxDen1_the_end 100.5 49.0 0.5 0.0 0.0

I'm having the same issue where non player entities (items, mobs, armor stands) that go into the exit end portal in the main end world always arrive in the main world near 0, 0. What I expect to happen is for those entities to arrive at the main world spawn location (-8325, 11132) that is set in the Multiverse worlds.yml file just as players do.

I'm suspect that Multiverse-NetherPortals (4.2.1) has something to do with this issue since if I remove it, everything works as expected. We use MVNP for a resource world with it's own nether. I've tested this with Multiverse-Core 4.2.2, 4.3.0 as well, also tried linking the 2 worlds to and from the end and that did not fix the issue.

Any help would be greatly appreciated.

Startup log: https://paste.lucko.me/2wmkCoCCw7
Multiverse-Core Debug Info: https://j.mp/3w6446y

commented

Recently I ran into this issue as well. I tried to transport a shulker from the end to the overworld, but every time it suffocated in the bedrock at y=0. Interesting enough it did not spawn the shulker at x=0 and z=0, but instead at the original world spawn location (and at y=0).

I managed to solve this by loading spawn with a second player account. This way the area was loaded and upon transporting a shulker or item, it got placed at the actual spawn location as it was set with /mvsetspawn.

I hope this will be fixed properly at some point, but at least this is a workaround.

commented

@Flexcrash Are you using Multiverse-NetherPortals?

commented

I am indeed. Version 4.2.1 to be precise

commented

So is this issue somehow related to spawn chunks loading? I thought keepspawninmemory: true by default should work.

commented

We have our world spawn in memory. I've even set our world spawn at 0,0 and non player entities still arrive at a random location around it, so no difference. I've also tested using other players. I can have only Multiverse-Core and Multiverse-NetherPortals loaded and the problem exists. If I remove MVNP, everything works fine except for our mining world nether portals, so we're kind of stuck using it.

commented

So is this issue somehow related to spawn chunks loading? I thought keepspawninmemory: true by default should work.

That is a very good point I forgot to mention. We indeed have our spawn chunks turned off.

Now I think about it, it was slightly different even. Indeed as has been said here, the items never end up as where I set /mvsetspawn. The items will always go to the original world spawn location.
Having the area loaded by a player only makes sure that the items are spawned at the correct y level. If nobody is loading it, then the items are spawned at y=0

Its been some time ago since we brought shulkers over from the end :p

commented

Thought that this might be useful or at least interesting. I tossed a wool block in each of the 8 corners of the exit and portal. Then placed an armor stand against each of the 4 faces of the pillar. This is where they came out centered around the yellow block at 0,0. Which is outside of our world border but increased for this testing. I marked the wool items with torches.
2021-11-04_11 05 04
.

commented

This problem can still be reproduced nowadays.

Debug information by /mv version -p:

[16:15:02] [Server thread/INFO]: [Multiverse-Core] Multiverse-Core Version: 4.3.12
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Bukkit Version: git-Paper-318 (MC: 1.20.2)
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Loaded Worlds: [{"MVWorld@506771870":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"world"}}, {"MVWorld@2028041404":{"Gen":"null","Type":"NORMAL","Env":"THE_END","Name":"world_the_end"}}, {"MVWorld@502254618":{"Gen":"null","Type":"NORMAL","Env":"NETHER","Name":"world_nether"}}, {"MVWorld@520360062":{"Gen":"VoidGen","Type":"NORMAL","Env":"NORMAL","Name":"lethe"}}]
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Multiverse Plugins Loaded: 2
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Economy being used: XConomy
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Permissions Plugin: Bukkit Permissions (SuperPerms)
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Dumping Config Values: (version 2.9)
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   enforceaccess: false
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   prefixchat: false
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   prefixchatformat: [%world%]%chat%
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   useasyncchat: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   teleportintercept: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   firstspawnoverride: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   displaypermerrors: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   enablebuscript: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   globaldebug: 0
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   silentstart: false
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   messagecooldown: 5000
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   version: 2.9
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   firstspawnworld: world
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   teleportcooldown: 1000
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   defaultportalsearch: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   portalsearchradius: 128
[16:15:02] [Server thread/INFO]: [Multiverse-Core]   autopurge: true
[16:15:02] [Server thread/INFO]: [Multiverse-Core] Special Code: FRN002
[16:15:02] [Server thread/INFO]: [Multiverse-Portals] Multiverse-Portals Version: 4.2.3
[16:15:02] [Server thread/INFO]: [Multiverse-Portals] Loaded Portals: 1
[16:15:02] [Server thread/INFO]: [Multiverse-Portals] Dumping Portal Values: (version 2.7)
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   wand: 271
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   useonmove: true
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   portalsdefaulttonether: false
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   enforceportalaccess: true
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   portalcooldown: 1000
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   clearonremove: false
[16:15:02] [Server thread/INFO]: [Multiverse-Portals]   framematerials: []
[16:15:02] [Server thread/INFO]: [Multiverse-Portals] Special Code: FRN001
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Multiverse-NetherPortals Version: 4.2.3
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Nether Prefix: 
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Nether Suffix: _nether
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] End Prefix: 
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] End Suffix: _the_end
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Nether Links: {}
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] End Links: {}
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Bounceback: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Teleport Entities: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Send Disabled Portal Message: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Send No Destination Message: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Server Allow Nether: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Server Allow End: true
[16:15:02] [Server thread/INFO]: [Multiverse-NetherPortals] Special Code: FRN001

When I try to push a living entity or throw an item entity into an end portal, it always disappears.