WorldGuard

WorldGuard

8M Downloads

Regions Are Inconsistent When Teleporting Worlds

LadyCailinBot opened this issue ยท 8 comments

commented

WORLDGUARD-4111 - Reported by Wpgradford

Whenever I move worlds into a region with a greeting/farewell it seems to register that I've moved into the region, immediately decide I'm in the region I just left, then register I'm in the actual region I'm in again. It may only be the greetings & farewells, or it may impact other things as well. Version is 7.0.0, Minecraft version is 1.14.3.

commented

Comment by wizjany

I am unable to reproduce this. Maybe another plugin or something to do with the way you're teleporting? https://i.imgur.com/2JswlY6.png

commented

Comment by Wpgradford

@wizjany The only plugin I can think of impacting this is Multiverse... Maybe it's a Multiverse problem and not a Worldguard bug?

commented

Comment by wizjany

possibly. as you can see i was using worldguard's teleportation feature to switch worlds, since my test server has nothing installed besides WE and WG.

commented

Comment by Wpgradford

Yeah, I'd guess it's Multiverse causing it. Thanks for looking it over anyway! I'm just going to hope the issue resolves itself lol

commented

Comment by aristine

I actually have this exact issue in 7.0.1 rc2 on MC 1.14.4. I don't have Multiverse but do have a couple other plugins. The only ones that add any teleportation is GoldenSpawn and Set Home.

In my case, I have a spawn region with a greeting and farewell centered at 0,0 in the overworld, that extends around 30 blocks in all directions.
My nether global region also has a greeting.
I have a nether portal around pos 14, 100 which delivers you into the nether at point 3, 17.
Now, if I go through the portal, I get a message stating welcome to spawn. Then once I move it states you've left spawn, and welcome to the nether.
If I set a home in the nether at that point and use the home command to tele in, this doesn't happen.
Turning off use-player-teleports also fixes the issue, but then you don't get the messages on arrival, only after you move.

All in all, it seems something special is happening specifically in the portal code and it isn't checking if the region is in the correct world.
(Not sure what the code is, but possibly it's something similar to using the arrival coordinates and the player's current dimension, except the player's current dimension hasn't been updated to the new one yet.)

commented

Comment by wizjany

seems to be an issue in the server...it's giving us completely bogus coords in the teleport events.

commented

Comment by aristine

Figured it's something wonky like that. At least it's on the radar now though. I'll just keep use-player-teleports off until it's fixable.

commented

Comment by wizjany

note that this is unrelated to teleporting via commands or other plugins. it's just portals that have this issue.